From: Andrzej J. T. <an...@ch...> - 2010-02-02 21:46:28
|
Evgeny: > I want do it too, but before storing/parsing/reading from stream we are > creating a XML or binary doc for storing content. > Just I don't see how we can do it at one time, because we parsing > directly into out stream. There is no stream...it's a string input. So doing a test parse() on it and storing as XML if the parse succeeds, and storing as binary if it fails (eg. catch the exception), is pretty trivial. I don't see what the technical problem is, at least with the xmldb:store() function. -- Andrzej Taramina Chaeron Corporation: Enterprise System Solutions http://www.chaeron.com |