- Matt
On 4/3/06, Keith Visco <[EMAIL PROTECTED]> wrote:
Matt,
You want to be using org.exolab.castor.types.AnyNode, not
org.exolab.castor.xml.schema.AnyType.
--Keith
Matt Secoske wrote:
> Hi Keith,
>
> I've tried your method and this method, neither work.
>
> public Object convertUponGet(Object value) {
>
> if (value == null) return null;
> try {
> String xml = (String)value;
> xml = xml.substring (xml.indexOf("\n") +1);
>
> Unmarshaller unm = new Unmarshaller(AnyType.class);
> return unm.unmarshal(new StringReader(xml));
> }
> catch(Exception ex) {
> ex.printStackTrace();
> }
> return null;
>
> }
>
--
Matt Secoske
http://blog.secosoft.net

