|
XPath to create beans: msg#00092text.xml.xmlbeans.user
Hi All, Is there any way I can use XPath with XMLBeans to create the beans. I know that there is a support to select the nodes using XPath but I could not found any thing to create the beans using XPath. I tried integrating XMLBeans and JXPath. I am specifying the XPath to get and create the beans. It works fine for following scenarios Reading the simple type data Reading the array(multiOccurance in XSD) type data Creating the simple beans. But I am facing problems while creating the Array type of beans. getXXXArray() of created XML Bean does not return output which JXPath expects. getXXXArray() method always returns a array may be blank. But JXPath expects null instead of blank array . Any one has created the beans using XPath. or achieved similar functionality Thanks Puneet __________________________________ Do you Yahoo!? Yahoo! Mail - now with 250MB free storage. Learn more. http://info.mail.yahoo.com/mail_250 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: ant task questions: 00092, Zac Jacobson |
|---|---|
| Next by Date: | How can i write   in document?: 00092, Juan Carlos Garcinuño Jiménez |
| Previous by Thread: | Memory Leak Problemsi: 00092, MV |
| Next by Thread: | Some bugs and glitches in XmlBeans: 00092, Josef Duschl |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |