|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: To find out immediate following tag(S)
The output you mentioned is desired output?? it doesn't seem to be consistent showing what the requirement is... if you want all the following siblings, you can simply use following-sibling::*.... On Mon, Oct 6, 2008 at 5:43 PM, J. S. Rawat <jrawat@xxxxxxxxxxxxxx> wrote: > Hi List you people has suggested that one can find out immediate following > TAG by following-sibling::*[1][self::a1]. Just to extend the topic, how we > will find out all the immediate siblings. > > Input > <a>first</a> > <a1>second</a1> > <a1>third</a1> > <a>fourth > <a1>fifth</a1> > <b1>sixth</b1> > </a> > <a1>seven</a1> > <a1>eight</a1> > <a>nine</a> > <b1>ten</b1> > <a1>ele</a1> > > OUTPUT > <a>first > second > third</a> > <a>fourth > <a1>fifth</a1> > <b1>sixth</b1> > seven > eight</a> > <a>nine</a> > <b1>ten</b1> > <a1>ele</a1> > > -- Thanks & Regards, Mandar
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








