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

RE: empty string

Subject: RE: empty string
From: "Yan, Charlene" <Charlene.Yan@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 18 Jun 2003 13:01:11 -0400
xsl empty string
This is a question based on my other problem in "xml:number problem" thread.  Please read that thread and see if you can help me there.  THANKS!!!

Charlene

-----Original Message-----
From: Wendell Piez [mailto:wapiez@xxxxxxxxxxxxxxxx]
Sent: Wednesday, June 18, 2003 12:40 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  empty string


You can, however, generate an element or attribute node which has no 
content, which serializes (or doesn't, depend on how you look at it) as an 
"empty string" and/or which processing software can easily "recognize" as 
an "empty string".

Why you would want to put an empty string into output, as (was it?) Mike 
said, is another question. I suppose if we reversed it to say "not put a 
string with any content" into output, it's easier to see -- yet that's 
easy, you just do nothing!

I love philosophy early in the day.

Cheers,
Wendell

At 07:42 PM 6/17/2003, Mike wrote:
>Yan, Charlene wrote:
> > Is there a way to put an empty string in xsl.
>
>No, not a truly empty string. XSLT is about generating a DOM-like tree of
>nodes from which linear output, such as a series of bytes representing an
>encoded string, is typically derived automatically. The production of a text
>node requires the presence of at least one character. The character could be
>a space or other non-printing character though.

___&&__&_&___&_&__&&&__&_&__&__&&____&&_&___&__&_&&_____&__&__&&_____&_&&_
     "Thus I make my own use of the telegraph, without consulting
      the directors, like the sparrows, which I perceive use it
      extensively for a perch." -- Thoreau


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


 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.