M
M Arora
Hi All
I am using Xerces parser to convert my xml to the output given below
and for this i am using the xslt. How shall i create href attribute in
xerces parser?
When i am using MSDOM parser the output is whats requied. But if Xerces
parser is used then no attribute withe name href is created.
Can any one suggest what need to to be done.
output with DOM parser
<a href ="www.google.com">www.google.com</a>
output with Xerces parser
<a>www.google.com</a>
template in xsl is :
<a>
<xsl:attribute name="href">
<xsl:value-of select="@link"/>
</xsl:attribute>
<xsl:value-of select=./>
</a>
I am using Xerces parser to convert my xml to the output given below
and for this i am using the xslt. How shall i create href attribute in
xerces parser?
When i am using MSDOM parser the output is whats requied. But if Xerces
parser is used then no attribute withe name href is created.
Can any one suggest what need to to be done.
output with DOM parser
<a href ="www.google.com">www.google.com</a>
output with Xerces parser
<a>www.google.com</a>
template in xsl is :
<a>
<xsl:attribute name="href">
<xsl:value-of select="@link"/>
</xsl:attribute>
<xsl:value-of select=./>
</a>