Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Namespace & Attribute

 
senthil rajan
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Frnds,

I hav a doubt in NameSpace.Is Namespace support attributes?

I have seen in some documents that attributes won't support namespaces.
But in Schema enabled xml files, looks like this,
<doc erson doc:mobileNo="777">
<doc:name></doc:name>
</doc erson>


So Actually Attributes supports nameSpace or not? Pls clarify me on this,

Thanks,
Senthil.
 
Usha Hanumolu
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Senthil,

Attributes do support Namespace declarations but the Default namespace declarations donot apply to attributes.

For details check this IBM XML Certification SuccessTutorial Part - 1

Thanks,
Usha.
 
wise owen
Ranch Hand
Posts: 2023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good Summary for XML Namespace.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic