[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Jon Smirl" <jonsmirl@m...>
  • To: "XML-DEV" <xml-dev@i...>
  • Date: Mon, 16 Aug 1999 12:45:29 -0400

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@m...




xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
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@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member