Subject: Re: [xsl] Trying to understand root-less or document-node-less nodes From: Abel Braaksma <abel.online@xxxxxxxxx> Date: Mon, 17 Sep 2007 20:43:03 +0200 |
On 9/17/07, Abel Braaksma <abel.online@xxxxxxxxx> wrote:
Hi David, thanks for your response.It was from me Abel... :)
It's important to realise what happens when you add as="element()+" to
a variable definition - I've been caught out by it before when typing
all of my variables.
<xsl:variable name="root" as="document-node()">
...so in this case I decided that the "as" attribute can be left off
(this is the exception to the rule of "always use the as attribute").
The start of the thread where DC explains it is here: http://www.oxygenxml.com/archives/xsl-list/200607/msg00880.html
Cheers, -- Abel Braaksma
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Trying to understand root, Andrew Welch | Thread | Re: [xsl] Trying to understand root, David Carlisle |
Re: [xsl] [XSL] XSL Browser Integra, Abel Braaksma | Date | [xsl] [Announce:] Version 2008 of t, ANNOUNCE |
Month |