Link to home
Start Free TrialLog in
Avatar of Larry Brister
Larry BristerFlag for United States of America

asked on

Handle apostrophesn inbound xml

I have a stored procedure that accepts and processes an XML paramater being passed in.

The xml is then processed with
EXEC sp_xml_preparedocument @handle OUTPUT, @XmlDoc_Local

However...
The XML occassionally comes in with apostrophes (Bing's) and my procedure errors out.

Is there a way to modify the inbound XML to strip or handle the apostrophes?
ASKER CERTIFIED SOLUTION
Avatar of Aneesh
Aneesh
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Larry Brister

ASKER

aneeshattingal
Should I do that on the vb side?  Or with some kind of an xml.mofify in SQL
VB side.
Thanks