C
cartoper
XML, Schemas, and XSLT has been part of my life for a number of years
now, but I have always used it in desktop application where I simply
make the noNamespaceSchemaLocation attribute the name of the schema
because it is going to reside in the same location as the xml file.
I am now working on a project that is a bit more complex. Again part
is a desktop application which will not have access to the Internet all
the time, but another part of the project does have access to the
Internet. It is my understanding that within the XML, it is possible
to provide a URL as the namespace name.
How exactly do I go about setting up the XML so that when it is
validated on the desktop application, I can simply provide the schema
like I always have and then on the web it uses the URL as the source.
I don't think my question makes any sense. What I am really looking
for is a good tutorial on just namespaces and how they work. Any
suggestions?
now, but I have always used it in desktop application where I simply
make the noNamespaceSchemaLocation attribute the name of the schema
because it is going to reside in the same location as the xml file.
I am now working on a project that is a bit more complex. Again part
is a desktop application which will not have access to the Internet all
the time, but another part of the project does have access to the
Internet. It is my understanding that within the XML, it is possible
to provide a URL as the namespace name.
How exactly do I go about setting up the XML so that when it is
validated on the desktop application, I can simply provide the schema
like I always have and then on the web it uses the URL as the source.
I don't think my question makes any sense. What I am really looking
for is a good tutorial on just namespaces and how they work. Any
suggestions?