Register
Login
Search
Forum
Home
Products
Downloads
Forum
Learn
Forum
Search
Forum Home
XML Lab Products
nxslt
cannot import c...
cannot import character maps
Zef
5 posts
Joined
1/18/2007
cannot import character maps
Posted: 24 Oct 07 5:09 AM (Netherlands)
Hi Oleg,
i've been playing with the new and very useful character mapping feature.
As long as the actual mapping is declared within the main xsl transformation, the feature works as expected. However if I move the mapping declaration to an external file that is imported by the main transformation, e.g.
<xsl:import href="xhtml1-lat1map.xsl" />
where "xhtml1-lat1map.xsl" looks like this:
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:nxslt="http://www.xmllab.net/nxslt">
<nxslt:character-map name="xhtml1-lat1">
<nxslt:output-character character="á"
string="&aacute;"/>
<!-- ... more ... -->
</nxslt:character-map>
</xsl:stylesheet>
then nxslt apparently no longer resolves the mapping, but aborts with the following error message:
System.Xml.Xsl.XsltCompileException:
Unknown character map 'xhtml1-lat1'
What am I doing wrong here? Or is this not (yet) supported?
Zef
Page 1 of 1
XML Lab Products
nxslt
cannot import c...
Flat View
Tree View
Oldest To Newest
Newest To Oldest
Forum Home
Search
Terms Of Use
Privacy Statement
©2005 Oleg Tkachenko