Hi Toby,

It sounds like this should be easy to do using the existing XMLS code. There's a
dom4j adapter which handles writing a document to the output stream, so all your
Strategy should need to do is create an instance of the adapter and use it for
output or input.

Let me know when you have the persistence API working, it sounds interesting. I've
been thinking along these lines, too.

  - Dennis

[EMAIL PROTECTED] wrote:

> Hi Dennis,
>
> I begun to implement a persistence API for a couple of weeks with applies
> the Memento Pattern and the Strategy Pattern. I used the XMLDB API to implement
> it. The persistence API is not stable right now, I have to refactor it a bit
> and test it. But it seems to work. I'd like to implement a XMLSStrategy as
> well. What do you think about this. The API will be easy to use, because you
> create a Memento by submitting a Document or a Node and a SystemId and
> returing the Memento later by using the systemId.
>
> What would you think about this?
>
> Bye
>
> Toby
>
> --
> GMX - Die Kommunikationsplattform im Internet.
> http://www.gmx.net


_______________________________________________
dom4j-dev mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-dev

Reply via email to