Hello, An XML Name cannot begin with a number. From the XML 1.0 Specs at http://www.w3.org/TR/2006/REC-xml-20060816/ (or see the formal definition at http://www.w3.org/TR/2006/REC-xml-20060816/#IDANQDS or in the off-chance you are trying to use XML 1.1, at http://www.w3.org/TR/2006/REC-xml11-20060816/#IDAKUDS ): A Name is a token beginning with a letter or one of a few punctuation characters, and continuing with letters, digits, hyphens, underscores, colons, or full stops, together known as name characters.] Names beginning with the string "best wishes, Brett Senthil Nathan wrote: 587d37680709052308w6f0b590bp90e2ffb5e7b0e8f4@mail.gmail.com" type="cite">Hi, This is a very basic question on defining xml tags. I'm not sure if this is the right forum to ask. Anyway, <1-1>data</1-1> Is this not the proper syntax for xml tags as per the XML standards. I could parse the xml tags <if1-1>data</if1-1>, but not the previous one. I would like to know about this. Thanks Senthil _______________________________________________________________________ XML-DEV is a publicly archived, unmoderated list hosted by OASIS to support XML implementation and development. To minimize spam in the archives, you must subscribe before posting. [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/ Or unsubscribe: xml-dev-unsubscribe@lists.xml.org subscribe: xml-dev-subscribe@lists.xml.org List archive: http://lists.xml.org/archives/xml-dev/ List Guidelines: http://www.oasis-open.org/maillists/guidelines.php |