Hi!

> On Wed, Sep 03, 2003 at 09:49:40PM +0200, Simon Pepping wrote:
> > >
> > > Meybe someone knowns how to 'translate' verbatim environments for XML
code?
> > > I mean how to define environment which I can use in this way [......]

> > There are no verbatim environments in XML, and you cannot get literal
> > content. Instead, you can have tags, like your verbatim above, that
> > request line-oriented layout. programlisting is such a tag in Docbook.

> That's correct with respect to elements--since XML deliberately avoids
> defining semantics for any element.  But you seem to be overlooking
> CDATA sections, which are more-or-less verbatim environments. The XML
> spec doesn't directly address the question of formatting in CDATA
> sections, but all characters are supposed to be output literally, and
> AFAIK that includes white space--hence all formatting should be
> preserved.
>
> But I don't know if ConTeXt can handle CDATA sections. Can it?

Good question! As far as I'm concerned (but I'm not concerned far...)
ConTeXt can handle some 'metadata'
like <!ENTITY...>. But I don't know exaclty which levels of XML syntax is
handled with ConTeXt core.
I hope Hans will provide some workshops :)


Regards, Pawel


_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to