This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: doctype
- To: xsl-list at mulberrytech dot com
- Subject: RE: doctype
- From: STENZEL at de dot ibm dot com
- Date: Mon, 27 Nov 2000 11:00:10 +0100
- Reply-To: xsl-list at mulberrytech dot com
John,
>I'm a bit unsure which variable you want to have global scope. If it's
>"DocType", then you can get the top-level element name like this: ..
I wanted both...
>...
>This can now be used wherever you want to create "RecordLayout". But you
>need to create "RecordLayout" inside a template.
Just for the records:
At least with the Xalan/Xerces combination it works also outside of
templates ...
>...
>Alternatively, if you want BOTH variables to be top-level(so that the
>external XML document will be available to every template), I'm afraid I
>don't know how to do that.
see above
>But I hope this helps,
Yes, thank you too ... Gerhard
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list