Page 1 of 1
XPATH: Syntax-Highlighting
Posted: Thu Aug 12, 2010 6:17 pm
by spyro
Complex XPATH statements could be very confusing. It would be great if Oxygen could would show the selected xpath statement in a 'editing bubble' like this:
Corresponding brackets could be hightlighted when the cursor is placed in the range between them.
Keep on the great work!
spyro
Re: XPATH: Syntax-Highlighting
Posted: Fri Aug 13, 2010 9:55 am
by sorin_ristache
Hello,
You did not include the image with the bubble example ...
Did you try
the XPath Builder view? Content completion is
available in this view based on the structure of the currently edited XML document which helps you to compose long XPath expressions. A history of past executed expressions is also kept in the view.
Regards,
Sorin
Re: XPATH: Syntax-Highlighting
Posted: Fri Aug 13, 2010 10:18 am
by spyro
Thank you. It seems, that the entire picture hosting service is offline...
Here's a mirror:
spyro
Re: XPATH: Syntax-Highlighting
Posted: Fri Aug 13, 2010 10:36 am
by sorin_ristache
Now I understand. Thank you for the image. We will consider adding syntax highlight in XPath expressions in a future version of Oxygen.
Thank you,
Sorin
Re: XPATH: Syntax-Highlighting
Posted: Tue Mar 13, 2012 5:41 pm
by adrian
Hi,
This has been implemented in version 13.2 of Oxygen:
What's new in 13.2 wrote:The syntax coloring engine was redesigned for an improved performance and a more accurate detection of the tokens. Different content types mixed in the same file are now highlighted according with the color schemes defined for each content type. Syntax highlight is available for:
- CSS, JavaScript and PHP code embedded in XHTML files
- XPath, CSS and JavaScript code in XSLT files
- XPath expressions in Schematron files
- XPath expressions in XProc files
Regards,
Adrian