This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Future XSLT expansion.
- To: xsl-list at mulberrytech dot com
- Subject: Re: Future XSLT expansion.
- From: Paul Tchistopolskii <paul at qub dot com>
- Date: Sat, 18 Mar 2000 15:23:09 -0800
- Organization: The Qub Group
- References: <003d01bf9120$ff8524c0$1b19da18@ne.mediaone.net>
- Reply-To: xsl-list at mulberrytech dot com
> a point worth mentioning before you rewrite your XSLT library :-)
>
> <xsl:variable name="whatever" select="document('data.xml')" />
>
> allows $whatever to be used as a Node-Set
Sounds amazing.
Because there is no typecast in the core, but because there is
one special ( we know the secret ) hack which has a built-in
typecast ( it is document() hack ) - if you want some variable to be
converted to node-set - just place that variable into separate file.
Comparing to this, perl is not a monster, of course. Perl is not
saying that you should place your variables into separate files.
Rgds.Paul.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list