¿ªÔÆÌåÓý

Locked Re: Some questions about signaling and the best way to debug the layout


 

Bob,

I was able to get the browser view working. I had to change the style sheet href and disable cross-origin restrictions in the Safari Developer menu.

The XSLT appears to work OK for most things. The blocks section is not picking up the block user name or the assigned sensor. The layout editor track segment does not include block assignments. The layout turnout entry does include the first block name, but not the additional blocks for cross-overs.

I am thinking about creating a "Where Used" tool. This would replace the existing getTypeAndNames method in jmri.jmrit.beantable.Maintenance, currently accessed via the Logix Tools menu.

Dave Sand

----- Original message -----
From: Bob Jacobsen <rgj1927@...>
To: [email protected]
Subject: Re: [jmriusers] Some questions about signaling and the best way to debug the layout
Date: Saturday, February 01, 2020 1:58 PM

Sorry, I meant the various block, logic, etc, parts that live in a panel file. If that all displays nicely in a browser, then it would be easy to move around with ^F (or equivalent) to see what references a given name.

Bob

On Feb 1, 2020, at 11:13 AM, Dave Sand <ds@...> wrote:
I have not noticed any issues with displaying the signaling aspect and appearance XML files using XSLT.

If I understood correctly, Scott was looking for a global cross-reference.

The "Tools >> Find Cross References" menu item in the Logix table does this but only for a specified item. It appears to have some issues with items that have the same user name in different classes.

----- Original message -----
From: Bob Jacobsen <rgj1927@...>
To: [email protected]
Subject: Re: [jmriusers] Some questions about signaling and the best way to debug the layout
Date: Saturday, February 01, 2020 12:31 PM

Do the signaling parts of XML files display well when opening in a browser from the JMRI web server? (The file is translated via XSLT when that¡¯s done, but not all of the XSLT formatting is up to date)

Bob

On Feb 1, 2020, at 10:23 AM, Dave Sand <ds@...> wrote:

The easiest method to find references is to search the xml file. The challenge is understanding the format of the file. Also, references are sometimes by system name and sometimes by user name.

Join [email protected] to automatically receive all group messages.