[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: parsing xsl file in java

Subject: Re: parsing xsl file in java
From: Jarkko.Moilanen@xxxxxx
Date: Wed, 25 Feb 2004 12:45:40 +0200
parsing 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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.