[xsl] selecting the following-sibling in recursive search...

wxdqz

New Member
Hi,

I have the following XML fragment..
<main>
<list>
<item/>
</list>
<table/>
<p name="head1"/>
<p name="head2"/>
<list>
<item/>
</list>
<p name="head3"/>
<list/>
</main>

In my XSL, i want to search the following-sibling of
<list> item.
so, from the first <list> i am selecting the
following-siblings
it should select only sibling before the next <list>.
like <table/>, <p name="head1/> and <p
name="head2"/>.

Can you give me the criteria like using both
following-sibling and prceding-sibling of second
list.

Thanks
Regards,
Raj
 
Top