Subject: Re: [xsl] Difficulty with document() and for-each scope From: Adam Nielsen <adam.nielsen@xxxxxxxxx> Date: Tue, 17 Jun 2008 10:21:39 +1000 |
Yes. The de facto (?) way of pulling this trick is to use an anchor variable. Either you set document('')/me:month to a variable, or you set "/" to a variable (before you enter the for-each block). That way you either prevent the scope from shifting to another document (the first approach) or you keep a reference to the original input document (the second approach).
Cheers, Adam.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Difficulty with document(, Abel Braaksma | Thread | Re: [xsl] Difficulty with document(, Deborah Pickett |
Re: [xsl] xml validation, Wendell Piez | Date | Re: [xsl] Difficulty with document(, Adam Nielsen |
Month |