[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Grouping question
Hi All, I have an input HTML file of this style: <h2>testing</h2> <p>data recovery, and application testing. </p> <h4>Support for file system</h4> <p>Objects for replication:</p> <h3>Session</h3> <p>Before creating sessions... </p> <h3>Wizard</h3> <p>In Manager, you can . </p> <h4>Support for file system</h4> <p>Objects for replication:</p> <h2>testing1</h2> I want to group the above html file like this <h2>testing <p>data recovery, and application testing. </p> <h4>Support for file system <p>Objects for replication:</p> </h4> <h3>Session <p>Before creating sessions... </p> </h3> <h3>Wizard <p>In Manager, you can . </p> <h4>Support for file system <p>Objects for replication:</p></h4> </h3> </h2> <h2>testing1</h2> If "h4" appears after "h3", then that "h4" group should be captured inside the "h3" group. If "h4" appears before "h3" and if it is a child of "h2", then that "h4" should be captured in "h2" child group. How do I need to write the for-each-group element for the above condition? Thanks in Advance, Balaji. M
|
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
|