[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Should XSLT be used to generate a plain text document?


Subject: Re: [xsl] Should XSLT be used to generate a plain text document?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 27 Apr 2005 22:59:11 +0100

>What makes this tricky is that by "plain text" people often mean not
>text that's very plain, but ASCII-art-like text that is plain only in
>the sense that it's free of any markup or encoding whatsoever (apart
>from the text itself) ... as always it depends on the requirements.
>
>Cheers,
>Wendell

You mean something like:

m.xml

<math xmlns="http://www.w3.org/1998/Math/MathML">
<munderover>
<mo>&#8721;</mo>
<mrow><mi>i</mi><mo>=</mo><mn>0</mn></mrow>
<mi>&#x221e;</mi>
</munderover>
<msqrt><mfrac><mn>&#x3B1;</mn><mi>i</mi></mfrac></msqrt>
</math>


$ saxon8 m.xml pmathmlascii.xsl

infinity
  ----     _____
   \      |alpha
    )   _ |-----
   /     \|  i
  ----
 i = 0


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