Re: Disable Output Esacping Problems
> <xsl:text disable-output-escaping="yes"><![CDATA[</td></tr>]]></xsl:text> you _really_ don't want to do that. > In the first XSLT file I need (or I think I need) to disable output > esacping because I need to generate non-symmetrical XML tags. beware that any use of the word "tag" in an XSLt (or more generally XML) context is an indication of trouble ahead, XSLT does not generate tags, it generates nodes of a tree. Your template should generate whole row (tr) nodes at a time, no attempt to produce the linear syntax of a start tag in one place and an end tag somewhere else. I don't think you gave enough context to show the transformation taht you actually wanted. > The disabling of output esacping generates the expected output, but > the second XSLT file doesn't seem to recognize the <TD> and <TR> tags > whose output was escaped and fails to apply the appropriate styling to > these tags. That is almost inevitable if you use d-o-e and chain the output of xslt from one process to another. The "tags" are just text not elements. they only appear as elements if you linearise teh entire document and then re-parse it. So it works if xslt outputs a file which is reparsed later but doesn't work if you pass the in memory tree directly. David _____________________________________________________________________ This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Scanning Service. For further information visit http://www.star.net.uk/stats.asp or alternatively call Star Internet for details on the Virus Scanning Service. 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