Hi
I use:
-----------------------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xsl:stylesheet [
<!ENTITY nbsp " ">
<!ENTITY nl "
">
<!ENTITY pound "£">
<!ENTITY copy "©">
]>
...
-----------------------
to define entities.
Is it possible to define entities in external file?
Somthing like this:
----------------------
-- entities.xsl ---
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xsl:stylesheet [
<!ENTITY nbsp " ">
<!ENTITY nl "
">
<!ENTITY pound "£">
<!ENTITY copy "©">
]>
<xsl:stylesheet
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"/>
---------------
-- file1.xsl ---
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xsl:stylesheet>
<xsl:stylesheet
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" encoding="utf-8"/>
<xsl:include href="file://entities.xsl"/>
<xsl:template match="/">
...
...
</xsl:template>
---------------
----------------------
With best regards,
Alexander Veremyev.