Re: [xsl] Question about xsl-xslt

Subject: Re: [xsl] Question about xsl-xslt
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 22 May 2001 13:08:10 +0100
> 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)

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp

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


Current Thread