[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[xsl] FW: Migrating from unstructured to structured xml
Subject: [xsl] FW: Migrating from unstructured to structured xml From: Pål Werdenhoff <Pal.Werdenhoff@xxxxxxx> Date: Mon, 19 Jun 2006 10:22:21 +0200 |
Have been struggling with this for days now. Appreciate any help! I am using: - XSLT 2.0 - Eclipse - Saxon 8.7.3 Current: <body> <div> <h2 class="pHeading1">r_Deprecated Document Processing Stages</h2> <div class="pSmartList1 pSmartList1 null1"> B <div class="pSmartList1"> B B B <ul class="noindent"> B B B B B <li>Text</li> B B B </ul> B </div> B <p class="pBodyRelative">Note! A warning</p> B B <div class="pSmartList1"> B B B <ul class="noindent"> B B B B B <li>more text</li> B B B </ul> B </div> B B B <!bSecond level list -b B B B <div class="pSmartList2 pSmartList2 null1"> B B B B B <div class="pSmartList2"> B B B B B B B <ul class="noindent"> B B B B B B B B B <li>second level text</li> B B B B B B B </ul> B B B B B </div> B B B B B <div class="pSmartList2"> B B B B B B B <ul class="noindent"> B B B B B B B B B <li>second level text </li> B B B B B B B </ul> B B B B B </div> B B B </div> B B B <!bSecond level list end -b B <div class="pSmartList1"> B B B <ul class="noindent"> B B B B B <li>even more text </li> B B B </ul> B </div> </div> </div> </body> Desired output is: <section> B B B B B B B B B B B <ul><li>text</li></ul> B B B B B B B B B B B <p>Note! A warning</p> B B B B B B B B B B B <ul> B B B B B B B B B B B B B B B B B B B B B B B <li>more text</li> B B B B B B B B B B B B B B B B B B B B B B B <li> B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B <ul> <li>second level text</li> B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B <li>second level text</li> B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B </ul> B B B B B B B B B B B B B B B B B B B B B B B </li> B B B B B B B B B B B B B B B B B B B B B B B <li>even more text</li> B B B B B B B B B B B </ul> </section> Thank you! Kind regards PC%l ______________________ PC%l Werdenhoff Technical Communicator Fast Search & Transfer (FAST) Christian Frederiks plass 6 P.O. Box 1677, Vika 0120 Oslo 23 01 12 87 48 01 12 87 www.fastsearch.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] dynamic template naming X, Dimitre Novatchev | Thread | Re: [xsl] FW: Migrating from unstru, Jagdishwar B |
[xsl] dynamic template naming XSL1., news | Date | Re: [xsl] dynamic template naming X, andrew welch |
Month |
Keywords