[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: test on string-length of text() for element with n
I assume "it doesn't work" means you're not getting the right length? -- If so try using normalize-space(). string-length(maritalstatus/text()) == 11 string-length(normalize-space(maritalstatus/text())) == 10 Murray I also thought so, but I don't know why its not working. If 'textstring' is placed direct after the starttag <maritalstatus>, followed by the child elements it works. But in this case it doesn't work
|
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
|