XSLT and XPath syntax colouring

Here should go questions about transforming XML with XSLT and FOP.
Martin Honnen
Posts: 44

XSLT and XPath syntax colouring

Fri Dec 14, 2018 4:41 pm

Is the use of the red color for the dot and comma (after 'source-node' :) in the code snippet

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    exclude-result-prefixes="xs math"
    <xsl:template match="/" name="xsl:initial-template">
                      map {
                        'source-node' : .,
                        'stylesheet-node' : doc('foo.xsl')

intended when this is opened in the XML/XSLT editor?

Using oXygen XML Editor 20.1, build 2018101517
Posts: 160

Re: XSLT and XPath syntax colouring

Mon Dec 17, 2018 9:38 am

Hi Martin,

Thanks for the feedback.
There where some problems with the syntax highlighting in maps, some of the tokens are not painted correctly, this is why the dot is painted with red. This issue is already fixed in the current developing stream, and it will be available in the next Oxygen release.

Best Regards,
Octavian Nadolu
<oXygen/> XML Editor

Return to “XSLT and FOP”

Who is online

Users browsing this forum: No registered users and 0 guests