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

Re: Changing the value of nodes

Subject: Re: Changing the value of nodes
From: "Reghu Krishna Pillai" <raghu.krishnapillai@xxxxxxxxxx>
Date: Fri, 20 Apr 2001 09:55:10 +0530
xsl change value of node
Oliver :

If you want to change the Value of <payWeekDay> dynamically, you need to
parse the xml and get those values of other nodes in a Vector or HashTable,
the use OracleXMLDocGenDOM class file which is part of Oracle XML SQL
Utility. More info, please have a look on the sample applications and
technical whitepapers in http://otn.oracle.com

You cannot pass a value dynamically from a jsp file to an xsl to change your
xml file to another format

Reghu

----- Original Message -----
From: Java XML <jaxlive@xxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, April 19, 2001 8:09 PM
Subject: Re:  Changing the value of nodes


> Sorry for not being elaborate,
>
> Actually what i want to do is that i want to get the value of <payWeekDay>
> from a jsp form and the use that to change the value of the node in the
xml
> means the new value comes from an external source its not constant.
>
>
> From: Oliver Becker <obecker@xxxxxxxxxxxxxxxxxxxxxxx>
> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re:  Changing the value of nodes
> Date: Thu, 19 Apr 2001 16:27:22 +0200 (MET DST)
>
>  >       I want to know what is the best way to change the value of nodes
> using
>  > xalan for example
>  > one.xml
>  > -------
>  > <person>
>  > <firstName>Jax</firstName>
>  > <lastName>Live</lastName>
>  > <payWeekDay>Wednesday</payWeekDay>
>  > <person>
>  >
>  > and if in the above file i want to change the value of <payWeekDay>
from
>  > "wednesday" to "Monday" what is the best way to do it.
>
> - take the copy stlesheet (have a look at the XSLT spec or the FAQ)
> - write a template which catches payWeekDay elements and do the
>    transformation you need
>
>
>   XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>
>


 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.