Subject: Re: [xsl] word wrap in a text string From: "Laura Jenkins" <xsl_list@xxxxxxxxxxx> Date: Wed, 06 Mar 2002 14:45:46 +0000 |
Dear Ajay Try using the function string-length example <xsl:variable name = "MyString" select = "beautiful weather"/> <xsl:value-of select = "string-length(MyString)"/> would return 17.
HTH Laura
From: "ajay sinha" <sinhajay@xxxxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: [xsl] word wrap in a text string Date: Wed, 06 Mar 2002 14:24:54
Hi friends,
I have to do wrap text in a td i.e. in a node, which contains text string I
have to find if any
Word has more then 30 characters then insert a br tag after 30 char in that
word and so on. I have to check whole text for long word and break each of
them. Furthermore I am using Saxon 3.1 which doesn?t allow tail recursion.
Well if any one can show me an example or guide me, I will be really
thankful.
Arup
_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Using Parameters for HTML, Jeni Tennison | Thread | [xsl] word wrap in a text string, ajay sinha |
[xsl] Using Parameters for HTML Att, Hellstern, Manny | Date | RE: [xsl] xsl:script, Julian Reschke |
Month |