Lainaus Zahida Parveen <zahida(_at_)advcomm(_dot_)net>:
< Hi,
<
< Can any one please help me by guiding how can I parse an xsl file through
< Java Servlets and replace a node's attribute in it.
<
< Waiting for assistance,
< zahida
<
<
< XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
<
The parsing of xsl or xslt file is the same as parsing any other xml file.
Since this is XSL-list, not java list:
Do the job with xslt something like:
<xsl:template match="theNode">
<xsl:element name="local-name()">
<xsl:attribute name="attr">your_value</xsl:attribute/>
</xsl:element>
<xsl:template>
***************************************************
* Jarkko Moilanen *
* Dokumentoinnin kehittäjä *
* Profound XML technology Expert *
* DokuMentori Oy *
* www.dokumentori.fi *
***************************************************
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list