Transforming XML file: NeuroMLFiles/Schemata/v1.6/Level2/NeuroML_Level2_v1.6.xsd using XSL file: NeuroMLFiles/Schemata/XSDtoRNG.xsl

View original file before transform

Converting the file: NeuroML_Level2_v1.6.xsd

<?xml version="1.0" encoding="UTF-8"?>
<!--

    The main NeuroML Level 2 v1.6 Schema file
    This schema links MorphML.xsd/Metadata.xsd from Level 1 with Biophysics.xsd (specifying
    placement of channels on cells) and ChannelML.xsd (specifying the channel mechanism)

    This file has been developed as part of the neuroConstruct project for contribution to
    the NeuroML initiative

    Funding for this work has been received from the Medical Research Council

    Author: Padraig Gleeson
    Copyright 2007 Department of Physiology, UCL

-->

<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:bio="http://morphml.org/biophysics/schema" xmlns:cml="http://morphml.org/channelml/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.6.rng" ns="http://morphml.org/morphml/schema"/>
    
<rng:include href="../Level2/Biophysics_v1.6.rng" ns="http://morphml.org/biophysics/schema"/>
    
<rng:include href="../Level2/ChannelML_v1.6.rng" ns="http://morphml.org/channelml/schema"/>
    
<rng:include href="../Level1/Metadata_v1.6.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="NeuroMLLevel2"/>
        
<a:documentation>
                The root NeuroML element.
            
</a:documentation>
    
</rng:element>
</rng:define>


    
<rng:define combine="choice" name="NeuroMLLevel2">
            
<a:documentation>
                Description of neuronal models, including biophysics and channel mechanisms (NeuroML Level 2).
            
</a:documentation>

            
                
<rng:ref name="metadata"/>
                
<rng:ref name="referencedata"/>

                
<rng:optional>
<rng:element name="cells">
                    
<a:documentation>
                        Collection of all Level 2 cells.
                    
</a:documentation>
                    
                        
                            
<rng:oneOrMore>
<rng:element name="cell">
<rng:ref name="Level2Cell"/>
                                
<a:documentation>
                                    A single cell specified in MorphML extended to include channel density info.
                                
</a:documentation>
                            
</rng:element>
</rng:oneOrMore>
                        
                    
                
</rng:element>
</rng:optional>

                
<rng:optional>
<rng:element name="channels">
<rng:ref name="ChannelML"/>
</rng:element>
</rng:optional>

            


            
<rng:optional>
<rng:attribute name="name">
<rng:data type="string"/>
</rng:attribute>
</rng:optional>


            
<rng:attribute name="lengthUnits">
<rng:ref name="LengthUnits"/>
                    
<a:documentation>
                            Unit of all length measurements.
                    
</a:documentation>
            
</rng:attribute>

            
<rng:optional>
<a:documentation>
                                                default value is : cubic_millimetre
</a:documentation>
<rng:attribute name="volumeUnits">
<rng:ref name="VolumeUnits"/>
                    
<a:documentation>
                            Unit of all volume measurements.
                    
</a:documentation>
            
</rng:attribute>
</rng:optional>

    
</rng:define>


        
<!-- Definition of Cell extended with biophysics follows. -->
    
<rng:define combine="choice" name="Level2Cell">
        
<a:documentation>
            Cell with extensions for biophysics.
        
</a:documentation>
                
                    
<rng:ref name="Cell"/>
                        
                            
<rng:optional>
<rng:element name="biophysics">
<rng:ref name="Biophysics"/>
</rng:element>
</rng:optional>
                        
                    
                
        
</rng:define>





</rng:grammar>


Time to transform file: 0.02 secs