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

Subject: Re: [xsl] Seeking XSLT code that provides a "Go to definition"capability
From: "Michael Kay mike@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 11 Jul 2020 17:43:06 -0000
> Ibm not sure thatbs 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 havenbt 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

Current Thread