I need your help. I use lxml library to parsing dtd file.
How can i get c subexpression in this example?
dtd = etree.DTD(StringIO('<!ELEMENT a (b,c,d)>'))
I try this
content = dtd.elements()[0].content
left, right = content.left, content.right
but it left of right subexpression.
http://lxml.de/validation.html#id1