|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] A variant on the flat file to structured file problem.
Thanks to the help of many on this list. I got my last flat to structured problem working fine. However I have a slight variant on this problem. Now I am trying to convert something like this <doc> <p style="L1">First Level 1</p> <p style="L1">Second Level 1</p> <p style="L2">First <em>Level</em> 2</p> <p style="L2">Second Level 2</p> <p style="L3">First Level 3</p> <p style="L1">Third<em>Level</em> 1</p> <p style="L1">Forth Level 1</p> <p style="normal">Normal</p> </doc> to something like this: <ol> <li>First Level 1</li> <li>Second Level 1</li> <ol> <li>First Level 2</li> <li>Second Level 2</li> <ol> <li>First Level 3</li> </ol> </ol> <li>Third Level 1</li> <li>Fourth level 1</li> </ol> <p>Normal</p> If the <p@style> is something completely different, then it assumed its dropped out of the list structure completely. Lists could start with L1,L2,or L3 depending too. I tried to get it working with something similar to the solution used for headings, but I really couldn't get anything sensible. I hope you can provide me with some points in the right direction. Thanks again for your help, Nicholas Waltham XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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








