XML Subobject - AFS

AFS Integration Guide

Product
AFS
AFS_Version
7.7
Category
Reference Guide

This section makes it possible to configure XML parsing. It contains a declaration of namespaces that are used in the XML documents processed by AFS Widgets.

Parameter

Type

Card

Default

Description

namespaces

List of objects

optional

N/A

Each object defines a namespace as shown in this example:

var AFSWidgetConfiguration = {
xml: {
namespaces: [{
"name": "afs",
"uri": "http://ref.antidot.net/v7/afs#"
}]
}
}

XML and XPath known issues:
XML is not properly supported by all browsers. Our underlying XML parser tries its best to hide this complexity. There are still some limitations when using XPath that should work across browsers.
The currently known issues are:
- renaming a XPath prefix does not work in IE9 and IE10
- using a XPath starting with "//" does not work in IE9 and IE10