On Nov 6, 2008, at 1:26 PM, Hans Hagen wrote:

> so, how about a test file ...
>

Yes we can! Here comes:

\startxmlsetups mytest
\xmlsetsetup{main}{document|p}{*}
\stopxmlsetups

\xmlregistersetup{mytest}

\startxmlsetups document
\xmlflush{#1}\par
\stopxmlsetups

\startxmlsetups p
\xmlflush{#1}\par
\stopxmlsetups
\defineXMLentity[textbar]{\textbar}
\defineXMLentity[shorta]{\buildtextaccent\textbreve a}

\startbuffer[test]
<?xml version="1.0" encoding="UTF-8"?>
<document>
<p>Hello &textbar; &shorta; World!</p>
</document>
\stopbuffer

\starttext
\xmlprocessbuffer{main}{test}{}
\stoptext


> indeed something has changed, i.e. all encoding stuff is gone, but it
> should not affect too much
>
> do you use mkii xml or mkiv xml
>
I've switched to mkiv almost exclusively, esp. for all my xml stuff.

Greets

Thomas
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to