|Creating XSDAnnotations [message #582997]
||Mon, 19 January 2004 17:05
Originally posted by: floodg.uk.ibm.com|
trying to create an XSDAnnotation for an XSDFacet. Can't understand why the
following code doesn't do the job!
XSDAnnotation annotation = XSDFactory.eINSTANCE.createXSDAnnotation();
Element element =
Node node = element.getOwnerDocument().createTextNode("some text");
I've also tried element.setNodeValue("some text") but that doesn't work
either. My output contains no annotation node at all.
And ideas or sample code would be greatly appreciated!
Powered by FUDForum
. Page generated in 0.04025 seconds