This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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: 1061
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
Sheriff

Joined: Oct 14, 2005
Posts: 19747
    
  10

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

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