Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Executing 2 XSLTs in in transform

 
Raees Uzhunnan
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Executing 2 XSLTs in one transform

We have an old piece of code that executes �one� transformation using given XSLT file that management do not want to change.

We have a new client to this code that needs the namespace qualifiers to be stripped from the transformed message. We were thinking of using another XSLT to strip off the qualifiers. But can we feed both these XSLTs to the engine some how without changing the core code ? or is there a way to switch off the namespaces being printed to the transformed message that can be instructed through some properties or through the XSLT itself ?

Thanks
Raees
 
Paul Clapham
Sheriff
Posts: 21126
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I googled a bit for "xslt chain" and came up with this tutorial, which claims to show exactly what you asked.
 
Raees Uzhunnan
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Paul,

Thanks a lot. See I googled it too; but did not got to the right URL. It is clear that googling is an art too

Thanks
Raees
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic