Attribute values
You can write your XML tags with attribute values, similar to the HTML body tag. The previous example could be written like this:
<?xml version="1.0" encoding="US-ASCII"?>
<book title="The Fellowship of the Ring" author="J.R.R. Tolkien" copyright="1954 by J.R.R. Tolkien">
<text>The book’s content would go here.</text>
</book>
Attribute values are usually defined by the Document Type Definition, which describes each tag and its valid attribute values. Although attribute values can contain any data you like, most XML authors limit their use. Attribute values are only used in the Creo Elements/Direct Manager Server XML files to define the localization catalog and message number for a given tag.
Was this helpful?