I'm trying to send the following in an XML.
& lt; Request xmlns = "http://abc.org/1.1/Listener.wsdl" & gt; & Amp; Lt; Serverstatusquiry xmlns = "http://abc.org/messages" / & amp; Gt; & Lt; / Request & gt;
The problem I am facing is the text portion of the request node. I am printing the text as follows.
"serverstatusinquiry xmlns = \" http: //abc.org/messages \ "/ & gt;
But I end up with it:
& amp; Lt; Serverstatusinquiry xmlns = & amp; Quot; Http: //abc.org/messages& Quot; / & Amp; Gt;
I understand that & amp; Quot;
is for double quotation marks, is there any way I actually get the output "
& amp; quot;
what I'm doing in anything Wrong?
& amp; for
& amp; # 60; to use,
& amp; # 62;
for > (more than <), and & amp; # 34
for "
& lt; Request xmlns = "http: // abc.org/ 1.1 / listener.wsdl" & gt; & Amp; # 60; Serverstatusquiry xmlns = & amp; 34http: //abc.org/messages& # 34 / & amp; 62; & Lt;
Comments
Post a Comment