Subject: Re: [xsl] repost - string comparison From: "Kirk Allen Evans" <kaevans@xxxxxxxxxxxxx> Date: Fri, 22 Feb 2002 07:53:00 -0500 |
There are several string XPath functions. A good tutorial is at TopXML.com at http://www.vbxml.com/xsl/tutorials/intro/xsl6.asp. Kirk Allen Evans kaevans@xxxxxxxxxxxxx "XML and ASP.NET", New Riders Publishing Available at Amazon.com http://www.amazon.com/exec/obidos/ASIN/073571200X/ ----- Original Message ----- From: "TP" <tpass001@xxxxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Thursday, February 21, 2002 1:50 PM Subject: [xsl] repost - string comparison > Repost - Sorry I forgot to change the subject on the previous one. > apologies. > > 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] repost - string comparison, TP | Thread | Re: [xsl] Empty elements, Ingo Schildmann |
RE: [xsl] attribute order, Michael Kay | Date | [xsl] Off-topic: XSD Mailing List?, Lee Goddard |
Month |