!CDATA <TR> tags are being converted to &gt;TR&lt; (XSLT)
When my XML contains a node called "new_line", I would like to my XSLT to write out hte HTMl to close the table row and open a new one.
Since the parse does not like this (I know I am being naughty) I came up with the following:
<xsl:when test = "name(.) = 'new_line'">
<!--Need to break up the line -->
Unfortunately this converts the < and > into "<" and ">"
I tried wrapping it in <script> tags which does not convert it, but then the browser ignores the tags!
(P.S. ideally (I think) I should develop some kind of xlst that will take take any XML convert this into further XML with additional sub-nodes <LINE1> <LINE2> etc, depending upto the the contents of the XML (i.e. where it finds "new_line" nodes). My XSLT could then call templates for each subnode. However I don't know how to do this but if you could point me in the direction of a tutorial I would be most grateful!).
Web Languages and StandardsXML
Gertone (Geert Bormans)
8/22/2022 - Mon
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat