Re: Using cursor to ierate and adding to map

2007-12-11 Thread Jacob Danner
Why don't you just do linkedHashMap.put ( item1.getSecurity() , item1.getServer() ) Or are you trying to do something else? ie, what are you trying to store in this hashmap? -jacobd On Dec 11, 2007 3:17 PM, Zapo <[EMAIL PROTECTED]> wrote: > > Greetings, > > I am trying to iterate a XML using curs

Using cursor to ierate and adding to map

2007-12-11 Thread Zapo
Greetings, I am trying to iterate a XML using cursor and then adding to MAP. The XML has repetable nodes for example https staging https baijing I have an array of TestCase objects ready, how to iterate and add to a Map or Array I tried the following way and it did not get t

newbie--override schemaorg_apache_xmlbeans prefix

2007-12-11 Thread Lucente, Richard D
Is it possible to override the default "schemaorg_apache_xmlbeans" prefix? There are multiple xbean-packaged.jars on our project. We could go through the pain of generating one for all and deconflicting, but it would be much easier if we could avoid package name overlaps. Any suggestions? --

parsing with internal DTD subset

2007-12-11 Thread Graswinckel_Ewout
Hi, I'm having some problems with internal DTD subsets in XML files. Consider this piece of XML: ]> http://www.purl.org/dc/elements/1.1/"; xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"; xmlns:xlink="http://www.w3.org/1999/xlink"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";

Re: Large xmldocuments and namespace declarations

2007-12-11 Thread knut . erik . johnsen
Thanks for your reply. The problem is that when i do a save or a toString on the responseDocument, I get the printout below (a small cutout of a complete document). As you can see, the namespaces takes a lot of the space in the document. http://xmlns.trygvesta.com/dopa/service/agreement";>