@ntf/xml 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +8 -7
- package/dist/index.d.ts +8 -7
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -47,21 +47,21 @@ declare const XML_EXPLICIT_END_SYMBOL: unique symbol;
|
|
|
47
47
|
declare const NODEJS_CUSTOM_INSPECT_SYMBOL: unique symbol;
|
|
48
48
|
//#endregion
|
|
49
49
|
//#region source/element.d.ts
|
|
50
|
-
declare class XMLElement<P extends XMLElement.Attributes = XMLElement.Attributes> {
|
|
50
|
+
declare class XMLElement<P extends XMLElement.Attributes = XMLElement.Attributes, Child extends XMLElement.Child = XMLElement.Child> {
|
|
51
51
|
readonly type: string;
|
|
52
52
|
attributes: Partial<P>;
|
|
53
53
|
private _children;
|
|
54
54
|
private _parent?;
|
|
55
55
|
get parent(): XMLElement | undefined;
|
|
56
56
|
set parent(parent: XMLElement | undefined);
|
|
57
|
-
get children(): ReadonlyArray<
|
|
58
|
-
set children(nodes: ReadonlyArray<
|
|
57
|
+
get children(): ReadonlyArray<Child>;
|
|
58
|
+
set children(nodes: ReadonlyArray<Child>);
|
|
59
59
|
get textContent(): string;
|
|
60
60
|
set textContent(value: string);
|
|
61
|
-
constructor(type: string, attributes?: Partial<P>, parent?: XMLElement, children?: Array<
|
|
62
|
-
appendNode<Node extends
|
|
63
|
-
append(...nodes: ReadonlyArray<
|
|
64
|
-
remove(node:
|
|
61
|
+
constructor(type: string, attributes?: Partial<P>, parent?: XMLElement, children?: Array<Child>);
|
|
62
|
+
appendNode<Node extends Child>(node: Node): Node;
|
|
63
|
+
append(...nodes: ReadonlyArray<Child>): this;
|
|
64
|
+
remove(node: Child): boolean;
|
|
65
65
|
clear(): void;
|
|
66
66
|
setAttribute<K extends keyof P>(key: K, value: P[K]): this;
|
|
67
67
|
setAttribute(key: string, value: any): this;
|
|
@@ -76,6 +76,7 @@ declare class XMLElement<P extends XMLElement.Attributes = XMLElement.Attributes
|
|
|
76
76
|
}
|
|
77
77
|
declare namespace XMLElement {
|
|
78
78
|
type Attributes = Record<string, any>;
|
|
79
|
+
type Child = XMLElement | string;
|
|
79
80
|
}
|
|
80
81
|
//#endregion
|
|
81
82
|
//#region source/document.d.ts
|
package/dist/index.d.ts
CHANGED
|
@@ -47,21 +47,21 @@ declare const XML_EXPLICIT_END_SYMBOL: unique symbol;
|
|
|
47
47
|
declare const NODEJS_CUSTOM_INSPECT_SYMBOL: unique symbol;
|
|
48
48
|
//#endregion
|
|
49
49
|
//#region source/element.d.ts
|
|
50
|
-
declare class XMLElement<P extends XMLElement.Attributes = XMLElement.Attributes> {
|
|
50
|
+
declare class XMLElement<P extends XMLElement.Attributes = XMLElement.Attributes, Child extends XMLElement.Child = XMLElement.Child> {
|
|
51
51
|
readonly type: string;
|
|
52
52
|
attributes: Partial<P>;
|
|
53
53
|
private _children;
|
|
54
54
|
private _parent?;
|
|
55
55
|
get parent(): XMLElement | undefined;
|
|
56
56
|
set parent(parent: XMLElement | undefined);
|
|
57
|
-
get children(): ReadonlyArray<
|
|
58
|
-
set children(nodes: ReadonlyArray<
|
|
57
|
+
get children(): ReadonlyArray<Child>;
|
|
58
|
+
set children(nodes: ReadonlyArray<Child>);
|
|
59
59
|
get textContent(): string;
|
|
60
60
|
set textContent(value: string);
|
|
61
|
-
constructor(type: string, attributes?: Partial<P>, parent?: XMLElement, children?: Array<
|
|
62
|
-
appendNode<Node extends
|
|
63
|
-
append(...nodes: ReadonlyArray<
|
|
64
|
-
remove(node:
|
|
61
|
+
constructor(type: string, attributes?: Partial<P>, parent?: XMLElement, children?: Array<Child>);
|
|
62
|
+
appendNode<Node extends Child>(node: Node): Node;
|
|
63
|
+
append(...nodes: ReadonlyArray<Child>): this;
|
|
64
|
+
remove(node: Child): boolean;
|
|
65
65
|
clear(): void;
|
|
66
66
|
setAttribute<K extends keyof P>(key: K, value: P[K]): this;
|
|
67
67
|
setAttribute(key: string, value: any): this;
|
|
@@ -76,6 +76,7 @@ declare class XMLElement<P extends XMLElement.Attributes = XMLElement.Attributes
|
|
|
76
76
|
}
|
|
77
77
|
declare namespace XMLElement {
|
|
78
78
|
type Attributes = Record<string, any>;
|
|
79
|
+
type Child = XMLElement | string;
|
|
79
80
|
}
|
|
80
81
|
//#endregion
|
|
81
82
|
//#region source/document.d.ts
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e={"<":`<`,">":`>`,"&":`&`,"'":`'`,'"':`"`},t=`application/xml`;function n(t){for(let[n,r]of Object.entries(e))t=t.replaceAll(n,r);return t}function r(t){for(let[n,r]of Object.entries(e))t=t.replaceAll(r,n);return t}const i=Symbol.for(`ntf-xml-explicit-end`),a=Symbol.for(`nodejs.util.inspect.custom`);var o=class e{static START=`<?xml`;static END=`?>`;static DEFAULT_ENCODING=`UTF-8`;static DEFAULT_VERSION=`1.0`;constructor(t=e.DEFAULT_VERSION,n=e.DEFAULT_ENCODING,r){this.version=t,this.encoding=n,this.standalone=r}toString(){let t=`${e.START} version="${n(this.version)}" encoding="${n(this.encoding)}"`;return typeof this.standalone==`boolean`&&(t+=` standalone="${this.standalone?`yes`:`no`}"`),t+e.END}get[Symbol.toStringTag](){return`XMLDeclaration`}},s=class{constructor(e,t=new o){this.root=e,this.declaration=t}toString(){return`${this.declaration.toString()}${this.root.toString()}`}get[Symbol.toStringTag](){return`XMLDocument`}[a](...e){return this.toString()}};function c(e){return Object.entries(e).map(function([e,t]){let r=n(e);if(t==null)return r;let i=n(String(t));return i.length===0?r:`${r}="${i}"`}).join(` `).trim()}function l(e){let t=`<${n(e.type)}`;return e.hasAttributes()&&(t+=` `+c(e.attributes)),i in e||e.children.length>0?t+`>`:t+` />`}function u(e){return i in e||e.children.length>0?`</${n(e.type)}>`:``}function d(e){let t=``,r=[{elm:e,children:[...e],index:0,started:!1}];for(;r.length>0;){let e=r[r.length-1];if(e===void 0)break;if(!e.started&&(t+=l(e.elm),e.started=!0,e.elm.children.length===0)){r.pop();continue}if(e.index>=e.children.length){t+=u(e.elm),r.pop();continue}let i=e.children[e.index++];i instanceof p&&r.push({elm:i,children:[...i],index:0,started:!1}),typeof i==`string`&&(t+=n(i))}return t}function f(e){return`${e.declaration.toString()}${d(e.root)}`}var p=class e{_children=[];_parent;get parent(){return this._parent}set parent(e){if(typeof e==`string`)throw TypeError(`cannot assign string as parent`);this._parent!==e&&(this._parent!==void 0&&this._parent.remove(this),e!==void 0&&(this._parent=e,e._children.push(this)))}get children(){return this._children}set children(e){this.clear(),this.append(...e)}get textContent(){return this._children.filter(e=>typeof e==`string`).join(``)}set textContent(e){this.children=[e]}constructor(e,t={},n,r=[]){this.type=e,this.attributes=t,this._parent=n,this.children=r}appendNode(t){return
|
|
1
|
+
const e={"<":`<`,">":`>`,"&":`&`,"'":`'`,'"':`"`},t=`application/xml`;function n(t){for(let[n,r]of Object.entries(e))t=t.replaceAll(n,r);return t}function r(t){for(let[n,r]of Object.entries(e))t=t.replaceAll(r,n);return t}const i=Symbol.for(`ntf-xml-explicit-end`),a=Symbol.for(`nodejs.util.inspect.custom`);var o=class e{static START=`<?xml`;static END=`?>`;static DEFAULT_ENCODING=`UTF-8`;static DEFAULT_VERSION=`1.0`;constructor(t=e.DEFAULT_VERSION,n=e.DEFAULT_ENCODING,r){this.version=t,this.encoding=n,this.standalone=r}toString(){let t=`${e.START} version="${n(this.version)}" encoding="${n(this.encoding)}"`;return typeof this.standalone==`boolean`&&(t+=` standalone="${this.standalone?`yes`:`no`}"`),t+e.END}get[Symbol.toStringTag](){return`XMLDeclaration`}},s=class{constructor(e,t=new o){this.root=e,this.declaration=t}toString(){return`${this.declaration.toString()}${this.root.toString()}`}get[Symbol.toStringTag](){return`XMLDocument`}[a](...e){return this.toString()}};function c(e){return Object.entries(e).map(function([e,t]){let r=n(e);if(t==null)return r;let i=n(String(t));return i.length===0?r:`${r}="${i}"`}).join(` `).trim()}function l(e){let t=`<${n(e.type)}`;return e.hasAttributes()&&(t+=` `+c(e.attributes)),i in e||e.children.length>0?t+`>`:t+` />`}function u(e){return i in e||e.children.length>0?`</${n(e.type)}>`:``}function d(e){let t=``,r=[{elm:e,children:[...e],index:0,started:!1}];for(;r.length>0;){let e=r[r.length-1];if(e===void 0)break;if(!e.started&&(t+=l(e.elm),e.started=!0,e.elm.children.length===0)){r.pop();continue}if(e.index>=e.children.length){t+=u(e.elm),r.pop();continue}let i=e.children[e.index++];i instanceof p&&r.push({elm:i,children:[...i],index:0,started:!1}),typeof i==`string`&&(t+=n(i))}return t}function f(e){return`${e.declaration.toString()}${d(e.root)}`}var p=class e{_children=[];_parent;get parent(){return this._parent}set parent(e){if(typeof e==`string`)throw TypeError(`cannot assign string as parent`);this._parent!==e&&(this._parent!==void 0&&this._parent.remove(this),e!==void 0&&(this._parent=e,e._children.push(this)))}get children(){return this._children}set children(e){this.clear(),this.append(...e)}get textContent(){return this._children.filter(e=>typeof e==`string`).join(``)}set textContent(e){this.children=[e]}constructor(e,t={},n,r=[]){this.type=e,this.attributes=t,this._parent=n,this.children=r}appendNode(t){return this._children.includes(t)||(t instanceof e&&(t.parent=this),typeof t==`string`&&this._children.push(t)),t}append(...e){for(let t of e)this.appendNode(t);return this}remove(e){let t=this._children.indexOf(e);return t<0?!1:(this._children.splice(t,1),!0)}clear(){for(let t of this._children)t instanceof e&&(t._parent=void 0);this._children=[]}setAttribute(e,t){return this.attributes[e]=t,this}getAttribute(e){return this.attributes[e]}hasAttributes(){return Object.keys(this.attributes).length>0}hasAttribute(e){return this.attributes[e]!==void 0}toString(){return`${l(this)}${this.children.length>0?`...`:``}${u(this)}`}*[Symbol.iterator](){for(let e of this._children)yield e}[a](...e){return this.toString()}get[Symbol.toStringTag](){return`XMLElement`}},m=class{_type;_children=[];_attr={};constructor(){}setType(e){return this._type=e,this}setAttribute(e,t){return this._attr[e]=t,this}addElement(e){let t=`build`in e?e.build():e;return this._children.push(t),this}addText(e){return this._children.push(e),this}build(){if(this._type===void 0)throw TypeError(`no XML type specified`);return new p(this._type,this._attr,void 0,this._children)}},h=class{_declaration;_root;setDeclaration(e){return this._declaration=e,this}setRoot(e){return this._root=`build`in e?e.build():e,this}build(){if(this._root===void 0)throw TypeError(`no XML document root specified`);return new s(this._root,this._declaration)}};function g(e){e=r(e.trim());let t={},n=``,i=``,a=0;for(let t=0;t<e.length;t++){let r=e[t];if(r===void 0)break;if(a===0){if(r===` `){o();continue}if(r===`=`){e[t+1]===`"`&&(a++,t++),a++;continue}n+=r;continue}if(a===1||a===2){if(r===` `&&a===1||r===`"`&&a===2){a=0,o();continue}i+=r;continue}}return o(),t;function o(){n.length>0&&(t[n]=i.length>0?i:void 0),n=i=``}}function _(e){if(e!==void 0){if(e=e.trim(),[`yes`,`true`,`on`].includes(e))return!0;if([`no`,`false`,`off`].includes(e))return!1;throw TypeError(`invalid XML declaration standalone value '${e}'`)}}function v(e){if(e=r(e.trim()),!e.startsWith(o.START)||!e.endsWith(o.END))throw TypeError(`XML declaration does not start with '${o.START}' and/or end with '${o.END}'`);let t=g(e.substring(o.START.length,e.length-o.END.length));if(`version`in t&&typeof t.version==`string`)return new o(t.version,`encoding`in t&&typeof t.encoding==`string`?t.encoding:void 0,_(`standalone`in t&&typeof t.standalone==`string`?t.standalone:void 0));throw TypeError(`XML declaration has no version`)}function y(e){if(e=r(e.trim()),!e.startsWith(`<`)||!e.endsWith(`>`))throw TypeError(`XML start tag does not start with < and/or ends with >`);let t=!e.endsWith(`/>`);e=e.substring(1,e.length-(e.endsWith(`/>`)?2:1));let n=e.substring(0,e.indexOf(` `));return{type:n,attributes:g(e.substring(n.length)),requiresEnd:t}}function b(e){throw Error(`not implemented`)}function x(e){e=r(e.trim());let t=e.substring(0,e.indexOf(`?>`)+2);return new s(b(e.substring(t.length)),v(t))}exports.NODEJS_CUSTOM_INSPECT_SYMBOL=a,exports.XMLDeclaration=o,exports.XMLDocument=s,exports.XMLDocumentBuilder=h,exports.XMLElement=p,exports.XMLElementBuilder=m,exports.XML_ESCAPE=e,exports.XML_EXPLICIT_END_SYMBOL=i,exports.XML_MIMETYPE=`application/xml`,exports.escapeXMLString=n,exports.parseXMLAttributes=g,exports.parseXMLDeclaration=v,exports.parseXMLDocument=x,exports.parseXMLElement=b,exports.parseXMLStartTag=y,exports.renderXMLAttributes=c,exports.renderXMLDocument=f,exports.renderXMLElement=d,exports.renderXMLEndTag=u,exports.renderXMLStartTag=l,exports.unescapeXMLString=r;
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e={"<":`<`,">":`>`,"&":`&`,"'":`'`,'"':`"`},t=`application/xml`;function n(t){for(let[n,r]of Object.entries(e))t=t.replaceAll(n,r);return t}function r(t){for(let[n,r]of Object.entries(e))t=t.replaceAll(r,n);return t}const i=Symbol.for(`ntf-xml-explicit-end`),a=Symbol.for(`nodejs.util.inspect.custom`);var o=class e{static START=`<?xml`;static END=`?>`;static DEFAULT_ENCODING=`UTF-8`;static DEFAULT_VERSION=`1.0`;constructor(t=e.DEFAULT_VERSION,n=e.DEFAULT_ENCODING,r){this.version=t,this.encoding=n,this.standalone=r}toString(){let t=`${e.START} version="${n(this.version)}" encoding="${n(this.encoding)}"`;return typeof this.standalone==`boolean`&&(t+=` standalone="${this.standalone?`yes`:`no`}"`),t+e.END}get[Symbol.toStringTag](){return`XMLDeclaration`}},s=class{constructor(e,t=new o){this.root=e,this.declaration=t}toString(){return`${this.declaration.toString()}${this.root.toString()}`}get[Symbol.toStringTag](){return`XMLDocument`}[a](...e){return this.toString()}};function c(e){return Object.entries(e).map(function([e,t]){let r=n(e);if(t==null)return r;let i=n(String(t));return i.length===0?r:`${r}="${i}"`}).join(` `).trim()}function l(e){let t=`<${n(e.type)}`;return e.hasAttributes()&&(t+=` `+c(e.attributes)),i in e||e.children.length>0?t+`>`:t+` />`}function u(e){return i in e||e.children.length>0?`</${n(e.type)}>`:``}function d(e){let t=``,r=[{elm:e,children:[...e],index:0,started:!1}];for(;r.length>0;){let e=r[r.length-1];if(e===void 0)break;if(!e.started&&(t+=l(e.elm),e.started=!0,e.elm.children.length===0)){r.pop();continue}if(e.index>=e.children.length){t+=u(e.elm),r.pop();continue}let i=e.children[e.index++];i instanceof p&&r.push({elm:i,children:[...i],index:0,started:!1}),typeof i==`string`&&(t+=n(i))}return t}function f(e){return`${e.declaration.toString()}${d(e.root)}`}var p=class e{_children=[];_parent;get parent(){return this._parent}set parent(e){if(typeof e==`string`)throw TypeError(`cannot assign string as parent`);this._parent!==e&&(this._parent!==void 0&&this._parent.remove(this),e!==void 0&&(this._parent=e,e._children.push(this)))}get children(){return this._children}set children(e){this.clear(),this.append(...e)}get textContent(){return this._children.filter(e=>typeof e==`string`).join(``)}set textContent(e){this.children=[e]}constructor(e,t={},n,r=[]){this.type=e,this.attributes=t,this._parent=n,this.children=r}appendNode(t){return
|
|
1
|
+
const e={"<":`<`,">":`>`,"&":`&`,"'":`'`,'"':`"`},t=`application/xml`;function n(t){for(let[n,r]of Object.entries(e))t=t.replaceAll(n,r);return t}function r(t){for(let[n,r]of Object.entries(e))t=t.replaceAll(r,n);return t}const i=Symbol.for(`ntf-xml-explicit-end`),a=Symbol.for(`nodejs.util.inspect.custom`);var o=class e{static START=`<?xml`;static END=`?>`;static DEFAULT_ENCODING=`UTF-8`;static DEFAULT_VERSION=`1.0`;constructor(t=e.DEFAULT_VERSION,n=e.DEFAULT_ENCODING,r){this.version=t,this.encoding=n,this.standalone=r}toString(){let t=`${e.START} version="${n(this.version)}" encoding="${n(this.encoding)}"`;return typeof this.standalone==`boolean`&&(t+=` standalone="${this.standalone?`yes`:`no`}"`),t+e.END}get[Symbol.toStringTag](){return`XMLDeclaration`}},s=class{constructor(e,t=new o){this.root=e,this.declaration=t}toString(){return`${this.declaration.toString()}${this.root.toString()}`}get[Symbol.toStringTag](){return`XMLDocument`}[a](...e){return this.toString()}};function c(e){return Object.entries(e).map(function([e,t]){let r=n(e);if(t==null)return r;let i=n(String(t));return i.length===0?r:`${r}="${i}"`}).join(` `).trim()}function l(e){let t=`<${n(e.type)}`;return e.hasAttributes()&&(t+=` `+c(e.attributes)),i in e||e.children.length>0?t+`>`:t+` />`}function u(e){return i in e||e.children.length>0?`</${n(e.type)}>`:``}function d(e){let t=``,r=[{elm:e,children:[...e],index:0,started:!1}];for(;r.length>0;){let e=r[r.length-1];if(e===void 0)break;if(!e.started&&(t+=l(e.elm),e.started=!0,e.elm.children.length===0)){r.pop();continue}if(e.index>=e.children.length){t+=u(e.elm),r.pop();continue}let i=e.children[e.index++];i instanceof p&&r.push({elm:i,children:[...i],index:0,started:!1}),typeof i==`string`&&(t+=n(i))}return t}function f(e){return`${e.declaration.toString()}${d(e.root)}`}var p=class e{_children=[];_parent;get parent(){return this._parent}set parent(e){if(typeof e==`string`)throw TypeError(`cannot assign string as parent`);this._parent!==e&&(this._parent!==void 0&&this._parent.remove(this),e!==void 0&&(this._parent=e,e._children.push(this)))}get children(){return this._children}set children(e){this.clear(),this.append(...e)}get textContent(){return this._children.filter(e=>typeof e==`string`).join(``)}set textContent(e){this.children=[e]}constructor(e,t={},n,r=[]){this.type=e,this.attributes=t,this._parent=n,this.children=r}appendNode(t){return this._children.includes(t)||(t instanceof e&&(t.parent=this),typeof t==`string`&&this._children.push(t)),t}append(...e){for(let t of e)this.appendNode(t);return this}remove(e){let t=this._children.indexOf(e);return t<0?!1:(this._children.splice(t,1),!0)}clear(){for(let t of this._children)t instanceof e&&(t._parent=void 0);this._children=[]}setAttribute(e,t){return this.attributes[e]=t,this}getAttribute(e){return this.attributes[e]}hasAttributes(){return Object.keys(this.attributes).length>0}hasAttribute(e){return this.attributes[e]!==void 0}toString(){return`${l(this)}${this.children.length>0?`...`:``}${u(this)}`}*[Symbol.iterator](){for(let e of this._children)yield e}[a](...e){return this.toString()}get[Symbol.toStringTag](){return`XMLElement`}},m=class{_type;_children=[];_attr={};constructor(){}setType(e){return this._type=e,this}setAttribute(e,t){return this._attr[e]=t,this}addElement(e){let t=`build`in e?e.build():e;return this._children.push(t),this}addText(e){return this._children.push(e),this}build(){if(this._type===void 0)throw TypeError(`no XML type specified`);return new p(this._type,this._attr,void 0,this._children)}},h=class{_declaration;_root;setDeclaration(e){return this._declaration=e,this}setRoot(e){return this._root=`build`in e?e.build():e,this}build(){if(this._root===void 0)throw TypeError(`no XML document root specified`);return new s(this._root,this._declaration)}};function g(e){e=r(e.trim());let t={},n=``,i=``,a=0;for(let t=0;t<e.length;t++){let r=e[t];if(r===void 0)break;if(a===0){if(r===` `){o();continue}if(r===`=`){e[t+1]===`"`&&(a++,t++),a++;continue}n+=r;continue}if(a===1||a===2){if(r===` `&&a===1||r===`"`&&a===2){a=0,o();continue}i+=r;continue}}return o(),t;function o(){n.length>0&&(t[n]=i.length>0?i:void 0),n=i=``}}function _(e){if(e!==void 0){if(e=e.trim(),[`yes`,`true`,`on`].includes(e))return!0;if([`no`,`false`,`off`].includes(e))return!1;throw TypeError(`invalid XML declaration standalone value '${e}'`)}}function v(e){if(e=r(e.trim()),!e.startsWith(o.START)||!e.endsWith(o.END))throw TypeError(`XML declaration does not start with '${o.START}' and/or end with '${o.END}'`);let t=g(e.substring(o.START.length,e.length-o.END.length));if(`version`in t&&typeof t.version==`string`)return new o(t.version,`encoding`in t&&typeof t.encoding==`string`?t.encoding:void 0,_(`standalone`in t&&typeof t.standalone==`string`?t.standalone:void 0));throw TypeError(`XML declaration has no version`)}function y(e){if(e=r(e.trim()),!e.startsWith(`<`)||!e.endsWith(`>`))throw TypeError(`XML start tag does not start with < and/or ends with >`);let t=!e.endsWith(`/>`);e=e.substring(1,e.length-(e.endsWith(`/>`)?2:1));let n=e.substring(0,e.indexOf(` `));return{type:n,attributes:g(e.substring(n.length)),requiresEnd:t}}function b(e){throw Error(`not implemented`)}function x(e){e=r(e.trim());let t=e.substring(0,e.indexOf(`?>`)+2);return new s(b(e.substring(t.length)),v(t))}export{a as NODEJS_CUSTOM_INSPECT_SYMBOL,o as XMLDeclaration,s as XMLDocument,h as XMLDocumentBuilder,p as XMLElement,m as XMLElementBuilder,e as XML_ESCAPE,i as XML_EXPLICIT_END_SYMBOL,t as XML_MIMETYPE,n as escapeXMLString,g as parseXMLAttributes,v as parseXMLDeclaration,x as parseXMLDocument,b as parseXMLElement,y as parseXMLStartTag,c as renderXMLAttributes,f as renderXMLDocument,d as renderXMLElement,u as renderXMLEndTag,l as renderXMLStartTag,r as unescapeXMLString};
|