XML: Special Character in- and output [modified]
-
Hi all, I am trying to save a list of products in a XML database. But, when I try to read the xml file (outputting goes ok, using the XMLTextWriter) I get an error message telling me that there are illegal characters in a name and that the document can't be read. What can I do about this? I am trying to save the products as follows: (I am using Visual Basic.NET - VS2005)
[Groupname] [Brandname] [Productname] [Price]3,99[/Price] [ItemID]12345[/ItemID] [Description]""[/Description] [/Productname] [/Brandname] [/Groupname]
And it is no option to not let people type special characters, since there are loads of brand- and productnames containing special characters (like é, ä, @ etc) Please help me out, :) --Zaegra--
Motivation is the key to software development.
modified on Thursday, September 11, 2008 12:50 PM
-
Hi all, I am trying to save a list of products in a XML database. But, when I try to read the xml file (outputting goes ok, using the XMLTextWriter) I get an error message telling me that there are illegal characters in a name and that the document can't be read. What can I do about this? I am trying to save the products as follows: (I am using Visual Basic.NET - VS2005)
[Groupname] [Brandname] [Productname] [Price]3,99[/Price] [ItemID]12345[/ItemID] [Description]""[/Description] [/Productname] [/Brandname] [/Groupname]
And it is no option to not let people type special characters, since there are loads of brand- and productnames containing special characters (like é, ä, @ etc) Please help me out, :) --Zaegra--
Motivation is the key to software development.
modified on Thursday, September 11, 2008 12:50 PM
Try this - check the comment written by Mark[^]
Erik Westermann - wWorkflow.net - BizTalk Consulting Services
SOA * ESB * BPI * SaaS ... forget the alphabet soup - get the main course with our consulting services!
wWorkflow.net or +1 416-809-1453