Mitar
2011-02-10 23:34:39 UTC
Hi!
I have just discovered that one XPath/Genshi query I was using with
new version of Genshi (0.6.1) works differently than my old version
(0.5.1), but I believe previous behavior was the correct one.
Concretely, this query in site.html removes all <li> elements after
mainnav div and not just its descendants:
<py:match path="div[@id='mainnav']//li" />
So also <li> elements in ctxtnav and altlinks are removed.
Mitar
I have just discovered that one XPath/Genshi query I was using with
new version of Genshi (0.6.1) works differently than my old version
(0.5.1), but I believe previous behavior was the correct one.
Concretely, this query in site.html removes all <li> elements after
mainnav div and not just its descendants:
<py:match path="div[@id='mainnav']//li" />
So also <li> elements in ctxtnav and altlinks are removed.
Mitar
--
You received this message because you are subscribed to the Google Groups "Genshi" group.
To post to this group, send email to ***@googlegroups.com.
To unsubscribe from this group, send email to genshi+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/genshi?hl=en.
You received this message because you are subscribed to the Google Groups "Genshi" group.
To post to this group, send email to ***@googlegroups.com.
To unsubscribe from this group, send email to genshi+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/genshi?hl=en.