xsl-list
[Top] [All Lists]

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

2020-07-10 15:14:02
Hi Roger -

Perhaps Norm Walsh's XSLT Explorer[1] would be helpful?

Best,
Bridger
[1] https://so.nwalsh.com/2020/06/02-xsltexplorer

On Fri, Jul 10, 2020 at 2:45 PM Dr. Roger L Costello 
costello(_at_)mitre(_dot_)org <
xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> wrote:

Hi Folks,

One of the really nice features of Oxygen is that one can right-mouse
click on an element and select "Go to definition" and then Oxygen displays
the XML Schema element declaration in the XML Schema file. Kudos to the
Oxygen folks!

I want that capability in my XSLT program. That is, I want my XSLT program
to navigate through the elements in an XML document and then at each
element I'd like to be able to "Go to definition" and collect information
about the element's declaration: the schema file that the element is
contained in, minOccurs, maxOccurs, type, default, fixed, xs:annotation,
facets, and other things.

I looked into SAXON and it provides capabilities for doing the thing that
I want. It has the Schema Component Model (SCM) and the extension functions
saxon:schema() and saxon:type(). Those are excellent but unfortunately they
don't provide access to some of the items that I need such as the schema
file that the element is contained in and the xs:annotation associated to
the element.

Question: Do you have XSLT code that provides a "Go to definition"
capability?

/Roger


--~----------------------------------------------------------------
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>