aspose file tools*
The moose likes XML and Related Technologies and the fly likes targetNamespace , xmlns Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "targetNamespace , xmlns" Watch "targetNamespace , xmlns" New topic
Author

targetNamespace , xmlns

rahul dighe
Ranch Hand

Joined: Apr 17, 2001
Posts: 44
xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.books.org"
xmlns="http://www.books.org"
elementFormDefault="qualified">

does the xmlns or xmlns:someprefix need to be same as the "targetNamespace" ?
if you are not prefixing the xmlns (when refering to targetNamespace) i dont' understand what purpose does it solve ?


<BR>Rahul Dighe
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: targetNamespace , xmlns