Socket
Socket
Sign inDemoInstall

pixl-xml

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pixl-xml - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc