|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: two xml source documents
Hello Markus,
it's a really common question. I can only say, that you can access a XML tree / node set in the same way as the input tree or any other subtree. For example: <xsl:variable name="doc2" select="document('another.xml')"/> You can access it via: <xsl:apply-templates select="doc2/root/node"/> You have to pay attention to the context tree, which will change in this case. An XPath "/root/node" would be evaluated against another.xml and not the input tree then. Mostly you have to switch between multiple files. So another variable <xsl:variable name="doc1" select="/"/> often helps. For a more concrete help, you must ask a bit more concrete. Regards, Joerg Markus.Lehr@xxxxxxxxxx wrote: Hi everybody, I want to (have to) use two source documents to produce one output document (fo-document, but I think that doesnt really matter). XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








