- From: Costas Mantratzis <cmantrat@ics.mq.edu.au>
- Date: Tue, 3 May 2005 03:02:58 +1000
- To: "'Danny Ayers'" <danny.ayers@gmail.com>
- Cc: <semantic-web@w3.org>
Thanks Danny! Most useful links! A relaxer of some sort is what I had in mind too (I think I'm half way through writing a crude version of one anyway...) Cheers for your quick help, Costas > -----Original Message----- > From: Danny Ayers [mailto:danny.ayers@gmail.com] > Sent: 03 May 2005 02:50 AM > To: Costas Mantratzis > Cc: semantic-web@w3.org; www-rdf-interest@w3.org > Subject: Re: Finding syntactically-related children and > parent Elements in XHTML. > > On 5/2/05, Costas Mantratzis <cmantrat@ics.mq.edu.au> wrote: > > > > Hello everyone. > > > > Just picking your brains on something you might have come > across while > > playing with JDOM, JTidy or similar components... > > > > I'm trying to get my algorithm to understand which elements are > > syntactically directly related to their parents in an XHTML > structure. > > If I remember correctly, John Cowan's Tag Soup parser [1] does > something like this to fix up ill-formed (X)HTML. You may also find > the Relax NG approach to schemas useful, Relaxer [2] and Trang [3] > being fun tools in that space. > > Cheers, > Danny. > > [1] http://mercury.ccil.org/~cowan/XML/tagsoup/ > [2] http://www.xml.com/pub/a/2003/02/19/relaxer.html > [3] http://www.thaiopensource.com/relaxng/trang.html > > -- > > http://dannyayers.com > > __________________________ http://www.groovy100.com/
Received on Monday, 2 May 2005 17:02:51 UTC