I am new to xml parsing
Can you explain what is key and key namespace in the following xml
<ec:InclusiveNamespaces xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#" PrefixList="ds saml samlp xs xsi"/>
Thanks in advance!!
I am new to xml parsing
Can you explain what is key and key namespace in the following xml
<ec:InclusiveNamespaces xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#" PrefixList="ds saml samlp xs xsi"/>
Thanks in advance!!
The term key is not defined at the XML level.
In XML Schema (XSD), a key
is a part of Identity-constraint Definitions and defines how to assemble a unique identifier via XPath selector and field declarations. However, there's neither evidence nor a means of surmising whether or not your XML might have any such keys defined.
From your XML, you might be interested to learn that ec
is a namespace prefix, which is an abbreviation for http://www.w3.org/2001/10/xml-exc-c14n#
, the namespace value. See also What is the difference between namespace and prefix in XML?
As a final note, the InclusiveNamespaces XML element you've posted is used in the Exclusive XML Canonicalization, Version 1.0, Recommendation.