Subject: Fwd: Re: Selecting a certain amount of characters with XSL
From: Regine Vergon <regine_vergon@xxxxxxxxx>
Date: Thu, 9 Mar 2000 04:43:20 -0800 (PST)
|
Hi,
What do you mean ?
I don't understand my mail.
May be my question was not clear enough. Let my try to explain it another time.
What i meant was:
my new variable called "x" contains now:
some text with some tags like <br/>
this one to go to next line.
<b> to have bold text</b>
another bla bla bla
<br/>
If i do
<xsl:copy-of select="$x"/>
it's ok i get the text and the tags are evaluated. I mean i get a new line
where there is a <br/> tag and i get bold text between <b> and </b>.
If i do:
<xsl:copy-of select="substring($x,1,1000)"/>
I get the same text but tags are not evaluated. No bold no breaking lines...
So i wanted to know if it was possible to get only 1000 characters from this
variable x and have the tags evaluated: i.e bold where expected and breaking
line.
Thanks
Regine
--- David Carlisle <davidc@xxxxxxxxx> wrote:
> Date: Thu, 9 Mar 2000 11:54:12 GMT
> From: David Carlisle <davidc@xxxxxxxxx>
> To: xsl-list@xxxxxxxxxxxxxxxx
> Subject: Re: Selecting a certain amount of characters with XSL
> Reply-to: xsl-list@xxxxxxxxxxxxxxxx
>
>
> > because i still want only 1000 characters i loose <b> and <br> tags.
> > How can i combine a substring and a copy of ?
>
> In your count of 1000 characters, how many characters are on the next
> line of this message?
> <br/>hello world<br/>
>
>
> David
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
=====
Regine Vergon
Jomfrubråtveien 73B
1179 Oslo
Norway
Tel : + 47 22 74 66 98
Cell: + 47 97 02 69 47
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|