Setting values to <s:any/> with XMLObject

Christopher Cheng <[email protected]>
Newsgroups gmane.text.xml.xmlbeans.user
Message-ID <[email protected]>
One of my XSD document have <s:any/> as a type. If I have a XMLObject
constructed, how could I set it?

<s:element maxOccurs="1" minOccurs="0" name="Request">
       <s:complexType>
        <s:sequence>
         <s:any/>
        </s:sequence>
       </s:complexType>
</s:element>

This doesn't seem to work...

Request request = Request.Factory.newInstance();
request.set(anotherXmlObject);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.