|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Special Characters(&,etc..) in a string between xml tagsI have a xml open and close tag <abc> </abc>. I assign a string variable to
this tag. <abc> & NAT & </abc> . The value of the variable NAT = Cal&FLo. But due to the presence of the ampersand. There is an exception. What do I need to do to display & nd other special chracters correctly in xml tags. "NAT" <N**@discussions.microsoft.com> schrieb: "&" -> "&".>I have a xml open and close tag <abc> </abc>. I assign a string variable to > this tag. <abc> & NAT & </abc> . The value of the variable NAT = Cal&FLo. > But > due to the presence of the ampersand. There is an exception. What do I > need > to do to display & nd other special chracters correctly in xml tags. <URL:http://groups.google.de/group/microsoft.public.de.german.entwickler.dotnet.vb/browse_frm/thread/43752abd5ca5b1de/aa4cfc5ab26203d8> -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> "NAT" <N**@discussions.microsoft.com> wrote in message See if this helps...news:4760C26A-ECE6-42CF-A72D-187135FD37ED@microsoft.com... > I have a xml open and close tag <abc> </abc>. I assign a string variable to > this tag. <abc> & NAT & </abc> . The value of the variable NAT = Cal&FLo. But > due to the presence of the ampersand. There is an exception. What do I need > to do to display & nd other special chracters correctly in xml tags. http://www.w3.org/TR/xhtml1/ See: Section C.12 - Using Ampersands in Attribute Values (and Elsewhere) ....or, for the impatient, try using & instead of the ampersand character.
What is an assembly?
silly, probably meaninigless question DEBUG: can we disable try/catch ? Microsoft (R) Visual Basic Compiler has encountered a problem and needs to close. :o( Programmable LEGO blocks? How to ping an IP address by using sockets in Visual Basic .NET No accessible overloaded Disabling the Form Designer Anyone can help me?£¬How to Convert C# to VB.NET, about Flood Fill Can WinCE & Pocket PC support the "AsyncCallback"? |
|||||||||||||||||||||||