Bill Fenner wrote: > Does the XPath subset for parent in elementTemplate permit selecting > by attribute? In the xml2rfc format, <t> has an optional "hangText" > attribute if the parent <list> has style="hanging"; I tried > > <elementTemplate name="hanging" selectable="override" xmlns="" > parent="li...@style='hanging']"> > <t hangText="???"> </t></elementTemplate> > > but xxe gave the "missing or invalid parent" error on startup; I see > in the configure documentation that parent supports "XPath (subset)" > but it's not clear what the subset might be.
That's right. This subset should be documented. The subset is the one defined in http://www.w3.org/TR/xmlschema-1/#c-selector-xpath except that absolute XPaths (/foo/bar, //bar, etc) are also supported. That's why parent="li...@style='hanging']" is rejected.

