[
Lists Home |
Date Index |
Thread Index
]
- From: Aaron Fischer <fischer17@llnl.gov>
- To: java-xml-interest@cybercom.net, xml-dev-digest@ic.ac.uk, xsl-list-digest@mulberrytech.com
- Date: Thu, 08 Jul 1999 16:30:02 -0700
Hey everyone. I have a data-driven XSL transformation script. In other
words, I have a whole bunch of templates, one for every kind of element in
each level of the XML tree, with each template calling
<xsl:apply-templates/> on its children.
My problem is, within certain templates, I want to reference data in
certain elements located elsewhere in the XML tree. However, when this
template is called upon, the context node is such that the element I want
to reference is NOT a descendant of the context node; i.e. it's somewhere
else above, in the XML tree; and at the moment it stands as inaccessible
Is there a pattern syntax for starting at the root or going above the
context node, up into the XML tree? Every pattern selection I've tried is
always evaluated from the context node, which is the very thing I want to
bypass. Is there a way to directly assign the value of the context node?
All help appreciated,
Aaron
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)
|