xsl-list
[Top] [All Lists]

Re: selecting non tags

2005-01-17 23:38:33
Mygrp <mdgroups(_at_)gmail(_dot_)com> writes:

I also have a sequence like this

&lt;!--G:13544982--&gt;content&lt;!--G--&gt; 

Where the tags or sequence before and after the 'content' are not the
same. how can content be retrieved in this case ?


I couldn't say given your example. You'll need a pattern or some other
delimiter to match against. Perhaps, other contributors to this list
will have an idea that will help you.

You might give something like this a whirl:

xsl:if test="contains(content, $your-pattern)" and substring before
and after $your-pattern.
-- 


--~------------------------------------------------------------------
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>