• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

update href field dynamically

 
JayaSiji Gopal
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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??
 
Dave Lenton
Ranch Hand
Posts: 1241
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may want to look at the document() command in XSLT.....
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic