Mark Fletcher wrote:
>  
> I'd like to use an expression like parent="tgro...@cols='2']" in an
> elementTemplate and the schema is complaining. Is the attribute
> value restriction necessary, or would the xpath evaluate properly if the
> value restriction was loosened up? 

Excerpts of
http://www.xmlmind.com/xmleditor/_distrib/doc/configure/elementTemplate.html:

---
<elementTemplate
  name = NMTOKEN
  parent = XPath (*subset*)
  selectable = (false|true|override) : true
>
  Content: [ any element ]?
</elementTemplate>
---

Where the *subset* is defined in:
http://www.xmlmind.com/xmleditor/_distrib/doc/configure/documentResources.html#xpath_subset




> By the way, were you able to reproduce my findings with document() and
> different file names?

No, at least with the V3.2 I'm currently using, everything works as
expected.


Reply via email to