This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: doctype





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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]