File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes Wrapping a XML with XSLT? 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 "Wrapping a XML with XSLT?" Watch "Wrapping a XML with XSLT?" New topic

Wrapping a XML with XSLT?

Alex Philippi

Joined: Oct 05, 2007
Posts: 13
I have a XML File and I want to "wrap" it into a soap envelope with XSLT. Is it possible to read the xml-file from a certain node into the the soap body? I tried it with <xsl:value-select/> but I only get the plain text and not the xml tags.

content beginning from node X

Paul Clapham

Joined: Oct 14, 2005
Posts: 19973

Perhaps <xsl:copy> or <xsl:copy-of>?
I agree. Here's the link:
subject: Wrapping a XML with XSLT?
It's not a secret anymore!