Chris Withers has suggested extending the DTML Entity syntax to include
traversal information.

For example: &dtml-foo/bar/baz;

I just checked the XML standard. This isn't allowed in XML entities.

  http://www.w3.org/TR/1998/REC-xml-19980210#NT-Nmtoken

  EntityRef ::= '&' Name ';'

  NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' | CombiningChar
               | Extender
  
  Name ::= (Letter | '_' | ':') (NameChar)*

However, we could consider &dtml-foo.bar.baz; instead.

I can't think of a nice alternative to mean &dtml-/foo/bar/baz; "from
the root, traverse as follows".

--
Steve Alexander
Software Engineer
Cat-Box limited
http://www.cat-box.net

_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to