• Post Reply Bookmark Topic Watch Topic
  • New Topic

Namespace and Schema

 
sonu arora
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how can i make it sure that my certain elements in xml document must declare the namespace for the element types. for eg:
<aa:Name>----root element
<bb:add/>
</aa:Name>
what should i write in Schema so that Name element must be in "aa" and add element should be in "bb" namespace.
plz give some code examples.
urgent help requires
thx
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!