Comparing version 1.0.8 to 1.0.9
{ | ||
"name": "pixl-xml", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "A simple module for parsing and composing XML.", | ||
@@ -5,0 +5,0 @@ "author": "Joseph Huckaby <jhuckaby@gmail.com>", |
@@ -30,3 +30,3 @@ # Overview | ||
The simplified API provides basic `parse()` and `stringify()` functions for parsing and serializing XML. | ||
The simplified API provides basic `XML.parse()` and `XML.stringify()` standalone functions for parsing and serializing XML. Also see the [Object-Oriented API](#object-oriented-api) below, for more control over your XML. | ||
@@ -202,3 +202,3 @@ Parse some XML by passing a string to `XML.parse()`: | ||
The main reason for using this API is that it preserves any PI (Processing Instructions) and DTD (Document Type Definition) elements in the source XML file, and they will be serialized into the output. Example: | ||
The main reason for using this API is that it preserves any PI ([Processing Instruction](https://en.wikipedia.org/wiki/Processing_Instruction)) and DTD ([Document Type Definition](https://en.wikipedia.org/wiki/Document_type_definition)) elements in the source XML file, and they will be serialized into the output. Example: | ||
@@ -237,3 +237,3 @@ ```js | ||
To manipulate the PI nodes, access the `piNodeList` property. It is an array of strings, each one representing one raw PI node sans the surrounding angle brackets, e.g. `?xml version="1.0"?`. Similarly, any DTD nodes are stored in the `dtdNodeList` property (also an array). Feel free to change these to customize your serialized XML document. | ||
To manipulate the PI nodes, access the `piNodeList` property on your parser object. It is an array of strings, each one representing one raw PI node sans the surrounding angle brackets, e.g. `?xml version="1.0"?`. Similarly, any DTD nodes are stored in a `dtdNodeList` property (also an array). Feel free to change these to customize your serialized XML documents. | ||
@@ -240,0 +240,0 @@ ```js |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30183