Re: Serializing an entity. I want a string property to come out as XML
- From: Martin Honnen <mahotrash@xxxxxxxx>
- Date: Wed, 30 Jan 2008 16:42:50 +0100
Mike wrote:
How do I tell it to force it as XML? The only way I could do it was by making it return an xmlement, then in the GET: instantiate a new xmldocument, make a new element, then populate that element innerxml with string xml.
Seems too ugly. Whats the right way??
I don't think there is a better way, XmlElement is what you need and unfortunately to create one you need an XmlDocument too.
--
Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
.
- Follow-Ups:
- Re: Serializing an entity. I want a string property to come out as XML
- From: Martin Honnen
- Re: Serializing an entity. I want a string property to come out as XML
- Prev by Date: A7Soft announced JExamXML release
- Next by Date: Re: Serializing an entity. I want a string property to come out as XML
- Previous by thread: A7Soft announced JExamXML release
- Next by thread: Re: Serializing an entity. I want a string property to come out as XML
- Index(es):
Loading