[Pkg-javascript-commits] [ltx] 197/469: added method description

Jonas Smedegaard dr at jones.dk
Wed Aug 31 13:02:51 UTC 2016


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository ltx.

commit a499164dbf7a2960fa2debf0490759ceab4121cf
Author: Markus Kohlhase <mail at markus-kohlhase.de>
Date:   Sun Dec 18 16:13:45 2011 +0100

    added method description
---
 README.markdown | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/README.markdown b/README.markdown
index 741dd88..1abbc76 100644
--- a/README.markdown
+++ b/README.markdown
@@ -11,8 +11,10 @@
 * `getName()`: name without ns prefix
 * `getNS()`: element's xmlns, respects prefixes and searches upwards
 * `findNS(prefix?)`: search for xmlns of a prefix upwards
-* `getChild(name, xmlns?)`: find one children
+* `getChild(name, xmlns?)`: find first children
 * `getChildren(name, xmlns?)`: find all children
+* `getChildByAttr(attr, value, xmlns?)`: find first children by a specific attribute
+* `getChildrenByAttr(attr, value, xmlns?)`: find all children by a specific attribute
 * `getText()`: appends all text nodes recursively
 * `getChildText(name)`: a child's text contents
 * `root()`: uppermost parent in the tree

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/ltx.git



More information about the Pkg-javascript-commits mailing list