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 4 1202
Replace(string, oldChar, newChar)
"davidw" <da****@affinisys.com> wrote in message
news:e%****************@TK2MSFTNGP10.phx.gbl... 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.
"Scott M." <s-***@BADSPAMsnet.net> wrote in message
news:%2****************@tk2msftngp13.phx.gbl... Replace(string, oldChar, newChar)
"davidw" <da****@affinisys.com> wrote in message news:e%****************@TK2MSFTNGP10.phx.gbl... 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
You'll need to be more specific since XML can have almost any character in
it.
"davidw" <da****@affinisys.com> wrote in message
news:ua*************@TK2MSFTNGP11.phx.gbl... :) that is a quick answer, but I want to specific function which could filter out all non-xml characters.
"Scott M." <s-***@BADSPAMsnet.net> wrote in message news:%2****************@tk2msftngp13.phx.gbl... Replace(string, oldChar, newChar)
"davidw" <da****@affinisys.com> wrote in message news:e%****************@TK2MSFTNGP10.phx.gbl... 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
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.
"davidw" <da****@affinisys.com> wrote in message
news:e%****************@TK2MSFTNGP10.phx.gbl... 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
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: aevans1108 |
last post by:
Greetings All
If this is the wrong place to post this question, please give me a push
in the right direction. Thanks.
I know there has to be a simpler way to do this, but this is as simple
a...
|
by: SHC |
last post by:
Hi all,
I have a VC++ .NET 2003 - Windows XP Pro PC. I created a Win32 console
application in my VC++ .NET 2003 and copied validateDOM.cpp, books.xml and
books.xsd (see the attached files below)...
|
by: Ali-R |
last post by:
Hi all,
I am getting a CSV file like this from our client:
"C1","2","12344","Mr","John","Chan","05/07/1976".........
I need to validate **each filed value** against a set of rules ,for...
|
by: Martin |
last post by:
Hi,
I am implemeting a form in asp.net.
The form is quite large and the validation is reasonably complex, so I have
decieded to implement my own validation rather than use any custon...
|
by: Jonny |
last post by:
Hi,
I'm trying to validate my xml against a xsd but I can't get it to work.
Originally, I wanted to validate an xml string but since I didn't get that
to work I tried to validate an xml file...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |