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 Badass: Making Users Awesome this week in the Game Development 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: 19357
    
  10

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

Joined: Mar 21, 2003
Posts: 1049
Cool, thanks!
cb
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Include XML in XSL (not vice versa)