summaryrefslogtreecommitdiff
path: root/docs/tutorials/lxmlgraph/background.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2008-07-25 00:14:11 +0000
committerChris McDonough <chrism@agendaless.com>2008-07-25 00:14:11 +0000
commit3c40c67500a765909d07c80339a76ede245a1d09 (patch)
tree44b4c7e60a61d0d20b74e97de9a976f3f35ddb4b /docs/tutorials/lxmlgraph/background.rst
parent0fc14981f389a3da34ef2c3e3c53ae84ae79d2c8 (diff)
downloadpyramid-3c40c67500a765909d07c80339a76ede245a1d09.tar.gz
pyramid-3c40c67500a765909d07c80339a76ede245a1d09.tar.bz2
pyramid-3c40c67500a765909d07c80339a76ede245a1d09.zip
More glossary lovin.
Diffstat (limited to 'docs/tutorials/lxmlgraph/background.rst')
-rw-r--r--docs/tutorials/lxmlgraph/background.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/tutorials/lxmlgraph/background.rst b/docs/tutorials/lxmlgraph/background.rst
index 8fb2345ac..3413e0a9d 100644
--- a/docs/tutorials/lxmlgraph/background.rst
+++ b/docs/tutorials/lxmlgraph/background.rst
@@ -14,7 +14,7 @@ In summary:
- Represent a hierarchical site as hierarchical XML
- - Inject ``repoze.bfg`` semantics into elements using ``lxml``
+ - Inject ``repoze.bfg`` semantics into elements using :term:`lxml`
- Support flexible-but-fast rendering with XSLT
@@ -60,7 +60,7 @@ this method. Moreover, I want some specific behavior: run an XPath
express on the node to get the child with the ``@name`` attribute
matching the URL hop.
-Fortunately ``lxml`` makes this easy. I can inject my nodes with a
+Fortunately :term:`lxml` makes this easy. I can inject my nodes with a
class that I write, thus providing my own ``__getitem__`` behavior.
That class can also assert that my XML nodes provide an interface.
@@ -71,7 +71,7 @@ Neato torpedo. And stinking fast.
Next up, I need to provide views for the elements in the model. I
could, for example, use ZPT and manipulate the XML data using Python
-expressions against the lxml API. Or, I could use XSLT.
+expressions against the :term:`lxml` API. Or, I could use XSLT.
For the latter, I could register a different XSLT for every "view" on
every interface. Or, I could write one big XSLT, and let its template
@@ -95,7 +95,7 @@ investigations:
property, I can store ACL information on a single node, on an
ancestor, on the ``<site>`` root, on the Python class, or any
combination thereof. Additionally, I can wire up the
- ``__parent__`` attribute as a property that makes an lxml
+ ``__parent__`` attribute as a property that makes an :term:`lxml`
``node.getparent()`` call.
#. **Multiple views**. Instead of just having a single default view