|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: parsing xsl file in java
Lainaus Zahida Parveen <zahida@xxxxxxxxxxx>:
< 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
|
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
|

Cart








