[gnome-db]Re: XML Queries



On Mon, 19 Feb 2001 Malerba_Vivien stna dgac fr wrote:

> I plan to document it but for now the easiest thing you could do is
> ask Gerhard about the DTD details since he wrote most if not all of
> it.

I'll send a documented version to Gerhard once I have it ready.

> > > * Pau has an awk parser to have the reverse path (from SQL to create
> > > XML) that is based on the old xml-query.dtd in CVS
> >
> > It works now with the latest DTD, only the create part, but it's very
> > precarious, without error checking. It works in simple cases as mysql
> > dumps :) Not bad to start working without having to retype the whole DDL
> > again. It also underdtands the foreign keys. I'll extend it in the coming
> > weeks but meanwhile if somebody needs it, just drop me an email.

> This is a nice and usefull piece of software, but I wondered if it
> would not be easier to use a parser (lex/yacc) to do the job (and
> maybe start from the MySql or Postgres ones) rather than awk; I
> believe that as you introduce more functionnalities, it will grow to a
> point where it is difficult to maintain (from my own experiences with
> awk anyway).

Yes, I plan to redo it with lexx/yacc once I finish a few things I'm now
working on. It's enough for me now but obviously not to integrate it in
the project.

Pau





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]