Actually I dont need to render a PS file, but instead I've got to parse an
existing file and try to make sense out of it, as in, I should be able to
extract the data.
How tough would that be with XSLT and what other approach could I follow.
Right now, I'm manually reading the values enclosed in brackets()... which
is only a hack to get to the data...
kr.
---------------------------------
The will to do, the soul to dare
-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com]On Behalf Of
David
Carlisle
Sent: Monday, November 24, 2003 10:24 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] parsing post script
Guys, I require to parse a PS file. I know that its
possible to render a PS
file with XSLT, but is the reverse possible?
Thanks,
Karthikeyan.r
It would be very hard to produce any usable Postscript directly from
XSLT, and virtually impossible to read PostScript.
PostScript is a fully featured programming language. It is no doubt
theoretically possible to write a PostScript interpreter in XSLT, but
it would be thousands of lines of code, and rather slow, compared to
using a real postscript interpreter as built in to a
PS printer, or an emulator such as ghostscript.
David
--
http://www.dcarlisle.demon.co.uk/matthew
______________________________________________________________
__________
This e-mail has been scanned for all viruses by Star Internet. 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
DISCLAIMER: This email is bound by the terms and conditions described at
http://www.subexgroup.com/mail-disclaimer.htm
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list