[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] unordered lists from xml to html
Hi, I am new to xsl and struggling with converting some xml to html. For example I have the following <summary> <para bullet=1>This is paragraph 1 /para> <para bullet=0>This is paragraph 2 /para> <para bullet=1>This is paragraph 3 /para> <para bullet=1>This is paragraph 4 /para> </summary> I want to convert it to the following html using xsl <ul> <li>This is paragraph 1</li> </ul> <p>This is paragraph 2</p> <ul> <li>This is paragraph 3</li> <li>This is paragraph 4</li> </ul> You will see that the attributes in the para element determine whether the paragraph should be in a bullet or not. If anyone can suggest a solution I will be most grateful. Thanks in advance, Ian Hord 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
|