Subject: RE: [xsl] generic method of getting element length From: "Michael Kay" <mhkay@xxxxxxxxxxxx> Date: Fri, 1 Jun 2001 08:51:04 +0100 |
> I have an element that is of type xsd:string I want to test if it is > longer than a given vale, say 35. Then let me repeat my question: what do you mean by the length of an element? Or if that's too abstract for you, what do you consider to be the length of the following element: <a x="3">some text</a> If you think the length of this is 9, (ie, by the "length of an element" you mean "the length of its string-value") then you can get it using the string-length() function. Mike Kay Software AG > > Michael Kay wrote: > > > > > Anyone know of a generic method og getting the length of > an element > > > within a transformation? > > > > What do you mean by "the length of an element"? > > > > Mike Kay > > Software AG > > > > XSL-List info and archive: > http://www.mulberrytech.com/xsl/xsl-list > > > 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 -> |
---|---|---|
Re: XSL history (was RE: [xsl] XSL , G. Ken Holman | Thread | Re: [xsl] generic method of getting, Edward Kennedy |
RE: XSL history (was RE: [xsl] XSL , Michael Kay | Date | RE: [xsl] XSL and Date, Michael Kay |
Month |