This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Executing 2 XSLTs in in transform
 
Similar Threads
what kind of web service to use to send XML
SAX vs DOM and XSLT
Cocoon
HFS - Compression Filter - has anyone else tried this ?
OOo/SO file formats