[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: length of string from a set of nodes.
Fred Christian wrote:
I was able to get this to work, but while reading about it, I see all these little tips and recommendations regarding being efficient and not creating nodes when you only need strings. Couldn't you simply do <xsl:variable name="strings" as="xs:string" select="string-join(answers, ' ')"/> ? <xsl:variable name="slen" as="xs:integer"><xsl:sequence select="string-length($strings)"/></xsl:variable> That could certainly be done as <xsl:variable name="slen" as="xs:integer" select="string-length($strings)"/> -- Martin Honnen http://JavaScript.FAQTs.com/
|
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
|