ReferenceXMLElement Property
This property specifies XML element to sign or verify using XPath notation.
Syntax
property ReferenceXMLElement[ReferenceIndex: Integer]: String;
Default Value
'/'
Remarks
This property specifies XML element to sign or verify using XPath notation. When signing, this must be set before calling Sign. When verifying, this must be set from within the SignatureInfo event. The ReferenceURI property may be used to help identify the correct XML element.
/root/myElement | XPath syntax |
/root/[1] | XPath syntax using an index |
/root/ns:myElement | XPath syntax where the element has a namespace |
myElement | Just the element name |
@id=myid | Attribute selector: This will select an element with an attribute "id" whose value is "myid". |
/root/myElement[1]/ns:name2[@attr=attrValue] | XPath syntax using an index and attribute selector |
The size of the array is controlled by the ReferenceCount property.
This property is not available at design time.
Data Type
String