[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: xml->xsl->pdf

Subject: Re: xml->xsl->pdf
From: Joern Clausen <joern@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 7 Jun 2001 13:10:44 +0200
xml xsl pdf example
On Thu, Jun 07, 2001 at 10:50:28AM +0100, David Carlisle wrote:
> 
> > How do you translate certain things? E.g., what about entities like
> > '&amp;' that should appear as '\&', or escaping bare $-signs?
> 
> You could to that with a string-replace template (many variants of which
> have been posted on this list) but really there is no need.
> The "special" characters like & \ % are not really special to TeX, they
> are only special by virtue of the default catcode settings, and 
> suitable for hand authored TeX. For machine generated TeX you may as
> well just make all of these ordinary characters.

OK, let's say LaTeX instead of TeX, as Peter's original post also
indicated. I don't really want to write low level TeX, I'd like to emit
a LaTeX document, so I can use the available document classes. I guess
that applies to a lot of people who want to transform XML into something
printable via LaTeX without learning XSL-FO or plainTeX. I think there
was an example in "The LaTeX Web Companion"...

So, from

<TR>
   <TD>a &amp; b</TD>
   <TD>c &amp; d</TD>
</TR>

I'd like to generate

 a \& b & c\& d \\

inside a tabular environment. String replacement is a way to go, and
with appropriate mappings in a repository like XSLTSL for example a good
one. I just thought that an output method would make things a little bit
easier.

-- 
 Joern Clausen                                joern@xxxxxxxxxxxxxxxxxxxxxxxx
 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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.