Py-Dom-XPath Ranking & Zusammenfassung
- Lizenz:
- MIT/X Consortium Lic...
- Name des Herausgebers:
- Damien Neil
- Website des Verlags:
- http://code.google.com/u/damien.neil/
Py-Dom-XPath Stichworte
Py-Dom-XPath Beschreibung
Pure Python XPath-Implementierung Py-Dom-XPath ist eine reine Python-Implementierung von XPath 1.0. Es unterstützt fast alle XPath 1.0, wobei die Hauptausnahme die Namensraumachse ist. Es arbeitet auf DOM 2.0-Knoten und funktioniert gut mit XML.DOM.MINIDOM.PY-DOM-XPATH FAHREN PYTHON 2.5- oder GRÖSSERES.Einfache Abfragen sind einfach: >>> XPath.Find ('// Artikel', doc) Die Namespaces werden vollständig unterstützt (obwohl die Namespaceachse nicht ist): >>> context = xpath.xpathcontext () >>> context.namespaces = 'http://python.example.org/' >>> context.findvalues ('// py: skit / @ name', doc) XPath-Variablen werden ebenfalls unterstützt: >>> XPath.Find ('// Kapitel ', doc, Name = 'Python') PY-DOM-XPATH verwendet Der YAPPS 2-Parsergenerator von Amit J. Patel. Anforderungen: · Python
Py-Dom-XPath Zugehörige Software