XSLT and XPath syntax colouring

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

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"
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
tavy
Posts: 169

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
Octavian Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com

Return to “XSLT and FOP”

Who is online

Users browsing this forum: No registered users and 0 guests