[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Question about xsl-xslt

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.