I've posted this question before with no response, so I decided to simplify my explanation in hopes of making it easier to understand what I'm asking about
I have 2 XML docs:
1) xmldoc1.xml - This file contains a central list of external links for our entire website. This is how it's set up:
2) xmldoc2.xml - This file contains a node named "link" that matches one of the "id" attributes from xmldoc1.xml. This is how it's set up:
<address>123 4th St.</address>
<address>987 6th St.</address>
And this is what I'd like the output to look like:
Address: 123 4th St.
Phone: (123) 456-7890
Address: 987 6th St.
Phone: (987) 654-3210
I know that I need an XSLT stylesheet that ties the 2 source XML docs together using the "id" attribute from xmldoc1.xml, and the "link" node from xmldoc2.xml, but I'm not sure how to accomplish this. I've been beating my head against a wall concerning what I thought would be a simple task, so I'm now hoping that some knowledgable folks can show me the light so-to-speak.
So if anyone can give me some insight in how to accomplish this task, it would be greatly appreciated!!! Thanks so much for your time.