XML to Word using custom paragraph styles and XSLT -
i've got xml file contains textual information (list of questions in moodle xml format). i'd convert document can opened ms word, i'd maintain context (using paragraph styles) can convert moodle xml. here's tried far:
i excited find several tutorials (e.g., a) how use xml in word, many of them moot given result of i4i patent dispute.
i made prototype rtf xslt, rtf styling , unicode support complex.
i've seen way use
<p class="mycustomstyle">
html documents can opened in word. html style sheets , mapping them word styles seems limited. need styles "based on" (inherit from) other styles , it's not clear how works using html classes , css.i've looked @ openxml office.
<w:blah>
tags pretty easy use, don't whole zip archive solution. means styles go in 1 xml file, content in another, etc. i'm guessing i'll need step beyond xslt (some kind of script multiple transforms). i'm trying keep simple:
is there way make single xml-like (not rtf) file imports styled paragraphs word?
i've looked @ openxml office. tags pretty easy use, don't whole zip archive solution. means styles go in 1 xml file, content in another, etc.
then you'll want check out the flat opc format, opc parts represented in single xml file rather multiple files zipped together.
Comments
Post a Comment