I'm on the edge and I need a push...

Jon Smirl jonsmirl at mediaone.net
Mon Aug 16 18:43:19 BST 1999


You would use the document(filename) function to merge together data from
different sources.

file A
<quotes>
    <stock name="SYBS" value=="11 1/4"
<quotes>

XSL sheet

<p>this is Yahoo's home page</p>
<p> current stock price for SYBS is
<value-of select="document('a')//stock[@name='SYBS']/@value"/>
</p>

This is implemented for sure in XT and Saxon, probably others too.

Jon Smirl
jonsmirl at mediaone.net




xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list