Hi,

I have a problem un/marshaling the following:

<books>
        <book.name>
                <sample.element attr1=value1 attr2=value2>some 
value</sample.element>xyz,
                <sample.element attr1=value1 attr2=value2>some 
value</sample.element>abc
        </book.name>
</books>

the sample.element element are added when required depending on a business rule,
If we do not have the sample.elements then we get the correct o/p i.e as follows

<books>
        <book.name>
                xyz, 
                abc
        </book.name>
</books>

but when we are using converter, we get the following o/p where we do not have
the text xyz and abc as follows:

<books>
        <book.name>
                <sample.element attr1=value1 attr2=value2>some 
value</sample.element>
                <sample.element attr1=value1 attr2=value2>some 
value</sample.element>
        </book.name>
</books>

what do we need to do in retain all info?

We are using jdk 6, spring and xstream.

Any clues or solution provided is much appreciated.

Thanks in advance.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to