Hey.

I am currently developing a software under java to query data from exist and put the results into XMLBeans.

my collection consits of 1 document. this document has some xsi:type attributes. (for example ContentCollectionType)

I'm using the xml:db api through java and I'm getting the result as XMLResource. (i inserted the needed namespaces in the XPathQueryService before) Then i convert this into a DOM-Node (getMemebers as Dom) and parse the DOM Node into a XMLObject. With a XMLCursor i go to the first Element after the exist result element, call getObject(), getDomNode() and parse it again into a XMLObject. This XMLObject i assign to the apropriate Beans-Type. For some types it works, but not for the Elements with the xsi:type attributes.

Does somebody know why this could be, or how i can do this better and easier? I hope there is somebody who can help me,

regards

Klaus

regards

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to