XSLT and function document()
Giovanni Leonetti <[email protected]> Wed, 12 Mar 2008 03:49:46 -0700 (PDT)
| Newsgroups | gmane.comp.mozilla.devel.layout.xslt |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <[email protected]> |
Hi folks,
I have a question about the xslt function document().
What I want to do is :
1) access to an external xml document
2) read some data from the external xml document
3) access to the input xml document.
Let's say we have the documents :
- input.xml : input document
- style.xslt : XSLT file
- external.xml : external xml document
I will run the command line :
java org.apache.xalan.xslt.Process -IN input.xml -XSL style.xslt -OUT
out.xml
about 1) and 2) I know how to access to external.xml using the
function document('external.xml')
About 3) I need your help guys . I want to access to the input.xml
document but I do NOT want to call the function
document('input.xml'). Do you know if exists a parameter for the
function document() that let me know to access to the input document
avoiding an explicit call document('input.xml') ?
I hope is is enough clear my question.
Thanks,
Giovanni Leonetti