Reply to SQLDataset.WriteXml and filtering bad characters

Your name:

Reply:


Posted by JR on 06/10/06 21:25

I wrote a VB .NET program that part of it is reading from a SQL Server
2000 database and outputting data to XML. Problem is when I go to
transform the XML, from time to time, the data is bad as it contains
some of the bad XML characters like those below 0x20 ()

Below is the command I'm using to do this.

SQLDataset.WriteXml("c:\temp\output.xml", XmlWriteMode.WriteSchema)

So besides except for 0x09 (	), 0x0A (
), and 0x0D(
) is
there a way to filter out all characters under 0x20 as it writes to the
XML text file, replacing it with a space or nothing at all?

Thanks.

JR

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация