![]() ![]() XML is said to be "well formed" if it is syntactically correct. This tree can be queried, modified, and then "serialized" back into XML. The XML parser in the XDMF API parses the XML file and builds a tree structure in memory to describe its contents. Optionally there can be several "Name=Value" pairs which convey additional information.īetween the and the there can be other pairs and/or character data (CData).ĬData is typically where the values are stored like the actual text in an HTML document. In XDMF the element is the most important component.Īdditionally XDMF takes advantage of two major extensions to XML: XInclude and XPath.Įach element begins with a and ends with a. It it case sensitive and is made of three major components: elements, entities, and processing information. Without going into too much detail, XDMF views XML as a "personalized HTML" with some special rules. The XDMF API takes advantage of the libxml2 parser to provide the necessary functionality. There are numerous open source parsers available for XML. The eXtensible Markup Language (XML) format is widely used for many purposes and is well documented at many sites. 2.9 XML Element (Xdmf ClassName) and Default XML Attributes.The API is not necessary in order to produce or consume XDMF data.Ĭurrently several HPC codes that already produced HDF5 data, use native text output to produce the XML necessary for valid XDMF. This API has also been wrapped so it is available from popular languages like Python, Tcl, and Java. While not required, a C++ API is provided to read and write XDMF data. This allows tools to parse XML to determine the resources that will be required to access the Heavy data.įor the binary Heavy data option, the xml must list a filename where the binary data is stored. The data Format is stored redundantly in both XML and HDF5. XDMF uses XML to store Light data and to describe the data Model.Įither HDF5 or binary files can be used to store Heavy data. ![]() In addition to raw values, data can refer to Format (rank and dimensions of an array) or Model (how that data is to be used. XDMF categorizes data by two main attributes size and function.ĭata can be Light (typically less than about a thousand values) or Heavy (megabytes, terabytes, etc.). Uses for XDMF range from a standard format used by HPC codes to take advantage of widely used visualization programs like ParaView and EnSight, to a mechanism for performing coupled calculations using multiple, previously stand alone codes. The need for a standardized method to exchange scientific data between High Performance Computing codes and tools lead to the development of the eXtensible Data Model and Format ( XDMF). See Xdmf2 Model and Format Archive for the previous version. Here the XDMF3 Model and Format is described. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |