OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

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

[ Lists Home | Date Index | Thread Index ]
  • From: "Jon Smirl" <jonsmirl@mediaone.net>
  • To: "XML-DEV" <xml-dev@ic.ac.uk>
  • 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@mediaone.net




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






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS