Hi!
Thanks a lot for the reply, I was beginning to think I was going a bit nuts. The double </tracks> tag is just from me deleting out comments to make my post here shorter and leaving that by mistake, in the actual code it only exists once. Glad to hear that it's not my code which is at fault. Are there any better validation tools out there (either software or online) which do allow multiple schemas?
Nevertheless,...
User Profile
Collapse
-
filmstore.xsd
...Code:<?xml version="1.0" encoding="iso-8859-1" ?> <xs:schema targetNamespace="http://www.carlpaynephotography.com/dvdcatalog" xmlns:xml="http://www.w3.org/XML/1998/namespace" xmlns:dvd="http://www.carlpaynephotography.com/dvdcatalog" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
Leave a comment:
-
The XML for cdcatalog.xml and film_store.xml is identical to the above, the schemas for each are:
cdcatalog.xsd
...Code:<?xml version="1.0" encoding="iso-8859-1" ?> <xs:schema targetNamespace="http://www.carlpaynephotography.com/cdcatalog" xmlns:xml="http://www.w3.org/XML/1998/namespace" xmlns:cd="http://www.carlpaynephotography.com/cdcatalog"
Leave a comment:
-
carlpayne1984 started a topic Importing schemas: Cannot resolve the name to a(n) 'element declarationin XMLImporting schemas: Cannot resolve the name to a(n) 'element declaration
Hi all,
I'm fairly new to XML, however already I have studied myself stupid without being able to solve this problem. Basically, I have an XML file/Schema about a CD catalog that I've created that I want to combine with an XML/Schema that a friend has created. Both XML files/Schema validate individually.
Now comes the tricky part, combining them. I've created a new XML file and schema, called catalog.xml and catalog.xsd....
No activity results to display
Show More
Leave a comment: