Thanks,
Rob.
On Wed, 2006-03-29 at 09:35 -0800, Jinyuan Zhou wrote:
I dont' have this problem. but I passed an XmlOptions with a call to opts.setSaveSuggestedPrefixes(map) to specify my choices of prefix names.
I wonder if this will give you back the prefixes.
From: Martin Wegner [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 29, 2006 9:25 AM
To: [email protected]
Subject: elementFormDefault='qualified" and xmlText
Greetings.
I have elementFormDefault="qualfied" in my schema. I am using XMLBeans 2.0. When I use the xmlText() method to serialize my XMLBeans object, the elements are not prefixed. XMLBeans correctly spits out the default namespace declaration, so it semanticaly valid XML. But I really need the elements to be prefixed directly (downstream clients are brain dead, what can you do?).
What am I missing? Thanks in advance.
--Marty
|
Rob Eger Senior Software Engineer Local Matters, Inc. 1221 Auraria Parkway Denver, CO 80204 [EMAIL PROTECTED] www.localmatters.com O 303-572-1122 x203 F 303-572-1123 |

