Subject: RE: [xsl] Variable creation and scoping From: "Michael Kay" <mhk@xxxxxxxxx> Date: Wed, 16 Apr 2003 08:11:22 +0100 |
> I want to create a number of variables from an external > document in order to transform a different XML file, but the > way that I thought to accomplish this was using for-each to > cycle through the elements in the external document doesn't > accomplish what I want because the variables seem to only > exist within the for-each. I suspect that creating "a number of variables" in this case is the wrong approach. Create a single variable whose value is an XML tree, and access the components of the tree using path expressions. Michael Kay Software AG home: Michael.H.Kay@xxxxxxxxxxxx work: Michael.Kay@xxxxxxxxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Re: Variable creation and sco, Dimitre Novatchev | Thread | RE: [xsl] Variable creation and sco, Passin, Tom |
RE: [xsl] How can I do a string sub, Michael Kay | Date | Re: [xsl] XUpdate, Mike Brown |
Month |