- Source:
- Author:
-
- Nick Campbell (wrapper); Axinom; Abdulla Abdurakhmanov
- Copyright:
- 2014-2023, Nick Campbell (wrapper); 2015, Axinom; 2011-2013, Abdulla Abdurakhmanov
- License:
- Apache License, Version 2.0
XML mixin for ish.js that wraps Axinom's implementation of Abdulla Abdurakhmanov's x2js
Methods
[mixin]
ish.io.xml.parse(sXML) → {Array.<object>}
- Source:
- See:
-
Parses the passed value into a Javascript object representing the XML data.
From Mixin: ish.io.xml.js
must be included for ishJS
to access this functionality.
Parameters:
Name |
Type |
Description |
sXML |
string
|
Value representing the XML data to parse. |
Returns:
Type |
Description |
Array.<object>
|
Value representing the XML data. |
[mixin]
ish.io.xml.stringify(oData) → {string}
- Source:
- See:
-
Converts the passed value to a n XML string.
From Mixin: ish.io.xml.js
must be included for ishJS
to access this functionality.
Parameters:
Name |
Type |
Description |
oData |
object
|
Value representing the data to serialize into a XML string. |
Returns:
Type |
Description |
string
|
Value representing the XML data. |