2007/12/18, Johannes Graumann
Wolfgang Schuster wrote:
2007/12/18, Johannes Graumann
: Wolfgang Schuster wrote:
2007/12/18, Johannes Graumann
: Thanks! I remembered this, but had lost track of where to find it ... Can someone please have a quick look at the following:
\startxmlsetups xml:mysetups \xmlsetsetup{\xmldocument}{text:p}{xml:paragraph} \stopxmlsetups
\xmlregistersetup{xml:mysetups}
\startxmlsetups xml:paragraph \xmlflush{#1}\endgraf \stopxmlsetups
\starttext \processXMLfilegrouped{zip::\env{odt}::content.xml} \stoptext
replace this with
\starttext \xmlprocess{main}{zip::\env{odt}::content.xml}{} \stoptext
\processXMLfilegrouped did not work in combination with xmlregistersetup
Thanks for the hint, but
\startxmlsetups xml:mysetups \xmlsetsetup{\xmldocument}{text:p}{xml:paragraph} \stopxmlsetups
\xmlregistersetup{xml:mysetups}
\startxmlsetups xml:paragraph \xmlflush{#1}\endgraf \stopxmlsetups
\starttext \xmlprocess{main}{zip::\env{odt}::content.xml}{} \stoptext
doesn't give anything different than what I was trying before ...
Can you send a real example (Openoffice file plus TeX file).
Attached. Thanks for your time. Joh
I tried this yesterday myself but I get the same error "no xml file found". Looks like ConTeXt is not able to open zip files in xml mode, you should Hans for this feature. Wolfgang