[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Scope of xml source, includes, and inline xml

Subject: RE: Scope of xml source, includes, and inline xml
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 31 Mar 2005 20:55:11 +0100
RE:  Scope of xml source
> I am discovering such... I think a better approach is to import the
> xml into a variable at the parent level, so into
> parent_xslt_document.xsl
> Would you agree?

Yes, I would always use global variables for this kind of thing. Or external
"lookup.xml" files, read using the document() function.
> 
> Also, since we are on the subject:
> Is there such thing as cross-walking xml sources?  Recently I tempted
> to match all (as an example) AAA elements with a value of matching all
> BBB element values where BBB xml Source is not the same as AAA's xml
> source.  AAA would be part of the original xml source (not sure how
> you refer to that) where BBB is either an inline XML source "user data
> element" or imported into the stylesheet into a variable, or passed in
> as a parameter.

I can't work out exactly what process you are describing, but it's certainly
possible to join, compare, or merge data from multiple sources in XSLT.

Michael Kay
http://www.saxonica.com/

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.