Is there a way to validate xml string? thanks!

  • Thread starter Thread starter davidw
  • Start date Start date
D

davidw

I need a routine to insert user input string to xml document. I found
sometime there is some unprintable characters in input strings, like 0x02,
is there a function that can filter out those characters?

thanks
 
:) that is a quick answer, but I want to specific function which could
filter out all non-xml characters.
 
Typically you would review all data that is destined for xml for the invalid
xml characters. They are like <>& , you can find the rest anywhere. You
would then convert these characters to xml friendly.
 
Back
Top