In article <2j************@uni-berlin.de>,
Timo Nentwig <tc*@spamgourmet.org> wrote:
% <root>
% <foo>bar</foor>
% <blah />
% <blah2 />
% <a>
% <b />
% <c />
% </>
% </root>
% I want to select everything between <foo> and <a>. Is this possible?
How about
<xsl:stylesheet xmlns:xsl = 'http://www.w3.org/1999/XSL/Transform'
version = '1.0'>
<xsl:template match='*[preceding-sibling::foo and following-sibling::a]'>
<xsl:copy-of select = '.'/>
</xsl:template>
<xsl:template match='text()'/>
</xsl:stylesheet>
?
--
Patrick TJ McPhee
East York Canada
pt**@interlog.com