This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: key() question?


Jeni Tennison wrote:

So you can collect all the contentModel elements that don't return any
nodes when their ename attribute is passed to the
'cotentmodelbychildren' key:

  /dtd/contentModel[not(key('contentmodelbychildren', @ename))]
copy/paste - works like a charm, thanks!

I'm using this on top of http://www.apache.org/~andyc/neko/doc/dtd/index.html which is a nice Xerces XNI DTD2XML tool, and which we will be using for the documentation of the xml.apache.org-wide Forrest DTDs (http://xml.apache.org/forrest/).

Thanks again,

</Steven>
--
Steven Noels http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
stevenn@outerthought.org stevenn@apache.org


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]