XML (Extensible Markup Language) is a set of rules for encoding documents in machine-readable form. It is defined in the XML 1.0 Specification produced by the W3C, and several other related specifications, all gratis open standards.

learn more… | top users | synonyms

34
votes
5answers
26k views

XML syntax highlighting

I use the following code to include some XML code: \lstset{language=XML} \begin{lstlisting} <?xml version="1.0" encoding="utf-8"?> <xs:schema attributeFormDefault="unqualified" ...
10
votes
2answers
3k views

Breaking long lines using latex with minted and pygments

Since Acrobat obviously isn't able to convert XML to PDF from command line, I'm trying to achieve it using LaTeX. I found the minted package doing a quite good (and simple) job since it uses pygments ...
8
votes
1answer
288 views

ConTeXt mkIV and XML: how do you define a self-closing tag with no content to pass?

I am using TEI Lite, and trying to typeset with ConTeXt. TEI Lite defines <divGen type='toc' /> to signal the Table of Contents, which in ConTeXt is \completecontents Now I am trying this: ...
6
votes
2answers
318 views

ConTeXt style/environment files for setting TEI?

Is there a repository of styles for typesetting XML, specifically TEI XML markup, using ConTeXt? I've been googling now for a week or so trying to dig up as much information as possible about ...