XSLT and XPath syntax colouring
Posted: 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
intended when this is opened in the XML/XSLT editor?
Using oXygen XML Editor 20.1, build 2018101517

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>
Using oXygen XML Editor 20.1, build 2018101517