Re: [xsl] Question about xsl-xslt

Subject: Re: [xsl] Question about xsl-xslt
From: "cutlass" <cutlass@xxxxxxxxxxx>
Date: Tue, 22 May 2001 13:24:46 +0100
----- Original Message -----
From: "David Carlisle" <davidc@xxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, May 22, 2001 1:08 PM
Subject: Re: [xsl] Question about xsl-xslt


>
> > Sure, he could use empty tags for xsl:variable and xsl:value-of
> > but this is no mistake.
>
> I _think_ it is a mistake (Mike?)
>
>    <xsl:value-of select="/filevideo/campi/campo1">
>    </xsl:value-of>
>
> That element isn't empty (eg it wouldn't validate against a DTD EMPTY
> declaration) as it contains white space.
>
> Now, white space nodes are stripped from the stylesheet in this context,
> but (I think) the requirements on "empty" elements that occur at several
> places in the spec relate to the stylesheet before white space
> stripping. An xsl:variable with a select attribute has to be empty...
>
> David
>
> (Not that any of this helps the original poster who, as you say, isn't
> using an XSLT system at all most likely)

chess anyone ?

was waiting for someone to spot that; as i am bored of answering the WD
questions.

cheers, jim fuller



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread