xsl-list
[Top] [All Lists]

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

2005-04-27 14:59:11

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
________________________________________________________________________

--~------------------------------------------------------------------
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>
--~--