File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes Executing 2 XSLTs in in transform 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 "Executing 2 XSLTs in in transform" Watch "Executing 2 XSLTs in in transform" New topic
Author

Executing 2 XSLTs in in transform

Raees Uzhunnan
Ranch Hand

Joined: Aug 15, 2002
Posts: 126
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


Sun Certified Enterprise Architect
Java Technology Blog
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

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

Joined: Aug 15, 2002
Posts: 126
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
 
Don't get me started about those stupid light bulbs.
 
subject: Executing 2 XSLTs in in transform