|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Checking null values in a string
> I wonder if there is some good useful function that checks if > a for example variable is empty and in that case replaces it > with an empty string. There is one good function in PL/SQL > that does this. The NVL function. If there is no value just > replace it with an empty string. Is there anything similar in XSLT? > string(@x) gives you the value of @x if it exists and an empty string if it doesn't. Is that what you're after? Your terminology is a little confusing: what do you mean by null values in an XML context? Michael Kay Software AG home: Michael.H.Kay@xxxxxxxxxxxx work: Michael.Kay@xxxxxxxxxxxxxx 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
|

Cart








