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: Future XSLT expansion.



> 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

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