Lantronix PremierWave XC PremierWave XC - Command Reference - Page 15
Quick Tour of XML Syntax, Declaration, Element Start and End Tags, Element Attributes
View all Lantronix PremierWave XC manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 15 highlights
4: Configuration Using XML Note: The name for each (specified with the name attribute) is the group name listed in the Web Manager XCR groups or with the "xcr list" CLI command. See the PremierWave XC User Guide for more information about the XCR groups. An empty or missing element in each present clears the setting to its default. Quick Tour of XML Syntax Declaration The first line, , is called the XML declaration. It is required and indicates the XML version in use (normally version 1.0). The remainder of the file consists of nested XML elements, some of which have attributes and content. Element Start and End Tags An element typically consists of two tags: start tag and an end tag that surrounds text and other elements (element content). The start tag consists of a name surrounded by angle brackets, for example . The end tag consists of the same name surrounded by angle brackets, but with a forward slash preceding the name, for example . The element content can also contain other "child" elements. Element Attributes The XML element attributes that are name-value pairs included in the start tag after the element name. The values must always be quoted, using single or double quotes. Each attribute name should appear only once in an element. XML Example shows an XML example which consists of a declaration (first line), nested elements with attributes and content. Figure 4-2 XML Example disable The PremierWave XC uses the attributes in the following subsections to label the group configuration settings. PremierWave XC Command Reference 15