[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] I don't understand... text is always output?
An empty stylesheet returns the text of all elements: <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"> </xsl:stylesheet> This also happens when the stylesheet is not empty.. for example, when it contains templates. This is not intuitive to me. What was the thinking behind this? I only want text in particular elements to be output. Are there other things that get output by default? Is there a way to filter out text besides adding the following template? <xsl:template match="text()"/> 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
|