Re: [xsl] xml->xsl->pdf

Subject: Re: [xsl] xml->xsl->pdf
From: Sebastian Rahtz <sebastian.rahtz@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 7 Jun 2001 10:36:01 +0100
Joern Clausen writes:
 > How do you translate certain things? E.g., what about entities like
 > '&amp;' that should appear as '\&', or escaping bare $-signs?

fix that at the TeX level, by using catcodes.

 > > What I'd _like_ is a latex-mode for XSLT, which would accept 
 > > literal-result templates in XML syntax and emit LaTeX source, eg
 > > 
 > > <xsl:template match="div2/head">
 > >   <subsection/>
 > >     <xsl:apply-templates/>
 > > </xsl:template>
 > 
 > How about an <xsl:output method="TeX"/> for a start?

unnecessary. there are several TeX setups which can read XML
natively. forget Knuth's vile input syntax, and parse <subsection/>
directly (though what that means in TeX terms, I know no. \subsection{}?)

sebastian


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread