Επεξεργασία

Κοινή χρήση μέσω


XsltLibrary.ElementAvailable(XmlQualifiedName) Method

Definition

Evaluates the argument to a string that is an XML qualified name. This method implements the element-available function specified by W3C XSL Transformations (XSLT).

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 bool ElementAvailable(System::Xml::XmlQualifiedName ^ name);
public bool ElementAvailable (System.Xml.XmlQualifiedName name);
member this.ElementAvailable : System.Xml.XmlQualifiedName -> bool
Public Function ElementAvailable (name As XmlQualifiedName) As Boolean

Parameters

name
XmlQualifiedName

The XML qualified name.

Returns

true if the expanded name is the name of an instruction. If the expanded name has a namespace URI equal to the XSLT namespace URI, then it refers to an element defined by XSLT. Otherwise, the expanded-name refers to an extension element. If the expanded name has a null namespace URI, the element-available function will return false.

Remarks

The qualified name is expanded into an expanded name by using the namespace declarations in scope for the expression. The ElementAvailable function returns true if and only if the expanded name is the name of an instruction.

Applies to