Hello xsl-list,
HOW do I display original data?
This is my output in HTML (cell in a TABLE)
'table' and 'inline-table' elements
original data
'table' and 'inline-table' elements
In the XML file I have escapes e.g. ' for '
XML Data for the element
<AppliesTo>&apos;table&apos; and &apos;inline-table&apos;
elements</AppliesTo>
In the xsl transform file.
<!-- Top level declartions -->
<xsl:import href="../stylesheets/utils1.xsl" />
<xsl:output method="html"/>
<xsl:element name="td">
<xsl:value-of select="./AppliesTo"/>
</xsl:element>
At an earlier stage in VB I build the xml & put the escapes in.
Using MSXML2 Doc4
'* Get rid of occurrences of '<'
strContentCandidate = Replace(strContentCandidate, "<", "<")
'* Get rid of occurrences of '>'
strContentCandidate = Replace(strContentCandidate, ">", ">")
'* Get rid of occurrences of '&'
strContentCandidate = Replace(strContentCandidate, "&", "&")
'* Get rid of occurrences of '"'
strContentCandidate = Replace(strContentCandidate, """", """)
'* Get rid of occurrences of "'"
validXMLContent = Replace(strContentCandidate, "'", "'")
--
Best regards,
Arthur mailto:ArthurMaloney(_at_)seipas(_dot_)com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list