Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Namespace & Attribute  RSS feed

 
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
Boost this thread!