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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×