--- In xml-rpc@yahoogroups.com, John Wilson <tug@...> wrote:
> Yes, the text can be enclosed in a CDATA section:
>
> <![CDATA[ some text with < and & ]]>
>
> I'd be slightly nervous about using CDATA sections as some
> implementations of XML-RPC have used very simple code to parse the XML
> and may not be able to understand the construct.
Actually, CDATA were my next tip. Your post explained to me that XML-RPC uses
just the <string>'s node value and not everything below it. In the later case,
one would put both string (of course escaped) and/or sub-tree nodes.
> What XML-RPC implementation are you using? I would expect the
> implementation to accept and correctly substitute the < and &
> characters in string parameters.
I've just begun to play with XML-RPC, to evolve our HTTP/POST methods to
so-called "web service" ;) Since, it worked well posting simple XMLs I try to
avoid the more complicated SOAP thing. However, WSDL also required..
Thanks for your explanation!
Laszlo