Page 1 of 1

XSLT and XPath syntax colouring

Posted: Fri Dec 14, 2018 4:41 pm
by Martin Honnen
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"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:math="http://www.w3.org/2005/xpath-functions/math"
exclude-result-prefixes="xs math"
version="3.0">

<xsl:template match="/" name="xsl:initial-template">
<xsl:sequence
select="transform(
map {
'source-node' : .,
'stylesheet-node' : doc('foo.xsl')
}
)?output"/>
</xsl:template>

</xsl:stylesheet>
intended when this is opened in the XML/XSLT editor?

Using oXygen XML Editor 20.1, build 2018101517

Re: XSLT and XPath syntax colouring

Posted: Mon Dec 17, 2018 9:38 am
by tavy
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