Hi,
I am trying to add an ordered list with a custom role to a docbook xml after conversion from a Word .docx. What I do is I apply a custom style in Word (e.g. list-special) to the list, and follow the conversion steps. I see that the "single page styled (X)HTML" generated seems to get the style (as a p class="p-list-special"), so the problem is not in the first step of the conversion. However, the conversion to docbook seems to ignore the style, even though I added it to the MS-Word style to XML element map in the w2x options file. Other paragraph styles seem to convert well enough, I guess the problem is due to the fact that lists are treated a bit differently as the XHTML paragraphs are not a list, rather paragraphs where the numbers are incremented using CSS, and some sort of transformation is used to make this into an ordered list. Is there a way to apply such a custom style to list to add a role attribute to the resulting list after the conversion to docbook5? (Please find our XML Mind version information enclosed.) Thanks, Louise Prompers [cid:image002.png@01CF5AFF.BF23F9C0] Uitgeverij Coutinho b.v. Postbus 333 1400 AH Bussum 035 6949991 promp...@coutinho.nl<mailto:promp...@coutinho.nl> Boek of e-book? Veel uitgaven voor het hoger onderwijs zijn ook als e-book verkrijgbaar: coutinho.nl/bookshelf<http://www.coutinho.nl/bookshelf>. Op de hoogte blijven van onze nieuwste uitgaven? Meld u aan voor onze nieuwsbrief<http://www.coutinho.nl/nieuws-docent/nieuwsbrief-docent.html> op www.coutinho.nl.
XMLmind XML Editor Professional Edition 7.4.1 Copyright (c) 2017 XMLmind Software, all rights reserved. For more information, please visit http://www.xmlmind.com/xmleditor/ (Memory used 15Mb, total 39Mb, max. 494Mb) <html><head><title></title></head><body> <h2 style="margin-top: 0;">Configurations</h2> <ul> <li>C:\Program Files\XMLmind_XML_Editor\addon\config\docbook51\assembly.xxe</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\config\dita\bookmap.xxe</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\config\dita\ditaval.xxe</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\config\docbook\docbook.xxe</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\config\docbook5\docbook5.xxe</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\config\docbook51\docbook51.xxe</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\config\dita\map.xxe</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\mathml_config\standalone\mathml.xxe</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\profiling\config\profiling.xxe</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\config\dita\topic.xxe</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\config\xhtml\xhtml11.xxe</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\config\xhtml\xhtml5.xxe</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\config\xhtml\xhtml_loose.xxe</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\config\xhtml\xhtml_strict.xxe</li> </ul> <h2>XML catalogs</h2> <ul> <li>C:\Documents and Settings\louise\Application Data\XMLmind\XMLEditor7\addon\word_to_xml\catalog.xml</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\batik_imagetoolkit\svg_catalog.xml</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\config\catalog.xml</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\config\dita\catalog.xml</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\config\docbook\catalog.xml</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\config\docbook5\catalog.xml</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\config\docbook51\catalog.xml</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\config\xhtml\catalog.xml</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\edit_source\catalog.xml</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\jeuclid_imagetoolkit\mathml_catalog.xml</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\mathml_config\mathml_catalog.xml</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\paste_from_word\catalog.xml</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\profiling\catalog.xml</li> </ul> <h2>GUI specifications</h2> <ul> <li>C:\Documents and Settings\louise\Application Data\XMLmind\XMLEditor7\addon\word_to_xml\customize.xxe_gui</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\edit_source\customize.xxe_gui</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\mathml_config\common\customize.xxe_gui</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\profiling\customize.xxe_gui</li> </ul> <h2>Virtual drive plug-ins</h2> <p></p> <h2>XSL-FO processor plug-ins</h2> <ul> <li>com.xmlmind.xmleditext.fop1_foprocessor.FOP</li> <li>com.xmlmind.xmleditext.xfc_foprocessor.XFC</li> </ul> <h2>Image toolkit plug-ins</h2> <ul> <li>com.xmlmind.xmleditext.batik_imagetoolkit.BatikImageToolkit</li> <li>com.xmlmind.xmleditext.jeuclid_imagetoolkit.JEuclidImageToolkit</li> <li>com.xmlmind.xmleditext.mathml.imgtk.MathMLImageToolkit</li> </ul> <h2>Spell checker plug-ins</h2> <ul> <li>com.xmlmind.xmleditext.xsc_spellchecker.XSCFactory</li> </ul> <h2>Document format plug-ins</h2> <ul> <li>com.xmlmind.xmleditext.edit_source.TextFormat</li> </ul> <h2>Java runtime</h2> <ul> <li>Java(TM) SE Runtime Environment 1.8.0_131</li> <li>Java HotSpot(TM) Client VM 25.131-b11</li> <li>Windows XP 5.1 x86</li> <li>sun.awt.windows.WToolkit</li> </ul> <h2>Class path</h2> <ul> <li>C:\Program Files\XMLmind_XML_Editor\bin\xxe.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\bin\xerces.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\bin\resolver.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\bin\relaxng.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\bin\jh.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\bin\saxon.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\bin\saxon9.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\bin\xxe_help.jar</li> <li>C:\Documents and Settings\louise\Application Data\XMLmind\XMLEditor7\addon\word_to_xml\w2x.jar</li> <li>C:\Documents and Settings\louise\Application Data\XMLmind\XMLEditor7\addon\word_to_xml\w2x_app.jar</li> <li>C:\Documents and Settings\louise\Application Data\XMLmind\XMLEditor7\addon\word_to_xml\w2x_app_help.jar</li> <li>C:\Documents and Settings\louise\Application Data\XMLmind\XMLEditor7\addon\word_to_xml\wmf2svg.jar</li> <li>C:\Documents and Settings\louise\Application Data\XMLmind\XMLEditor7\addon\word_to_xml\wmf_converter.jar</li> <li>C:\Documents and Settings\louise\Application Data\XMLmind\XMLEditor7\addon\word_to_xml\word_to_xml.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\batik_imagetoolkit\batik-all.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\batik_imagetoolkit\batik_imagetoolkit.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\batik_imagetoolkit\js.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\batik_imagetoolkit\xml-apis-ext.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\batik_imagetoolkit\xml-apis.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\config\common\docbook.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\config\common\whc\snowball.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\config\common\whc\whc.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\config\common\xhtml.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\config\common\xslthl\xslthl.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\config\dita\dita.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\config\dita\ditac.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\config\dita\dita_help.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\config\docbook\docbook-xsl-saxon.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\config\docbook\docbook_help.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\config\docbook51\assembly.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\config\docbook51\assembly_help.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\config\docbook51\dbasmproc.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\config\xhtml\xhtml_help.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\edit_source\autocomplete.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\edit_source\edit_source_text_docformat.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\edit_source\rstaui.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\edit_source\rsyntaxtextarea.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\en_dictionary\en.dar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\fop1_foprocessor\avalon-framework-api.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\fop1_foprocessor\avalon-framework-impl.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\fop1_foprocessor\commons-io.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\fop1_foprocessor\commons-logging.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\fop1_foprocessor\fop-hyph.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\fop1_foprocessor\fop.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\fop1_foprocessor\fop1_foprocessor.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\fop1_foprocessor\xmlgraphics-commons.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\jai_imageio\jai_imageio.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\jeuclid_imagetoolkit\commons-io.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\jeuclid_imagetoolkit\commons-logging.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\jeuclid_imagetoolkit\jeuclid-core.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\jeuclid_imagetoolkit\jeuclid-fop.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\jeuclid_imagetoolkit\jeuclid_imagetoolkit.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\jeuclid_imagetoolkit\xmlgraphics-commons.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\mathml_config\common\mathml_conf_pane_imagetoolkit.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\mathml_config\common\mathml_help.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\paste_from_word\paste_from_word.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\paste_from_word\tagsoup.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\profiling\common\profiling_help.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\profiling\profiling.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\xfc_foprocessor\xfc.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\xfc_foprocessor\xfc_ext.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\xfc_foprocessor\xfc_foprocessor.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\xsc_spellchecker\xsc.jar</li> <li>C:\Program Files\XMLmind_XML_Editor\addon\xsc_spellchecker\xsc_spellchecker.jar</li> </ul> <h2>System properties</h2> <pre>XSL_FO_PROCESSORS=XFC;FOP XXE.Feature.ConvertDocument=1 XXE.Feature.ImageViewportMode=1 XXE.Feature.Macro=1 XXE.Feature.MasterDocument=1 XXE.Feature.MediaPlayer=1 XXE.Feature.NewWindow=1 XXE.Feature.OpenFolder=1 XXE.Feature.Remark=1 XXE.Feature.Revisions=1 XXE.Feature.WebSearch=1 XXE_ADDON_PATH= XXE_GUI= XXE_PREFS_DIR= awt.toolkit=sun.awt.windows.WToolkit file.encoding.pkg=sun.io file.encoding=Cp1252 file.separator=\ java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment java.awt.printerjob=sun.awt.windows.WPrinterJob java.class.path=C:\Program Files\XMLmind_XML_Editor\bin\xxe.jar;C:\Program Files\XMLmind_XML_Editor\bin\xerces.jar;C:\Program Files\XMLmind_XML_Editor\bin\resolver.jar;C:\Program Files\XMLmind_XML_Editor\bin\relaxng.jar;C:\Program Files\XMLmind_XML_Editor\bin\jh.jar;C:\Program Files\XMLmind_XML_Editor\bin\saxon.jar;C:\Program Files\XMLmind_XML_Editor\bin\saxon9.jar;C:\Program Files\XMLmind_XML_Editor\bin\xxe_help.jar java.class.version=52.0 java.endorsed.dirs=C:\Program Files\XMLmind_XML_Editor\bin\jre\lib\endorsed java.ext.dirs=C:\Program Files\XMLmind_XML_Editor\bin\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext java.home=C:\Program Files\XMLmind_XML_Editor\bin\jre java.io.tmpdir=C:\DOCUME~1\louise\LOCALS~1\Temp\ java.library.path=C:\Program Files\XMLmind_XML_Editor\bin\jre\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program Files\Calibre2\;. java.net.useSystemProxies=true java.runtime.name=Java(TM) SE Runtime Environment java.runtime.version=1.8.0_131-b11 java.specification.name=Java Platform API Specification java.specification.vendor=Oracle Corporation java.specification.version=1.8 java.vendor.url.bug=http://bugreport.sun.com/bugreport/ java.vendor.url=http://java.oracle.com/ java.vendor=Oracle Corporation java.version=1.8.0_131 java.vm.info=mixed mode java.vm.name=Java HotSpot(TM) Client VM java.vm.specification.name=Java Virtual Machine Specification java.vm.specification.vendor=Oracle Corporation java.vm.specification.version=1.8 java.vm.vendor=Oracle Corporation java.vm.version=25.131-b11 line.separator= org.apache.commons.logging.Log=com.xmlmind.xmleditext.fop1_foprocessor.ConsoleLogger os.arch=x86 os.name=Windows XP os.version=5.1 path.separator=; sun.arch.data.model=32 sun.awt.enableExtraMouseButtons=true sun.boot.class.path=C:\Program Files\XMLmind_XML_Editor\bin\jre\lib\resources.jar;C:\Program Files\XMLmind_XML_Editor\bin\jre\lib\rt.jar;C:\Program Files\XMLmind_XML_Editor\bin\jre\lib\sunrsasign.jar;C:\Program Files\XMLmind_XML_Editor\bin\jre\lib\jsse.jar;C:\Program Files\XMLmind_XML_Editor\bin\jre\lib\jce.jar;C:\Program Files\XMLmind_XML_Editor\bin\jre\lib\charsets.jar;C:\Program Files\XMLmind_XML_Editor\bin\jre\lib\jfr.jar;C:\Program Files\XMLmind_XML_Editor\bin\jre\classes sun.boot.library.path=C:\Program Files\XMLmind_XML_Editor\bin\jre\bin sun.cpu.endian=little sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86 sun.desktop=windows sun.io.unicode.encoding=UnicodeLittle sun.java.command=com.xmlmind.xmleditapp.app.QuickStart sun.java.launcher=SUN_STANDARD sun.jnu.encoding=Cp1252 sun.management.compiler=HotSpot Client Compiler sun.os.patch.level=Service Pack 3 user.country=NL user.dir=C:\ user.home=C:\Documents and Settings\louise user.language=nl user.name=louise user.script= user.timezone=Europe/Berlin user.variant=</pre> <h2>Environment variables</h2> <pre>=::=::\ ALLUSERSPROFILE=C:\Documents and Settings\All Users APPDATA=C:\Documents and Settings\louise\Application Data COMPUTERNAME=ICT_2 ComSpec=C:\WINDOWS\system32\cmd.exe CommonProgramFiles=C:\Program Files\Common Files FP_NO_HOST_CHECK=NO HOMEDRIVE=H: HOMEPATH=\ HOMESHARE=\\cout-fs01\home LOGONSERVER=\\COUT-DC01 NUMBER_OF_PROCESSORS=2 OS=Windows_NT OnlineServices=Online Services PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.PSC1 PROCESSOR_ARCHITECTURE=x86 PROCESSOR_IDENTIFIER=x86 Family 6 Model 23 Stepping 10, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=170a PSModulePath=C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\ Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program Files\Calibre2\ Platform=BPC ProgramFiles=C:\Program Files SESSIONNAME=Console SystemDrive=C: SystemRoot=C:\WINDOWS TEMP=C:\DOCUME~1\louise\LOCALS~1\Temp TMP=C:\DOCUME~1\louise\LOCALS~1\Temp USERDNSDOMAIN=COUTINHO.INTRA USERDOMAIN=COUTINHO USERNAME=louise USERPROFILE=C:\Documents and Settings\louise windir=C:\WINDOWS</pre> </body></html>
-- XMLmind XML Editor Support List xmleditor-support@xmlmind.com http://www.xmlmind.com/mailman/listinfo/xmleditor-support