[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] text to xml conversion
- From: Dimitre Novatchev <dnovatchev@gmail.com>
- To: ycao5@scs.carleton.ca
- Date: Wed, 3 Jun 2009 06:27:11 -0700
There is a compiler-compiler-type system: the LR-Parsing Framework of
FXSL. It uses a slightly modified YACC to produce the set of rules and
LR parsing tables in XML. These are used by a general LR parser
written entirely in XSLT.
An example of the use of this component is the json-document()
function in FXSL. Another example (not publicly available) is a parser
for XPath 2.0.
http://fxsl.cvs.sourceforge.net/viewvc/fxsl/fxsl-xslt2/f/func-lrParse.xsl?view=markup&sortby=date
http://fxsl.cvs.sourceforge.net/viewvc/fxsl/fxsl-xslt2/f/func-json-document.xsl?revision=1.10&view=markup&sortby=date
--
Cheers,
Dimitre Novatchev
---------------------------------------
Truly great madness cannot be achieved without significant intelligence.
---------------------------------------
To invent, you need a good imagination and a pile of junk
-------------------------------------
Never fight an inanimate object
-------------------------------------
You've achieved success in your field when you don't know whether what
you're doing is work or play
On Mon, Jun 1, 2009 at 12:52 PM, <ycao5@scs.carleton.ca> wrote:
>
> Hello everyone,
>
> I want to ask one question about covering text to xml file. Is there any
> way to attach a schema to a text document and parse it into xml according
> the rules defined in the schema? Can I find such kind a tool, otherwise I
> plan to write one myself. Please give me some references. Thanks.
>
> Yang
>
>
>
>
>
>
> _______________________________________________________________________
>
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
>
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
> subscribe: xml-dev-subscribe@lists.xml.org
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>
>
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]