Hei, how to get the meta type of an HTML Document called testdoc.html? <dtml-var "_['testdoc.html'].meta_type"> doesn't work. Renaming testdoc.html to testdoc and using <dtml-var "testdoc.meta_type"> works fine and shows the meta type "HTML Document". Any idea? Thank you Marcus -- _____________________________________ (0> Marcus Schopen //\ P.O. Box 10 25 25 V_/_ 33525 Bielefeld, Germany ICQ#120991527 _____________________________________ Live as variously as possible
Marcus Schopen writes:
how to get the meta type of an HTML Document called testdoc.html?
<dtml-var "_['testdoc.html'].meta_type"> doesn't work. "_.getitem('testdoc.html').meta_type"
See URL:http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html Dieter
Hi Dieter, thanks _.getitem('testdoc.html',0).meta_type works fine. Marcus Dieter Maurer wrote:
Marcus Schopen writes:
how to get the meta type of an HTML Document called testdoc.html?
<dtml-var "_['testdoc.html'].meta_type"> doesn't work. "_.getitem('testdoc.html').meta_type"
See
URL:http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html
Dieter
-- _____________________________________ (0> Marcus Schopen //\ P.O. Box 10 25 25 V_/_ 33525 Bielefeld, Germany ICQ#120991527 _____________________________________ Live as variously as possible
participants (2)
-
Dieter Maurer -
Marcus Schopen