xml-twig 1.3.5 → 1.3.6
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/README.md +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -322,7 +322,7 @@ You can specify condition on above methods. You can filter elements by following
|
|
|
322
322
|
|
|
323
323
|
For details see [ElementCondition](./doc/twig.md#ElementCondition).
|
|
324
324
|
|
|
325
|
-
For methods which return a **Twig[]** array, a call like `elt.
|
|
325
|
+
For methods which return a **Twig[]** array, a call like `elt.sibling("book")` is equal to `elt.sibling().filter( x => x.name === "book" )`
|
|
326
326
|
|
|
327
327
|
For methods which return a single **Twig** element (e.g. `elt.next("book")`) the method is executed in a loop till a `<book>` element is found.
|
|
328
328
|
|