This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes update href field dynamically Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "update href field dynamically" Watch "update href field dynamically" New topic
Author

update href field dynamically

JayaSiji Gopal
Ranch Hand

Joined: Sep 27, 2004
Posts: 303
Hi,

I have the xml file as follows:



I want to pick up the href from each of these PR and replace it with /press/some_number.xml . Is this possible using XSLT??
Any ideas??


SCJP 1.4, SCWCD 1.4<br /> <br />Thanks in advance!<br />Jayashree.
Dave Lenton
Ranch Hand

Joined: Jan 20, 2005
Posts: 1241
You may want to look at the document() command in XSLT.....


There will be glitches in my transition from being a saloon bar sage to a world statesman. - Tony Banks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: update href field dynamically
 
Similar Threads
Help wanted on control select/option by javascript
A Beginner's Question
Why IE can not open a page, but Firefox can?
parse xml
Can you read this?