Jump to content
XSLTnewbie

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.

thanks

Share this post


Link to post
Share on other sites

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

Share this post


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.

Guest
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.

Loading...

×
×
  • Create New...