Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


First pass at using a schema

From: "C.W.Holeman II" <cwhii_google_spam@-----.--->
To: 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





transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent