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
1answer
2k views

Listings package does not break

The following code does not break even though the breaklines and breakatwhitespace is set: \lstset{ language=XML, numbers=left, numberstyle=\tiny\color{gray}, stepnumber=1, ...
13
votes
6answers
2k views

Is there some typesetting system that uses XML notation?

Is there some typesetting system that uses XML for notation? This is no offense, but I don't like to type \emph{This \emph{text} is important} despite the fact that there are editors that can do it ...
6
votes
1answer
4k views

Including XML file into LaTeX

I am using LaTeX for very first time and have very basic knowledge about it. I am using the template from here to write my thesis. I am using Ubuntu 12.04. When I try to include a small XML file in ...
4
votes
1answer
504 views

How to escape xml code?

How to escape this kind of expression and make in typewritter font? I added $ dollars to both ends, it did work - warnings dissapear. But text became italic of unknown font and it doesn't jump on ...
1
vote
1answer
938 views

Hightlight an XML code beamer

To hightlight an XML code I have refer to XML syntax highlighting, so I write: \documentclass[10pt]{beamer} \usepackage{listings} \usepackage{color} \definecolor{gray}{rgb}{0.4,0.4,0.4} ...
5
votes
1answer
1k views

Someone knows a xml2tex converter?

I've already Googled it, without concrete success. So, I'd like to know if someone knows a converter from XML to TeX. Something "simple" as latex2rtf.
1
vote
2answers
382 views

Import elements of XML-Files in LyX/Latex

I have a software which creates XML-Files with a structure looking like this: <model> <dims> <dim type="attr" name="foo"> <def>Insert Definition of the Dimension ...
15
votes
1answer
380 views

Leveraging a dynamic preamble to generate multiple output formats

Background The diagram below shows an architecture for generating books using a dynamic preamble. The top part of the image shows the database relations between a book theme and its preamble. The top ...
4
votes
1answer
217 views

Install plasTeX on Windows 7

PlasTeX is a free, open-source tool to process (La)TeX files and convert them to xHTML by default, but also docbook, text, and others. It is fully customizable. How do I install plasTeX on Windows ...
3
votes
0answers
59 views

xmltex more attributes in element

I am just working on my graduating thesis, when I making a new latex style for typesetting legal XML documents. I have my new latex style, which is overworked [article] with new commands and source ...
0
votes
1answer
74 views

Including both XML code and Java code in a document using lstlisting package

I am writing a document which has both java and xml codes, I managed to highlight my java code but unfortunately I was unable to do the same with xml, so far I have tried more than one way either by ...
0
votes
1answer
298 views

Any tricks for using the currvita style with tex4ht?

TeX4ht doesn't quite understand the currvita style's cvlist environment. It appears that cvlist takes the heading as an argument, typesets this heading into an \sbox, and uses the sbox inside the ...