XML (.xml) File Format
XML file format
Description
Notes
Examples
XML (eXtensible Markup Language) is a general purpose markup language and met-format for structured documents.
It is the successor of the SGML format.
The XMLTools package can be used to import and export arbitrary XML files.
The general-purpose commands Import and Export also support this format.
Content-Type: application/xml
xmlfile≔FileTools:-JoinPathexample/maplecatalog.xml,base=datadir
C:\Program Files\Maple 2016\data\example\maplecatalog.xml
withXMLTools:
xmltree≔ParseFilexmlfile
xmltree≔_XML_Document_XML_Element_XML_ElementTypecatalog,,_XML_Element_XML_ElementTypebook,_XML_Attribute_XML_AttrNameid,_XML_AttrValuebook01,_XML_Element_XML_ElementTypeauthor,,_XML_TextWalter Gander and Martin J. Gander,_XML_Element_XML_ElementTypetitle,,_XML_TextScientific Computing - An Introduction using Maple and MATLAB,_XML_Element_XML_ElementTypelanguage,,_XML_TextEnglish,_XML_Element_XML_ElementTypepublish_date,,_XML_Text2014-04-24,_XML_Element_XML_ElementTypeisbn_10,,_XML_Text3319043242,_XML_Element_XML_ElementTypeisbn_13,,_XML_Text978-3319043241,_XML_Element_XML_ElementTypebook,_XML_Attribute_XML_AttrNameid,_XML_AttrValuebook02,_XML_Element_XML_ElementTypeauthor,,_XML_TextJoseph L. Zachary,_XML_Element_XML_ElementTypetitle,,_XML_TextIntroduction to Scientific Programming: Computational Problem Solving Using Maple and C,_XML_Element_XML_ElementTypelanguage,,_XML_TextEnglish,_XML_Element_XML_ElementTypepublish_date,,_XML_Text2014-09-12,_XML_Element_XML_ElementTypeisbn_10,,_XML_Text1461275180,_XML_Element_XML_ElementTypeisbn_13,,_XML_Text978-1461275183,_XML_Element_XML_ElementTypebook,_XML_Attribute_XML_AttrNameid,_XML_AttrValuebook03,_XML_Element_XML_ElementTypeauthor,,_XML_TextThomas Westermann,_XML_Element_XML_ElementTypetitle,,_XML_TextMathematische Probleme l,_XML_Entity#xc3,_XML_Entity#xb6,_XML_Textsen mit Maple: Ein Kurzeinstieg,_XML_Element_XML_ElementTypelanguage,,_XML_TextDeutsch,_XML_Element_XML_ElementTypepublish_date,,_XML_Text2014-05-12,_XML_Element_XML_ElementTypeisbn_10,,_XML_Text364241351X,_XML_Element_XML_ElementTypeisbn_13,,_XML_Text978-3642413513,_XML_Element_XML_ElementTypebook,_XML_Attribute_XML_AttrNameid,_XML_AttrValuebook04,_XML_Element_XML_ElementTypeauthor,,_XML_TextViktor Korobov,_XML_Element_XML_ElementTypetitle,,_XML_TextChemical Kinetics with Mathcad and Maple,_XML_Element_XML_ElementTypelanguage,,_XML_TextEnglish,_XML_Element_XML_ElementTypepublish_date,,_XML_Text2014-10-12,_XML_Element_XML_ElementTypeisbn_10,,_XML_Text370911750X,_XML_Element_XML_ElementTypeisbn_13,,_XML_Text978-3709117507,_XML_Element_XML_ElementTypebook,_XML_Attribute_XML_AttrNameid,_XML_AttrValuebook05,_XML_Element_XML_ElementTypeauthor,,_XML_TextMazen Shahin,_XML_Element_XML_ElementTypetitle,,_XML_TextExplorations of Mathematical Models in Biology with Maple,_XML_Element_XML_ElementTypelanguage,,_XML_TextEnglish,_XML_Element_XML_ElementTypepublish_date,,_XML_Text2014-10-12,_XML_Element_XML_ElementTypeisbn_10,,_XML_Text111803211X,_XML_Element_XML_ElementTypeisbn_13,,_XML_Text978-1118032114,_XML_Element_XML_ElementTypebook,_XML_Attribute_XML_AttrNameid,_XML_AttrValuebook06,_XML_Element_XML_ElementTypeauthor,,_XML_TextRonald W. Shonkwiler and James Herod,_XML_Element_XML_ElementTypetitle,,_XML_TextMathematical Biology: An Introduction with Maple and MATLAB,_XML_Element_XML_ElementTypelanguage,,_XML_TextEnglish,_XML_Element_XML_ElementTypepublish_date,,_XML_Text2014-03-31,_XML_Element_XML_ElementTypeisbn_10,,_XML_Text1489982817,_XML_Element_XML_ElementTypeisbn_13,,_XML_Text978-1489982810,_XML_Element_XML_ElementTypebook,_XML_Attribute_XML_AttrNameid,_XML_AttrValuebook07,_XML_Element_XML_ElementTypeauthor,,_XML_TextDavid Betounes,_XML_Element_XML_ElementTypetitle,,_XML_TextPartial Differential Equations for Computational Science: With Maple,_XML_Entity#xc2,_XML_Entity#xae,_XML_Text and Vector Analysis,_XML_Element_XML_ElementTypelanguage,,_XML_TextEnglish,_XML_Element_XML_ElementTypepublish_date,,_XML_Text2014-01-14,_XML_Element_XML_ElementTypeisbn_10,,_XML_Text1461274567,_XML_Element_XML_ElementTypeisbn_13,,_XML_Text978-1461274568,_XML_Element_XML_ElementTypebook,_XML_Attribute_XML_AttrNameid,_XML_AttrValuebook08,_XML_Element_XML_ElementTypeauthor,,_XML_TextFrank E. Harris,_XML_Element_XML_ElementTypetitle,,_XML_TextMathematics for Physical Science and Engineering: Symbolic Computing Applications in Maple and Mathematica,_XML_Element_XML_ElementTypelanguage,,_XML_TextEnglish,_XML_Element_XML_ElementTypepublish_date,,_XML_Text2014-01-14,_XML_Element_XML_ElementTypeisbn_10,,_XML_Text0128010002,_XML_Element_XML_ElementTypeisbn_13,,_XML_Text978-0128010006,_XML_Element_XML_ElementTypebook,_XML_Attribute_XML_AttrNameid,_XML_AttrValuebook09,_XML_Element_XML_ElementTypeauthor,,_XML_TextB. Barnes and G..R. Fulford,_XML_Element_XML_ElementTypetitle,,_XML_TextMathematical Modelling with Case Studies: Using Maple and MATLAB,_XML_Element_XML_ElementTypelanguage,,_XML_TextEnglish,_XML_Element_XML_ElementTypepublish_date,,_XML_Text2014-12-16,_XML_Element_XML_ElementTypeisbn_10,,_XML_Text1482247720,_XML_Element_XML_ElementTypeisbn_13,,_XML_Text978-1482247725,_XML_Element_XML_ElementTypebook,_XML_Attribute_XML_AttrNameid,_XML_AttrValuebook10,_XML_Element_XML_ElementTypeauthor,,_XML_Entity#xd0,_XML_Entity#x90,_XML_Entity#xd0,_XML_Entity#xbb,_XML_Entity#xd0,_XML_Entity#xb5,_XML_Entity#xd0,_XML_Entity#xba,_XML_Entity#xd1,_XML_Entity#x81,_XML_Entity#xd0,_XML_Entity#xb0,_XML_Entity#xd0,_XML_Entity#xbd,_XML_Entity#xd0,_XML_Entity#xb4,_XML_Entity#xd1,_XML_Entity#x80,_XML_Text ,_XML_Entity#xd0,_XML_Entity#x93,_XML_Entity#xd0,_XML_Entity#xbe,_XML_Entity#xd1,_XML_Entity#x80,_XML_Entity#xd1,_XML_Entity#x8e,_XML_Entity#xd1,_XML_Entity#x88,_XML_Entity#xd0,_XML_Entity#xba,_XML_Entity#xd0,_XML_Entity#xb8,_XML_Entity#xd0,_XML_Entity#xbd,_XML_Element_XML_ElementTypetitle,,_XML_Entity#xd0,_XML_Entity#xa2,_XML_Entity#xd0,_XML_Entity#xb5,_XML_Entity#xd0,_XML_Entity#xbe,_XML_Entity#xd1,_XML_Entity#x80,_XML_Entity#xd0,_XML_Entity#xb8,_XML_Entity#xd1,_XML_Entity#x8f,_XML_Text ,_XML_Entity#xd0,_XML_Entity#xb3,_XML_Entity#xd1,_XML_Entity#x80,_XML_Entity#xd1,_XML_Entity#x83,_XML_Entity#xd0,_XML_Entity#xbf,_XML_Entity#xd0,_XML_Entity#xbf,_XML_Text ,_XML_Entity#xd0,_XML_Entity#xb2,_XML_Text Maple,_XML_Element_XML_ElementTypelanguage,,_XML_Entity#xd0,_XML_Entity#xa0,_XML_Entity#xd1,_XML_Entity#x83,_XML_Entity#xd1,_XML_Entity#x81,_XML_Entity#xd1,_XML_Entity#x81,_XML_Entity#xd0,_XML_Entity#xba,_XML_Entity#xd0,_XML_Entity#xb8,_XML_Entity#xd0,_XML_Entity#xb9,_XML_Element_XML_ElementTypepublish_date,,_XML_Text2014-04-24,_XML_Element_XML_ElementTypeisbn_10,,_XML_Text3659984043,_XML_Element_XML_ElementTypeisbn_13,,_XML_Text978-3659984044
book1≔GetChildByNamexmltree,book1
book1≔_XML_Element_XML_ElementTypebook,_XML_Attribute_XML_AttrNameid,_XML_AttrValuebook01,_XML_Element_XML_ElementTypeauthor,,_XML_TextWalter Gander and Martin J. Gander,_XML_Element_XML_ElementTypetitle,,_XML_TextScientific Computing - An Introduction using Maple and MATLAB,_XML_Element_XML_ElementTypelanguage,,_XML_TextEnglish,_XML_Element_XML_ElementTypepublish_date,,_XML_Text2014-04-24,_XML_Element_XML_ElementTypeisbn_10,,_XML_Text3319043242,_XML_Element_XML_ElementTypeisbn_13,,_XML_Text978-3319043241
Printbook1
<book id = 'book01'> <author>Walter Gander and Martin J. Gander</author> <title>Scientific Computing - An Introduction using Maple and MATLAB</title> <language>English</language> <publish_date>2014-04-24</publish_date> <isbn_10>3319043242</isbn_10> <isbn_13>978-3319043241</isbn_13> </book>
See Also
Formats
XMLTools
Download Help Document