|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Fwd: Re: Selecting a certain amount of characters with XSL
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
|
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
|

Cart








