TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
vamshedhar
NA
8
0
NonValidXmlCharecters
Nov 30 2010 1:16 PM
How to Pass NonValidXmlCharecters in biztalkserver?
Here iam using scripting functiod to pass NonValidXmlCharecters
In scipting functiod Iam using inline c#:
belo following code i have written
public String stripNonValidXMLCharacters(String in)
{
StringBuilder out = new StringBuilder();
char current;
if (in == null || ("".equals(in))) return "";
for (int i = 0; i < in.length(); i++)
{
current = in[i];
if ((current == 0x9) ||
(current == 0xA) ||
(current == 0xD) ||
((current >= 0x20) && (current <= 0xD7FF)) ||
((current >= 0xE000) && (current <= 0xFFFD)) ||
((current >= 0x10000) && (current <= 0x10FFFF)))
out.append(current);
}
return out.toString();
}
Iam Sending this data as a input :"dsdfjhdskjjdkldskjd",hdjgshsg#*jhj%@&"
Reply
Answers (
0
)
Hi friends .. i need help
How to import excel and foxpro (.dbf) files into Datagrid using c #?