Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

The order of attributes within an XML tag are of no significance. For instance, the two XML snippets below are functionally equivalent, even though, in the first example the xs:schemaLocation  is located in the middle of the tag and in the second example xs:schemaLocation is the last element of the tag.

Please see examples below:

<?xml version="1.0" encoding="UTF-8"?>
<ern:NewReleaseMessage xmlns:ern="http://ddex.net/xml/ern/35" 
                       xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
                       xs:schemaLocation="http://ddex.net/xml/ern/35 http://ddex.net/xml/ern/35/release-notification.xsd" 
                       MessageSchemaVersionId="ern/35" 
                       LanguageAndScriptCode="en">
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ern:NewReleaseMessage xmlns:ern="http://ddex.net/xml/ern/35" 
                       xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" 
                       LanguageAndScriptCode="en"
                       MessageSchemaVersionId="ern/35" 
                       xs:schemaLocation="http://ddex.net/xml/ern/35 http://ddex.net/xml/ern/35/release-notification.xsd">
  • No labels