Groups | Blog | Home
all groups > dotnet xml > may 2004 >

dotnet xml : syntax: " or ' ?? (<?xml version="1.0")


DraguVaso
5/14/2004 12:41:19 PM
Hi,

I have a simple question regardign the syntax: do I have to need double
quotation marks or single qoutation marks in my XML?
For exemple:µ

<?xml version="1.0"
or
<?xml version='1.0'

the first one seems the 'official' way to me, but because I need to make
XML-strings in some application I'd better use there the single quotation
marks. I tested it, and it's recognized as an XML-document, but I still
wonder if it is 'legal' or not?

Thanks a lot,

Pieter

Bjoern Hoehrmann
5/14/2004 1:41:07 PM
* DraguVaso wrote in microsoft.public.dotnet.xml:
[quoted text, click to view]

Either is allowed.

[quoted text, click to view]

DraguVaso
5/14/2004 2:13:05 PM
Thanks!

[quoted text, click to view]

AddThis Social Bookmark Button