|
blank namespace: msg#00037text.xml.xmlbeans.user
Hi, I have an XMLBeans based program for generating XML output. XML output looks as below: <req:getEquityAccountDetail> <accountNumber> <bank>651</bank> <branch>651</branch> <customer>0444650</customer> <loan>0001</loan> </accountNumber> <productCode>LCA</productCode> ----------- When I modify my code to filter out req namespace prefix by doing the following. XmlOptions op = new XmlOptions(); HashMap m=new HashMap(); m.put("","http://service.wellsfargo.com/req/"); //namespace uri for req opts.setSaveImplicitNamespaces(m); ----------------------------------------------------------- I am getting output as follows, which has unwanted blank namespace references for accountNumber and ProductCode. What should I do to get rid of these namespace references ? Why is it putting the blank namespace references ? <getEquityAccountDetail> <accountNumber xmlns=""> <bank>651</bank> <branch>651</branch> <customer>0444650</customer> <loan>0001</loan> </accountNumber> <productCode xmlns="">LCA</productCode> You help is highly appreicated. Thanks -- View this message in context: http://www.nabble.com/blank-namespace-tf2681769.html#a7480162 Sent from the Xml Beans - User mailing list archive at Nabble.com. |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: XPath problem: 00037, Webber, David \(NIH/OD\) [C] |
|---|---|
| Next by Date: | RE: XPath problem: 00037, Radu Preotiuc-Pietro |
| Previous by Thread: | XPath problemi: 00037, Iveland, Espen |
| Next by Thread: | Re: blank namespace: 00037, gopi.rcr |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |