"Sylvain Wallez" <[EMAIL PROTECTED]> wrote: >> Unless I'm not mistaken, the above example template is _NOT_ a well formed >> XML document! :-) :-) > > Does this mean you wrote a parser to parse SAX-like events in a > non-well-formed XML document ?
Yes, I did, JavaCC is a handy tool from time to time... Better to show you some code, it's easier to show what it looks like than talking about it (NOTE, the code is still VERY VERY VERY VERY rough) To use... # ant dist # ./run.sh Experiment playing around with "example.xt" (and yes, I know that the serializer takes 4 seconds to initialize) http://www.betaversion.org/~pier/garbage-0.0.tar.bz2 Pier