|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: generic method of getting element length
> 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
|
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








