I have the following line in some XSL.
<xsl:variable name=“path” select=“/dev/WebRsrc.nsf/”/>
When I try to transform some XML through a NotesXSLTransformer with the process method, I get the following error.
<?xml version='1.0'?>Unexpected token!
pattern = ‘/dev/WebRsrc.nsf/’(stylesheet, 6, 57)
Remaining tokens: ( ‘/’)
If I remove the forward slashes, there is no problem. I didn’t think it was necessary to escape this character. Why is the transformer objecting? Thanks.
UPDATE: My bad, I forgot to surround the variable declaration with single quotes so it was treated as a literal. Should have been as follows.
<xsl:variable name=“path” select=“‘/dev/WebRsrc.nsf/’”/>