I am needing to create a CDATA element, but I am having no luck and I can't 
find a good example.

The contents will always be 10 characters, padded with right spaces if needed.

Here is an example of what needs to be created:
 <Key><![CDATA[ABCDE12345]]></Key>

Here is the path I was heading down:
XmlOptions options = new XmlOptions();
... (I'm not sure what these should be)
XmlString xml = XmlString.Factory.newInstance(options);
 xml.setStringValue("ABCDE12345");
node.setKey(xml.getStringValue());

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to