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

Re: nested output

Subject: Re: nested output
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 21 Dec 2004 17:48:12 GMT
xii.tex
  It displays fine in my mail program as an en-dash.  I don't intend to 
  deal with tex-escaping and such; just utf-8.


You had byte 150 which is the UTF8 encoding of unicode character 150
which is a control character (and thus not even allowed in XML 1.1)
but allowed in XML1.0 but not really recommended it is
START OF GUARDED AREA
Are you sure you're not writing out in some microsoft specific encoding?


> Do you have any thoughts about the 
> best design approach to this intermediate (xhtml) representation to 
> make output transformation to other targets easiest?

Without having looked in detail at your problem, I wouldn't use xhtml as
an intermediate format. I'd use a custom format designed to exactly
express the semantics that you want to express and I'd have back ends
that go from there to xhtml or latex or wordxml or whatever. Forcing
your intermediate stage to be xhtml and hiding structure in a rather
dubious looking class attribute (is it really OK to have space separated
tokens in a css class?) just makes your non-xhtml back ends harder.


> Incidentally, I'm realizing that XSLT 2.0's unparsed-text() functions 
> and reg-exp support means that this could theoretically be extended to 
> handle TeX input documents.

If you want to amuse yourself over the holidays you could try to get a
regexp that would parse enough of tex to understand this (seasonal)
tex (plain tex not latex) document

http://www.ctan.org/tex-archive/macros/plain/contrib/xii.tex

That someone with time on his hands wrote in a former life...

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

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.