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: 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)

_____________________________________________________________________
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


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