From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/4383 Path: main.gmane.org!not-for-mail From: Tobias Burnus Newsgroups: gmane.comp.tex.context Subject: Re: XML in ConTeXt Date: Wed, 14 Mar 2001 19:47:02 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <3AAFBCA6.33C408CD@gmx.de> References: <003301c0ac63$233305a0$8119fea9@birotica.rdsor.ro> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035395057 25365 80.91.224.250 (23 Oct 2002 17:44:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:44:17 +0000 (UTC) Cc: NTG ConTeXt Original-Content-Transfer-Encoding: 7bit Xref: main.gmane.org gmane.comp.tex.context:4383 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:4383 Hi, > Is there an example or a documentation of how can someone input XML files > into ConTeXt? Have you seen this: http://www.pragma-ade.com/xml.htm http://www.pragma-ade.com/ -> XML support This works: \defineXMLentity [middot] {$\cdot$} \defineXMLenvironment [html] \starttext \stoptext \defineXMLargument [head] \gobbleoneargument \defineXMLargument [h1] \title \defineXMLenvironment [p] \endgraf \endgraf \processXMLfilegrouped{test.xhtml} and this works also: \usemodule[mathml] \starttext \startXMLdata 12 12 12 &cdots; \stopXMLdata \stoptext Greetings from Bologna, Tobias