Michael Huebner wrote: > Hi, > > -----Original Message----- > From: Hussein Shafie [mailto:hussein at pixware.fr] > Sent: 17. juni 2003 13:29 > To: Kevin Flynn > Cc: xmleditor-support at xmlmind.com > Subject: Re: [XXE] Some wishes > > > Kevin Flynn wrote: > >+ 1 ... > >+ - the ability to filter the ID elements displayed in the menu (using > an XPath expression or even just an element name)? > >+ > >+ I use ID/IDREF for a variety of different purposes in my documents, > and it > >+ would be great to be able to display only the IDs that are actually of > >+ interest in a given context. > >+ > >+ 2 An XXE-CSS command that enabled the display of an element to be > >+ constructed from the result of an XPath expression would be great > (one could > >+ then, for example, display the actual title of a cross-referenced > section). > >+ I know XXE only implements a subset of XPath, but even a subset would > >+ presumably open up quite a few possibilities... > > + I don't think that the subset of XPath currently implemented in XXE is > + powerful enough. You could just use it to search an element or an > + attribute in the *subtree* of the element which is the target of the CSS > + rule. And for what you want to do, this is not enough. > > I have the same needs: > 1. to filter the ID elements for set-attribute-button() (e.g. by element > name e.g. "tag", i.e as XPath "//tag/@id-attr") (important and > urgent for me) > Initially the name of the ID attribute can be ignored. But for > compatibility with XPath it should be specified. > 2. the possibility to display in the styled view some attributes of an > object referred by means of IDREF. (important, but not so urgent for me) > A consequence of this would be the wish to have the possibility to > display these attributes also in the ID selection list (hence becoming a > kind of ID selection table). > > When will there be a solution available?
In principle, we do not disclose what we are doing (because we may delay certain features indefinitely). * V2.6 should include a *full* implementation of XPath 1.0. * It should be possible to use XPath in CSS style sheets to do things similar to what Kevin Flynn and you have described. V2.6 is not expected before February 2004. > Btw. in XML schema there is an appropriate mechanism to define keys and > references as a solution to 1. > http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions > Is this mechanism exploited in XMLmind Professional? XMLmind XML Editor, both editions, fully implements XML Schemas and this includes identity constraints. Free Standard Edition is just restricted by the fact that XML Schemas must have certain target namespaces. See http://www.xmlmind.com/xmleditor/stdedition.html

