20 const NS =
'urn:oasis:names:tc:SAML:metadata:attribute';
42 foreach (
Utils::xpQuery(
$xml,
'./saml_assertion:Attribute|./saml_assertion:Assertion') as $node) {
43 if ($node->localName ===
'Attribute') {
46 $this->children[] =
new Chunk($node);
59 assert(is_array($this->children));
61 $doc = $parent->ownerDocument;
64 $parent->appendChild($e);
67 foreach ($this->children as $child) {
const NS
The namespace used for the EntityAttributes extension.
__construct(\DOMElement $xml=null)
Create a EntityAttributes element.
static xpQuery(\DOMNode $node, $query)
Do an XPath query on an XML node.