xsl-list
[Top] [All Lists]

Re: [xsl] Seeking XSLT code that provides a "Go to definition"capability

2020-07-11 12:43:15

I’m not sure that’s possible in the general case. I forget the exact
terminology that the spec uses, but the schema components available at
runtime may be the result of the union of several different schema
files. (I haven’t looked to see if the Saxon schema component model
includes pointers to the file(s) that contributed to the component.)

We do hold systemId and line number in the compiled component model, but we 
don't expose it in either of the public APIs, so you would have to grovel 
around the Java data structures to find it.

Michael Kay
Saxonica
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--
<Prev in Thread] Current Thread [Next in Thread>