This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: xml->xsl->pdf



Hi!

> I do this when I need better quality formatting or a higher
> level or automation than current FO applications provide. I
> transform XML to LaTeX using a text-mode XSLT file, and then run
> pdfLaTeX on the output.

How do you translate certain things? E.g., what about entities like
'&' that should appear as '\&', or escaping bare $-signs?

> 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?

-- 
 Joern Clausen                                joern@TechFak.Uni-Bielefeld.DE
 Faculty of Technology           http://www.TechFak.Uni-Bielefeld.DE/~joern/
 Bielefeld University, Germany                           +49 (0)521/106-2905

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]