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

RE: Empty elements

Subject: RE: Empty elements
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Thu, 21 Feb 2002 18:49:27 -0000
xsl function trim empty
Use the normalize-space() function.

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of TP
> Sent: 21 February 2002 18:25
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re:  Empty elements
> 
> 
> I have a xml as
> **
> <FIELD_MASK>
> NEOL                                         </FIELD_MASK>
> **
> and I want to compare it
> **
> <xsl:when test = "FIELD_MASK='NEOL'">
> **
> Obviously this will not work because of the prevailing white 
> spaces. Is
> there a way for me to obtain a substring to compare or 
> .trim() this using
> xsl.
> 
> Please let me know.
> 
> Thanks,
> 
> TP.
> 
>  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
  • Empty elements
    • Porter, Ian - Thu, 21 Feb 2002 12:50:42 -0500 (EST)
      • TP - Thu, 21 Feb 2002 13:24:37 -0500 (EST)
        • Michael Kay - Thu, 21 Feb 2002 13:46:31 -0500 (EST) <=
        • TP - Thu, 21 Feb 2002 13:50:19 -0500 (EST)
      • Ingo Schildmann - Fri, 22 Feb 2002 10:45:21 -0500 (EST)

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.