Transforming XML file: NeuroMLFiles/Schemata/v1.8.1/Level1/NeuroML_Level1_v1.8.1.xsd
using XSL file:
NeuroMLFiles/Schemata/XSDtoRNG.xsl
View original file before transform
|
Converting the file: NeuroML_Level1_v1.8.1.xsd
<?xml version="1.0" encoding="UTF-8"?>
<!--
The main NeuroML Level 1 Schema file
This schema specifies that only MorphML.xsd and Metadata.xsd are used in Level1
Funding for this work has been received from the Medical Research Council and the
Wellcome Trust. This file was initially developed as part of the neuroConstruct project
Author: Padraig Gleeson
Copyright 2009 University College London
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
-->
<rng:grammar xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:mml="http://morphml.org/morphml/schema" xmlns:meta="http://morphml.org/metadata/schema" xmlns="http://morphml.org/neuroml/schema" ns="http://morphml.org/neuroml/schema" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
<rng:include href="../Level1/MorphML_v1.8.1.rng" ns="http://morphml.org/morphml/schema"/>
<rng:include href="../Level1/Metadata_v1.8.1.rng" ns="http://morphml.org/metadata/schema"/>
<rng:start combine="choice">
<rng:ref name="neuroml"/>
</rng:start>
<rng:define combine="choice" name="neuroml">
<rng:element name="neuroml">
<rng:ref name="NeuroMLLevel1"/>
<a:documentation>
The root NeuroML element.
</a:documentation>
</rng:element>
</rng:define>
<rng:define combine="choice" name="NeuroMLLevel1">
<a:documentation>
Description of cells compliant to NeuroML Level1.
</a:documentation>
<rng:ref name="metadata"/>
<rng:ref name="referencedata"/>
<rng:optional>
<rng:element name="cells">
<a:documentation>
Collection of all Level 1 cells.
</a:documentation>
<rng:oneOrMore>
<rng:element name="cell">
<rng:ref name="Cell"/>
<a:documentation>
A single cell specified in MorphML
</a:documentation>
</rng:element>
</rng:oneOrMore>
</rng:element>
</rng:optional>
<rng:optional>
<rng:attribute name="name">
<rng:data type="string"/>
</rng:attribute>
</rng:optional>
<rng:optional>
<rng:attribute name="lengthUnits">
<rng:ref name="LengthUnits"/>
<a:documentation>
Unit of all length measurements. Usually has the value <b>micrometer</b>. Note: length_units will be the preferred form in v2.0
</a:documentation>
</rng:attribute>
</rng:optional>
<rng:optional>
<rng:attribute name="length_units">
<rng:ref name="LengthUnits"/>
<a:documentation>
Unit of all length measurements. Usually has the value <b>micrometer</b>. Note: length_units will be the preferred form in v2.0
</a:documentation>
</rng:attribute>
</rng:optional>
<rng:optional>
<a:documentation>
default value is : cubic_millimeter</a:documentation>
<rng:attribute name="volumeUnits">
<rng:ref name="VolumeUnits"/> <!-- Note: changed to the American English spelling in v1.8.1...-->
<a:documentation>
Unit of all volume measurements.
</a:documentation>
</rng:attribute>
</rng:optional>
</rng:define>
</rng:grammar>
|
Time to transform file: 0.02 secs