Chris,
I found this in a book and it works great for double quotes:
xtw.QuoteChar = """"c
you could try this for single quotes:
xtw.QuoteChar = "''"c
HTH...
Scott
[quoted text, click to view] "Chris" wrote:
> Hi,
>
> I'm trying to specify single-quotes to be used in xmlAttributes as follows :
>
> XmlTextWriter writer = new XmlTextWriter (filename, null);
> writer.QuoteChar = (char)39;
>
> --> but he still generates double quotes ???
>
> thnx for your help
> Chris
>
>
>
Hi,
I'm trying to specify single-quotes to be used in xmlAttributes as follows :
XmlTextWriter writer = new XmlTextWriter (filename, null);
writer.QuoteChar = (char)39;
--> but he still generates double quotes ???
thnx for your help
Chris