From: Andrzej J. T. <an...@ch...> - 2010-02-02 15:32:05
|
Adam: > Or you could call util:parse to convert your xs:string into a node() Funny thing is that our code actually did parse the incoming data (comes from an external file, generated by an external system) for other reasons, but the store used the string value rather than the already parsed node() value. All I can say is that this code is a few years old and hasn't been looked at in some time. That's my excuse and I'm sticking to it. ;-) I changed our application code to use the parsed node() for the xmldb:store() this morning, since it will perform better, avoiding the duplicate parsing that eXist would do. This particular routine of ours is used a lot to import data every night, so it made sense to implement this small optimization. Thanks for the comment Adam....made our code better/faster as a result! -- Andrzej Taramina Chaeron Corporation: Enterprise System Solutions http://www.chaeron.com |