[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: xml:output indent="yes" wins over xsl:preserve-sp
> In the source document, > rows and cells are not indented; I want them to be indented > in the result document. However, because cells can contain > mixed content, I want space to be preserved inside them. If you've got mixed content, then it's best to avoid indenting (I think the serialization spec actually says this). The indentation algorithm for the XML output method doesn't treat mixed content specially. You can always add whitespace at key points "by hand" using xsl:text. Michael Kay http://www.saxonica.com/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|