White space

Results 1 to 2 of 2

Thread: White space

  1. #1
    Join Date
    Dec 1969

    Default White space

    Why am i getting this error?<BR><BR>Whitespace is not allowed at this location. Error processing resource &#039;http://www.dev.com/xml/ifa.asp?postcode=CF31&#039;. Line 124, Position 15<BR><BR>It is referring to the line:<BR><BR>Response.write " &#060;company&#062;" &VBCrLf<BR>Response.write " " & Company &VBCrLf<BR>Response.write " &#060;/company&#062;" &VBCrLf<BR><BR>In my code. It&#039;s an XML file and<BR><BR>Company="PACKER &#38 CROSBY"<BR><BR>I used<BR><BR>Company=Replace(RSifa("Company"), "&", "&#38")<BR><BR>But am still getting the problem. Any ideas?<BR><BR><BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default Amp...

    You need to replace the "&" with a "&amp;". The "&" character is reserved in XML.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts