Meaningless Drivel is fun!
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
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "update href field dynamically" Watch "update href field dynamically" New topic

update href field dynamically

JayaSiji Gopal
Ranch Hand

Joined: Sep 27, 2004
Posts: 303

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:
subject: update href field dynamically
It's not a secret anymore!