Jump to content

need help understanding xml namespace

Recommended Posts

I just found out that a child element may refer to different namesace than their parent's namespace. How is this possible? even crazier, the attributes can also have their own namespace and what a shocker, their namesapce may also differ from the attribute's owning element's namespace. is there a sample case where such confusing feature is useful?

I've been scratching my head on this problem for days. Really need some help in this.


Link to post
Share on other sites
  • 4 months later...

You can defind a default namespace by xmlns="uri"Yes, attribute, child element, and even halfway through the document can have different namespace.I myself is below novice rank in this art, but am constantly studying.Read up on namespace, the Internet is full of resoruce. Tutorials are good for getting your feet wet, but that's all it's good for.

Edited by L8V2L
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...