XMLBeans is removing my CDATA!

2008-01-28 Thread bob bob
Here is the original data; CONFIG NAME=WORDISSUANCE LIBRARY=Word Issuance DYNAMICJAVASCRIPTALLCAPS/DYNAMICJAVASCRIPT ![CDATA[ !-- Symbol Meaning PresentationExample -- --- --- Gera

Re: How to not add namespace on save

2007-12-14 Thread bob bob
.org/2001/XMLSchema-instance;, noNamespaceSchemaLocation), Respuesta.xsd); } rdoc is and XmlObject - Mensaje original De: bob bob [EMAIL PROTECTED] Para: user@xmlbeans.apache.org Enviado: martes, 27 de noviembre, 2007 18:51:53 Asunto: Re: How to not add namespace

How to not add namespace on save

2007-11-26 Thread bob bob
I have an xml bean that I load an xml document by adding the namespace programatically (because the xml document never has it). XmlOptions validateOptions = new XmlOptions(); validateOptions.setErrorListener(validationErrors); HashMap ns = new HashMap();

2nd Post. Help! Search and Replace...Re: How to edit data in a specific part of an XMLObject

2007-08-15 Thread bob bob
Anyone? Basically I want a search and replace. I can grab the XMLObject (WIPKEYSDocument) but can't replace it with another WIPKEYSDocument. Please?! Anyone? - Original Message From: bob bob [EMAIL PROTECTED] To: user@xmlbeans.apache.org Sent: Tuesday, August 14, 2007 3:52:32 PM

Re: 2nd Post. Help! Search and Replace...Re: How to edit data in a specific part of an XMLObject

2007-08-15 Thread bob bob
it will not change the original document. You should call wipkeys[0].set(keys.getWIPKEYS()); or locate it’s parent and call parent.setWIPKEYS(keys.getWIPKEYS()) . Cezar From: bob bob [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 15, 2007 1:25 PM To: user@xmlbeans.apache.org Subject: 2nd Post

Re: 2nd Post. Help! Search and Replace...Re: How to edit data in a specific part of an XMLObject

2007-08-15 Thread bob bob
array. Otherwise if you only want to replace one at a time there are some methods for that too like insert, etc. -Jacob Danner On 8/15/07, bob bob [EMAIL PROTECTED] wrote: Thanks. But now the problem is, how do I get a reference to the parent? I thought I was getting a reference with selectPath

How to edit data in a specific part of an XMLObject

2007-08-14 Thread bob bob
I have and XMLObject node I find by using an XPath expression in my XMLObject root element (XMLINIDocument). It finds this XMLObject (there is only one instance) but I want to replace it with another one. How do I do this? ** XML DOCUMENT ** XMLINI CONFIG SERVICES SERVICE

How to parse xmlbean when XML is wrapped with bogus element

2007-08-13 Thread bob bob
I have an xsd defined and an xml bean generated from that xsd. I get an xml document I would like to load into my xml bean but it has this DOCUMENT element around the xml I want. When I remove this element it works. How do I do this programatically through XMLBeans? XML: ?xml version=1.0