[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: library for parsing RTF

Subject: Re: library for parsing RTF
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Sun, 27 Jun 2010 22:12:31 +0100
Re:  library for parsing RTF
there is no library and it is not required:
since RTF is a textual format, you can use XSLT 2.0 regexp capabilities to parse RTF

For a language as rich as RTF, regular expressions are not going to get you all that far: they are probably only suitable for writing the lexical analyzer (or tokenizer).

Dimitre Novatchev seems to be the expert on writing parsers in XSLT. Perhaps his next project could be a parser-generator (aka compiler-compiler) - a program that takes a BNF description of the grammar you want to parse, and generates an XSLT stylesheet/library to do the parsing.

Michael Kay

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.