[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Whitespace in XSL not appearing if method="xml"
Hi, My XSL has   and <xsl:text> </xsl:text> in a few places. I would like these to appear as   in the output. When I do a transform using <xsl:output method="xml"> I just get an empty space instead of   When I use <xsl:output method="html"> I get the (in this case it shows up even if I don't use the <xsl:text> </xsl:text> tags to wrap it )but all br tags appear as <br> and not <br/>. Since this output is going to be XSL (I am doing an xsl to xsl transform using xsl namespace-alias) the output has to be valid xml (meaning that the <br> tag is not acceptable nor is ). I am using Xalan for the transform. Thanks PS Yes I read up all the FAQs on the subject (there are a lot) -- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|