[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Question about xsl-xslt
----- Original Message ----- From: "David Carlisle" <davidc@xxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Tuesday, May 22, 2001 1:08 PM Subject: 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) 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|