[xsd-users] AW: Convert a type, created by the xsd-tool,
to DOMElement type, defined in xerces
Lickert, Dominik (LEN, DivHG)
DLickert at testo.de
Tue Dec 6 04:24:48 EST 2011
Von: Boris Kolpackov [mailto:boris at codesynthesis.com]
Gesendet: Montag, 5. Dezember 2011 17:50
An: Lickert, Dominik (LEN, DivHG)
Cc: xsd-users at codesynthesis.com
Betreff: Re: Convert a type, created by the xsd-tool, to DOMElement type, defined in xerces
Lickert, Dominik (LEN, DivHG) <DLickert at testo.de> writes:
> My problem is, that I want to read out the content / NodeValue of an
> element, but there is no function in the generated code for that.
> <xsd:complexType name="Text_Type" mixed="true">
> <xsd:complexContent mixed="true">
> <xsd:extension base="TextCell_Type"/>
This type has mixed content. Please refer to the 'mixed' example for more information on how to access its content.
Tanks, I get the solution.
Now I want also to create a TEXT_NODE and add it to my Text_Type. I compared for this the DOM examples of the Xerces-Parser. But I can't call a create-function, because my DOM-pointer (document tree) hasn't this functions. My DOMNode pointer has also no create-functions.
In the example mixed there are only read-methods, but no write-methods.
Testo AG, Lenzkirch, Commercial Register Freiburg 320456 - Board of Directors: Burkart Knospe (CEO), Lothar Walleser, Martin Winkle, Dr. Jörk Hebenstreit- Supervisory board: Anne-Kathrin Deutrich (Chairperson), Klaus Fritzsching, Hartmut Herrlinger, Testo AG, Testo-Strasse 1, 79853 Lenzkirch, Germany
More information about the xsd-users