OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: roundtrip - wordml2normalise.xsl/normalise-common.xsl -customizing possible?


Hi all,

I'm not familiar with WordML nor DocBook but trying to convert 1 WordML file with ~200 pages to DocBook. (a good start...)

When running the XML pipeline WordML2DocBook I got errors at the end (blocks2dbk.xsl) with 35 different paragraph styles.
e.g. 'ERROR "unknown-style": unknown paragraph style "berschrift1" encountered'

Yes - the WordML file had a customized German 'MySpecialWord.dot' at the beginning...
I found out, that the template 'rnd:map-paragraph-style' is imported to wordml2normalise.xsl from 'normalise-common.xsl'.

Now the question:
Does it make sense to customize the file "normalise-common.xsl" to match the German styles which had been used in myWordFile.doc (based on mySpecialWord.dot and saved as myWordFile.xml)?

Or should I just replace those 35 styles with sed? ;-)

thanks in advance,
Vittorio




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]