aspose file tools*
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 Java 8 in Action this week in the Java 8 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
Why IE can not open a page, but Firefox can?
parse xml
A Beginner's Question
Can you read this?
Help wanted on control select/option by javascript