469,326 Members | 1,500 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,326 developers. It's quick & easy.

passing xml to xslt

hello,

I'm wondering about passing in an xml file to an xslt document, i need need to querry the document for values.

File1.xml
<root>
<address>
...data....
</address>
</root>

File2.xml
<root>
<client>
...data....
</client>
</root>

so those are the two xml documents, and lets say i am doing an xslt transform to combine the data of client with certain pieces of address. so it will end up like...

<root>
<client>
<address>...data....</address>
...more data....
</client>
</root>

i need to do this through xslt, and passing in file2 as a parameter. So my question is how do i accress the data in file2? how can i perform an XPath query on it to do like a /root/address.

Thanks.
Apr 1 '08 #1
0 868

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by Craig Petrie | last post: by
7 posts views Thread by Harolds | last post: by
reply views Thread by stevag | last post: by
6 posts views Thread by David Schwartz | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by listenups61195 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.