[Twisted-Python] container elements in domtemplate
Glyph Lefkowitz
glyph at twistedmatrix.com
Sat Sep 7 14:30:56 MDT 2002
On 07 Sep 2002 13:24:25 -0700, Kevin Turner <acapnotic at twistedmatrix.com> wrote:
> <foo>stuff<bar>things</bar></foo>
> How do I replace "stuff" in the template without clearing the entire foo
> node, thus destroyng bar and depriving me of the opportunity to insert
> "things"?
That depends.
What about this case:
<foo>stuff<bar>things</bar>spam</foo>
Do you want to replace stuff *and* spam? Or only stuff, or only spam, or both?
It sounds like you want to be reading some DOM documentation; this isn't really
specific to webmvc.
--
| <`'> | Glyph Lefkowitz: Traveling Sorcerer |
| < _/ > | Lead Developer, the Twisted project |
| < ___/ > | http://www.twistedmatrix.com |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: </pipermail/twisted-python/attachments/20020907/e911cb6b/attachment.sig>
More information about the Twisted-Python
mailing list