|
-
February 11th, 2003, 05:46 AM
#1
problem with the "&" sign
Hi all,
i have this script :
<Send>
<URL>https://192.116.241.189/cgi-bin/cgimain</URL>
<PostData>&</PostData>
<TargetName>"g"</TargetName>
</Send>
and i'm trying to read the XML file from visual basic
and i'm getting error because of the "&" sign in the
<PostData> tag.
what should i do to fix it ?
P.S
when i put some other string in the <PostData> tag
it works fine.
-
February 11th, 2003, 06:17 AM
#2
Many times it has to do with the control sign effect. Try passing
&
and see what happens. When it gets to the other side it should be read as the value & and not the potential control sign.
-
February 11th, 2003, 02:07 PM
#3
'&' is an illegal xml character, since it is used to signify an entity. Instead, replace it with it's respective entity, &amp;.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|