text vs. structure

  • Attribute values prefixed with text use value-of (default)
  • Attribute values prefixed with structure use apply-templates
<div tal:replace="text /document/header/node()"> <div tal:replace="structure /document/header/node()">
  • @tal:content="/foo/bar" and @tal:content="text /foo/bar" are the same.
  • @tal:content="structure" is the same as @tal:content="structure node()"
 
The details © copyright 2005  Bitflux GmbH