-----Original Message----- From: Stephen Bash [mailto:[EMAIL PROTECTED] Sent: Thu 10/6/2005 6:13 AM To: [email protected] Subject: Re: [castor-user] JDOM/DOM Node as Field? > Alex- > > I did some quick tests this morning, and using a CustomFieldHandler > (http://castor.codehaus.org/xml-fieldhandlers.html) I was able to > "marshal" and "unmarshal" a DOM node, but as has been discussed on the > list before, Castor performs entity replacement (lots of > <) so > it doesn't look exactly how one would expect. I haven't been following > the arbitrary XML discussion very closely, but that may be the larger > challenge in this case. That's not quite what I'm looking for but that is encouraging. I really need to have markup like: <x:description xmlns="http://www.w3.org/1999/xhtml"> <p>A paragraph with a <a href="http://www.w3.org/">link</a>.</p> </x:description> unmarshal into a DOM Element whose name is [x:]description and have the element and text children be elements or text nodes respectively. Basically, I'm trying tell castor that I just want a subtree of XML (no data binding) for certain elements because I want to manipulate them directly as XML. --Alex Milowski ------------------------------------------------- If you wish to unsubscribe from this list, please send an empty message to the following address: [EMAIL PROTECTED] -------------------------------------------------
------------------------------------------------- If you wish to unsubscribe from this list, please send an empty message to the following address: [EMAIL PROTECTED] -------------------------------------------------

