[
Lists Home |
Date Index |
Thread Index
]
* david.lyon@computergrid.net <david.lyon@computergrid.net> [2005-01-19 00:59]:
> Alan,
>
> > The word diff scares me.
>
> Don't be scared... they can't hurt you..
>
> > One obvious extension for XPattern is subsitutions. But it
> > implies streaming the file, which doesn't seem to make sense in
> > this case.
> What do you mean exactly by 'streaming the file'?
XPattern is suppsosed to match patterns in streaming XML, and I
suspect it will have a facility for tranformation of streaming
XML as well, but we're discussing that.
I feel we are simply discussing a regular expression language.
You could use XPattern to match changes, and feed the change to
an application specific engine that performs an update on the
XML document that acts as an inventory database.
But, the stream is a stream of changes, and I'm thinking about
how to change, or interpret, a stream.
> being streamed in that it is being transmitted in a stream
> (a tcp/ip link) and comes in that way line by line.
I also, tend to write programs that use such streams as drivers
for modifications of XML documents.
> > ... and if XQuery supports an update,
> > insert, delete syntax. Something like that is more along the
> > lines of what you need.
> I guess I would like a language that works on the underlying
> static (stored) document, but is able to cope with the events
> that arrive from the outside world for it. It would be like
> a language for dynamic document handling. This kind of modus
> operandi is a very common thing in the business world.
Yeah, that's sounding like what XUpdate was supposed to be.
--
Alan Gutierrez - alan@engrm.com
|