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: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Thu, 28 Apr 2005 13:47:21 -0400
Hey! I like that rendering!

It even comes through email. :-P

Cheers,
Wendell

At 05:59 PM 4/27/2005, David wrote:

>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


======================================================================
Wendell Piez                            mailto:wapiez@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================

Current Thread