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:
Code Block |
---|
|
<?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"> |
Code Block |
---|
|
<?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"> |