xml-twig 1.2.79 → 1.2.80

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.
Files changed (2) hide show
  1. package/README.md +4 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -230,8 +230,10 @@ With option `{ namespaces : true }` you will get access to the `.namespace` prop
230
230
  `.attribute(condition)`: Get attributes as object or `null` if no matching attribute was found. If `condition` is `undefined`, then all attributes are returned.
231
231
 
232
232
  Specify attribute name or regular expression or custom condition. For details see [AttributeCondition](./doc/twig.md#AttributeCondition).<br>
233
- Let's assume an XML element like this: `<person firstName="Jean-Luc", lastName="Picard", age="59" />`
234
-
233
+ Let's assume an XML element like this:
234
+ ```js
235
+ <person firstName="Jean-Luc", lastName="Picard", age="59" />
236
+ ```
235
237
  Here are some examples the get attribute and values:
236
238
  ```js
237
239
  .hasAttribute('foo') => false
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  },
6
6
  "name": "xml-twig",
7
7
  "description": "Node module for processing huge XML documents in tree mode",
8
- "version": "1.2.79",
8
+ "version": "1.2.80",
9
9
  "main": "twig.js",
10
10
  "directories": {
11
11
  "doc": "doc"