## XmlSchemaXPath class


Represents the World Wide [Web](../../system.web/) Consortium (W3C) **selector** element.

```cpp
class XmlSchemaXPath : public System::Xml::Schema::XmlSchemaAnnotated
```

## Methods

| Method | Description |
| --- | --- |
| [get_XPath](./get_xpath/)() | Returns the attribute for the [XPath](../../system.xml.xpath/) expression. |
| [set_XPath](./set_xpath/)(const String\&) | Sets the attribute for the [XPath](../../system.xml.xpath/) expression. |
## Typedefs

| Typedef | Description |
| --- | --- |
| [Ptr](./ptr/) | An alias for shared pointer to an instance of this class. |
## Remarks



Objects of this class should only be allocated using [System::MakeObject()](../../system/makeobject/) function. Never create instances of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into [System::SmartPtr](../../system/smartptr/) pointer and use this pointer to pass it to functions as argument. 

## See Also

* Class [XmlSchemaAnnotated](../xmlschemaannotated/)
* Namespace [System::Xml::Schema](../)
* Library [Aspose.PDF for C++](../../)
