Subject: RE: [xsl] detecting a colon (':') within a para From: Pieter Reint Siegers Kort <pieter.siegers@xxxxxxxxxxx> Date: Tue, 29 Jun 2004 11:15:18 -0500 |
Sorry Naomi, I overlooked the word "last", so please use Michael's solution - a much better one too :-) Cheers, <prs/> -----Original Message----- From: Pieter Reint Siegers Kort [mailto:pieter.siegers@xxxxxxxxxxx] Sent: Tuesday, June 29, 2004 10:29 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: [xsl] detecting a colon (':') within a para Hi Naomi, You could use contains($var,':') in an xsl:if test. HTH, <prs/> -----Original Message----- From: Naomi Gronson [mailto:naomi_gronson@xxxxxxxxx] Sent: Tuesday, June 29, 2004 10:18 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: [xsl] detecting a colon (':') within a para Is there anyway to find the following scenario: <para>The following items you really need to know:</para> I'd like to be able to find all para's that have a colon as their last character and insert a processing instruction to tell the output-formatter not to allow a page break. I use processing instructions in many other scenarios, but I've never had to look an elements actual content. Any suggestions would be appreciated. Thanks! Naomi __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail --+------------------------------------------------------------------ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/ or e-mail: <mailto:xsl-list-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx> --+-- --+------------------------------------------------------------------ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/ or e-mail: <mailto:xsl-list-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx> --+--
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] detecting a colon (':') w, Pieter Reint Siegers | Thread | RE: [xsl] detecting a colon (':') w, Naomi Gronson |
RE: [xsl] detecting a colon (':') w, Pieter Reint Siegers | Date | ANN: Enhanced XSLT mapping features, Ivan Pedruzzi |
Month |