Commit 7c66e3e1 authored by Jerry Clarke's avatar Jerry Clarke
Browse files

New Xdmf DTD

parent 6816af65
<?xml version="1.0" encoding="UTF-8"?>
<!--Root element of dataset-->
<!ELEMENT Xdmf (Information+, Domain+)>
<!ATTLIST Xdmf
Version CDATA #IMPLIED
<!--Contains domain data information-->
<!ELEMENT Domain (Information+, Grid+)>
<!ATTLIST Domain
Name CDATA #IMPLIED
>
<!--Contains a collection of homogeneous elements-->
<!ELEMENT Grid (Information+, Time, Topology, Geometry, Attribute+)>
<!ATTLIST Grid
Name CDATA #IMPLIED
GridType (Uniform | Collection | Tree | Subset) "Uniform"
CollectionType (Spatial | Temporal) "Spatial"
Section (DataItem | All) "All"
>
<!-- Described Temporal Relationship -->
<!ELEMENT Time (Information+, DataItem)>
<!ATTLIST Time
TimeType (Single | HyperSlab | List | Range) "Single"
Value CDATA #IMPLIED
>
<!--Describes the general organization of the data-->
<!ELEMENT Topology (Information+, DataItem)>
<!ATTLIST Topology
TopologyType (Polyvertex | Polyline | Polygon | Triangle | Quadrilateral | Tetrahedron | Pyramid| Wedge | Hexahedron | Edge_3 | Triagle_6 | Quadrilateral_8 | Tetrahedron_10 | Pyramid_13 | Wedge_15 | Hexahedron_20 | Mixed | 2DSMesh | 2DRectMesh | 2DCoRectMesh | 3DSMesh | 3DRectMesh | 3DCoRectMesh) #REQUIRED
Dimension CDATA #IMPLIED
Order CDATA #IMPLIED
BaseOffset CDATA "0"
NodesPerElement CDATA #IMPLIED
NumberOfElements CDATA #IMPLIED
>
<!--Describes the XYZ values of the mesh-->
<!ELEMENT Geometry (Information+, DataItem+)>
<!ATTLIST Geometry
Name CDATA #IMPLIED
GeometryType (XYZ | XY | X_Y_Z | VXVYVZ | ORIGIN_DXDYDZ) "XYZ"
>
<!--Lowest level element, describes the data that is present in the XDMF dataset-->
<!ELEMENT DataItem (Information+)>
<!ATTLIST DataItem
Name CDATA #REQUIRED
ItemType (Uniform | Collection | Tree | HyperSlab | Coordinates | Function) "Uniform"
Dimensions CDATA #REQUIRED
NumberType (Char | UChar | Float | Int | UInt) "Float"
Precision (1 | 4 | 8) "4"
Format (XML | HDF) "XML"
CData ENTITY #IMPLIED
>
<!--Describes the values on the mesh-->
<!ELEMENT Attribute (Information+, DataItem)>
<!ATTLIST Attribute
Name CDATA #IMPLIED
Center (Node | Cell | Grid | Face | Edge) "Node"
AttributeType (Scalar | Vector | Tensor | Tensor6 | Matrix) "Scalar"
>
<!-- Application Dependent -->
<!ELEMENT Information (Information+)>
<!ATTLIST Information
Name CDATA #IMPLIED
Value CDATA #IMPLIED
CData ENTITY #IMPLIED
>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment