Re: All teidata.pointer attributes
James Cummings <[email protected]>
| Newsgroups | gmane.text.tei.general |
|---|---|
| Message-ID | <[email protected]> |
If you want to do it programatically you could look up their datatypes in p5subset.xml on the fly. If you just want a reference then you can see all the attributes of a particular class in appendix E. e.g. http://www.tei-c.org/release/doc/tei-p5-doc/en/html/ref-teidata.pointer.html James -- Dr James Cummings, Academic IT Services, University of Oxford On 4 Feb 2017 11:54 p.m., "John P. McCaskey" <[email protected]> wrote: Running an XSL transform against a TEI document, I want to match all TEI elements that contain at least one teidata.pointer attribute. I can’t match just on attribute name. In some elements @value is a pointer, in others it’s text. Sometimes @class is a pointer, sometimes not. Is there a master list of attributes that can be pointers and the elements in which they are? (Even better if the list is in a form that makes it easy to use in an XSL match. Double extra better if you can show me the very XSLT that will copy the element and add an attribute “haspointer=’true’”!) Thanks! John