Sparefroh <zwatte_at_gmx.net> wrote on 10/09/2007 10:12:09 AM:
> I have an xsd:any element in my schema and this element is mapped to a
DOM
> element.
> When I try to unmarshal an XML instance of this element, I get the DOM
> element as expected, but this DOM element has a different structure than
the
> original XML instance.
> E.g. the unmarshalled DOM has less whitespaces between elements than the
> original DOM.
> Whitespaces within elements are the same.
>
> Any ideas how to preserve these whitespaces between elements?
The only thing I can think of is to try adding the xml:space attribute to
your root element: <
http://www.w3.org/TR/REC-xml/#sec-white-space>
--
Jeremiah
P.S., :%s/\.\nE\.g\./, i.e.,
;)