Subject: [xsl] Converting HTML-like to OpenDocument From: Alex Hudson <home@xxxxxxxxxxxxxx> Date: Wed, 31 May 2006 12:08:47 +0100 |
Hi, I've run into a problem converting between HTML-like lists and the structure that OpenDocument requires. In HTML, you're allowed to do something like: <li>This is some text. <ul><li>This is a sub-list</li></ul> Here is some <em>more text</em> </li> In ODF, that would have to be structured as: <li><p>This is some text.</p> <ul><li><p>This is a sub-list</p></li></ul> <p>Here is some <em>more text</em></p> </li> ... where all the text is within a <p> node, but sub-lists are not. I've tried doing this a number of ways in XSL, and am not getting even close. I'm pretty sure that this is some kind of grouping problem, but I would be grateful for any hints people could give me about how to attack this. Thanks, Alex.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] "Return" from a function?, andrew welch | Thread | Re: [xsl] Converting HTML-like to O, David Carlisle |
[xsl] "Return" from a function?, Phillip B Oldham | Date | Re: [xsl] Numbering Consecutive Nod, David Carlisle |
Month |