RE: RE: Flat bullets to nested ul
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: 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.
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