File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: targetNamespace , xmlns
 
Similar Threads
targetNamespace,xmlns
Patterns in XML Schema - how to do it?
Patterns in XML Schema - how to do it?
why targetNamespace?
How to use elementFormDefault and attributeFormDefault?