Re: [xsl] selecting non tags

Subject: Re: [xsl] selecting non tags
From: Daniel Bibbens <dbibbens@xxxxxxxxxx>
Date: Mon, 17 Jan 2005 22:38:33 -0800
Mygrp <mdgroups@xxxxxxxxx> 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.
-- 

Current Thread