xsl-list
[Top] [All Lists]

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

2005-04-28 10:47:21
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(_at_)mulberrytech(_dot_)com
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
======================================================================


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--