hi,
i am using XmlTextReader class to read xml from http link ,now my problem is that i want to replace the special characters(•) from xml before reading its tag, coz it is giving the error in XmlTextReader reader.Read() method.

Please suggest any solutions to this.

Thanks in advance,
Ashish

the problem is also cuming with stream reader, it is taking too much time and consuming

memery in GBs,

when i read xml through xmlreader.read, it gives error on this line.

Invalid character in the given encoding. Line 2796, position 348.

the invalid characters are in <Aboutus> tag.

the following exception i m getting on IE,

The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the

Refresh button, or try again later.


--------------------------------------------------------------------------------

An invalid character was found in text content. Error processing resource

'http://www.healthjobsusa.com/ahc-out/HJS.xml'. ...

<Aboutus>CareerStaff Unlimited, a division of Sun Healthcare Group, provides

healthcare professionals with tempor...


strange thing is that when i create a sample xml with those special characters on my http

server it is working fine, no error is there.

Is there any way to find/solve it,Please help me.......

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.