Subject: RE: [xsl] RE: Flat bullets to nested ul From: Emma Burrows <Emma.Burrows@xxxxxxxxxxx> Date: Mon, 4 Jul 2011 09:36:19 +0100 |
Thank you very much for the link, Eliot. I'll have a look at that, and it's all the more appropriate as I'm actually using DITA for Publishers and the Word2DITA aspect may well come into play. (By the way is there a complete reference for D4P? The documentation promises one but doesn't seem to deliver) -----Original Message----- From: Eliot Kimber [mailto:ekimber@xxxxxxxxxxxx] Sent: 01 July 2011 20:34 To: xsl-list Subject: Re: [xsl] RE: Flat bullets to nested ul You have apply the same logic to the subgroups. So you group everything with level one groups, then for each of those groups, group level 2 groups, and so on. The code here: http://dita4publishers.svn.sourceforge.net/viewvc/dita4publishers/trunk/too lkit_plugins/net.sourceforge.dita4publishers.word2dita/xsl/simple2dita.xsl?v iew=log Is a fully-working sample of taking flat content (paragraphs and character runs) and generating DITA markup from it, including lists. This is part of the DITA for Publishers word2dita transform. The simple2dita.xsl file takes a "simple" XML file, which is a more generic representation of typical word processing data, and converts it to arbitrary DITA markup based on a style-to-tag mapping defined in a separate configuration file.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] RE: Flat bullets to neste, Eliot Kimber | Thread | RE: [xsl] XPath for parent nodes, b, Joel Dubien |
Re: [xsl] Antenna House FO formatte, Tony Graham | Date | [xsl] sequence as function paramete, Fabien Tillier |
Month |