Hello,

I am trying to use xmleditor for editing Zope Page Templates. ZPT only 
adds several attributes (like tal:content, tal:replace etc.) and a few 
elements (like tal:block, metal:main) to the XHTML DTD, so I hacked the 
XHTML DTD to reflect those changes and it seems to work in general. The 
problem arises when I try to specify a style for the elements as in:

tal:block {
     display: block;
}

Here, as far as I understand, :block is interpreted as a pseudo-element 
(like :before and :after) instead of a part of the element name. I tried 
using tal instead of tal:block, but this time it would not match the 
name of the element and have no effect at all. Is there a way around this?

Thanks

-- Turgut Uyar


Reply via email to