Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: First pass at using a schema First pass at using a schemaTo: NULL Date: 1/3/2007 3:47:00 PM I am new to using XML. I am using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1. In my test I am attempting to have the style sheet: http://emle.sourceforge.net/emle020000/emle_lab.xsl transform: http://emle.sourceforge.net/emle020000/emle_lab_003.xml . The results display as I expect and look fine to me using the "DOM Inspector". I have also used CookTop V2.5 to validate the XML and to run the XSLT without apparent error. emle_lab_003.xml from above begins: <?xml version="1.0" ?> <?xml-stylesheet type="text/xsl" href="http://emle.sourceforge.net/emle020000/emle_lab.xsl"?> <emle xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="noNamespaceSchemaLocation http://emle.sourceforge.net/emle020000/emle.xsd"> I expect an error when emle_lab_003.xml does not follow what is defined in emle.xsd. I have tested this idea by changing "emle" to "emlexxx" in emle.xsd in this line: <xsd:element name="emle" type="EmleEmleType"/> What am I missing? -- C.W.Holeman II | cwhii@J... -5 | http://JulianLocals.com/cwhii To only a fraction of the human race does God give the privilege of earning one's bread doing what one would have gladly pursued free, for passion. I am very thankful. The Mythical Man-Month Epilogue/F.P.Brooks | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
