[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: grouping issue (part 2)
On 22/04/2010 23:08, Terry Ofner wrote:
I am having group-adjacent problems. Here is a snippet of starting document: I am seeking this: this is the same as your input except all the children of narrative are wrapped in text, which doesn't need grouping at all?
but presumably this isn't what you want? or perhaps you want para and tables to be in the same group which would just requirre changing your code group-adjacent="name()"> to group-adjacent="exists(self::table|self::para)"> if you want tables and paras in one group and everything else in the other or group-adjacent="replace(name(),'table','para')"> if you want tables and paras in one group and each distinct element type other than these two in their own groups David
|
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
|