xsl-list
[Top] [All Lists]

RE: [xsl] Detect   in the input file

2008-02-28 01:54:23
  is just a fancy way of inputting the character xA0. You can therefore
do things like

replace(img, '   ', 'THREE_SPACES')

Michael Kay
http://www.saxonca.com/ 

-----Original Message-----
From: Marroc [mailto:marrocdanderfluff(_at_)yahoo(_dot_)co(_dot_)in] 
Sent: 28 February 2008 08:41
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] Detect   in the input file

Hi all,

I have input XHTML that uses   to lay out the page. I've 
searched and found discussions of using and generating   
in the output document but, how do I detect it in the input?

I have them in sets of three before the expand/collapse 
images in a book as
follows:

<img>
&nbsp;&nbsp;&nbsp;<img>
&nbsp;&nbsp;&nbsp;<img>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img>
<img>

I'd like to detect each group of three and convert it to a 
spacer image.

Thanks in advance,
Richard



--~------------------------------------------------------------------
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(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
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(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>