Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

xmlreader

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xmlreader - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

package.json
{
"name": "xmlreader",
"description": "node library to read xml the easy way",
"version": "0.2.0",
"version": "0.2.1",
"author": {

@@ -6,0 +6,0 @@ "name": "Sam Decrock",

@@ -14,3 +14,3 @@ node-xmlreader

I wanted a xml reader that's easy to use and that doesn't require tricks to access the attributes and text values of xml-nodes. Most xml parsers out there use some kind of prefix, but that's not a sound solution.
I wanted a xml reader that's easy to use and that doesn't require tricks to access the attributes and text values of xml nodes. Most xml parsers out there use some kind of prefix, but that's not a sound solution.

@@ -17,0 +17,0 @@ I'm using functions to differentiate the attributes and text from the nodes:

@@ -51,3 +51,3 @@ /*

// add the functions count() and at() to access the nodes as if there were multiple nodes of the same name:
// add the functions count() and at() to access the nodes as if they were multiple nodes of the same name:
addCountFunction(newobject);

@@ -130,4 +130,4 @@ addAtFunction(newobject);

// give the xml string to the awesome sax parser:
// pass the xml string to the awesome sax parser:
saxparser.write(xmlstring).close();
}
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