This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: string-length
- To: xsl-list at mulberrytech dot com
- Subject: Re: string-length
- From: Steve Tinney <stinney at sas dot upenn dot edu>
- Date: Sun, 02 Apr 2000 13:20:28 -0400
- References: <NDBBINMGCKGKJDPJOIIHIEIBCAAA.bsorek@surfnotes.com>
- Reply-To: xsl-list at mulberrytech dot com
> but where would I put this template name="add-data". I cannot put it in a
> vriable tag, that won't work. If i place it outside, how does it "know" what
> DATA is?
check the xslt spec on xsl:call-template; it doesn't change the current
node.
the context node is not like the scope of a variable
Steve
p.s. in the previous post I mistakenly wrote test="strlen <= 915"; I
should have written test="$strlen + string-length(DATA[$index]) <=
915. There are probably other bugs there, also.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list