XMLContent
-
- UpdatedJan 30, 2025
- 1 minute read
- Yokohama
- Edge Encryption
A global object that provides methods to iterate over the XML content.
You can access an XMLContent object by calling getAsXmlContent() on a request object.
You access XML data in a POST or URL parameter
by calling request.postParams.<parameter name>.getAsXmlContent()
or
request.urlParams.<parameter name>.getAsXmlContent()
.
XMLContent - getIterator()
Returns an XMLElementIterator object for the XML content.
Name | Type | Description |
---|---|---|
None |
Type | Description |
---|---|
XMLElementIterator | An object that can be used to iterate over elements in the XMLContent object. |
XMLContent - getIterator(String xPath)
Returns an XMLElementIterator object for the XML content based on the specified parameter.
Name | Type | Description |
---|---|---|
xPath | String | An xPath-like expression that specifies where in the XMLContent object to start. |
Type | Description |
---|---|
XMLElementIterator | An object that can be used to iterate over elements in the XMLContent object. |