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 Include XML in XSL (not vice versa) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Include XML in XSL (not vice versa)" Watch "Include XML in XSL (not vice versa)" New topic
Author

Include XML in XSL (not vice versa)

Chris Baron
Ranch Hand

Joined: Mar 21, 2003
Posts: 1049
Hi,
i have one XML-File that i must not change.
To transform it with my XSL, i need the values from a second XML.
<xsl:include> doesn't seem to work.

How do i include XML in XSL?
Thx cb
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18987
    
    8

You use the XPath document(URL) function.
Chris Baron
Ranch Hand

Joined: Mar 21, 2003
Posts: 1049
Cool, thanks!
cb
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Include XML in XSL (not vice versa)