Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries [Thread Prev] >Thread Next - Re: Including entity info in head of stylesheet Including entity info in head of stylesheetTo: NULL Date: 11/7/2005 4:17:00 AM Hi there,
I have a bunch of XSL documents which are all ccomponents of a single
bigger one. Depending on certain critera different XSL templates are
called in and rules are broken down into different files so we end up
with a more object based approach.
Something that has come up is that we have had to define a bunch of
different entities which are are doing at the top of the XSL doc where
it is needed - thus:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xsl:stylesheet [
<!ENTITY copy "©">
<!-- copyright symbol -->
<!ENTITY infin "∞">
<!-- infinity symbol -->
<!ENTITY nbsp " ">
<!-- space -->
]>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"xmlns:fo="http://www.w3.org/1999/XSL/Format">
Is not an uncommon set of entities to find at the start of a document.
Originally I had thought if we put the entities at the top of the
master document then they would be used across all the subsequently
included ones as well but that isn't the case.
For the life of me though I can't find out how to "include" a doctype
set of entities that we can store in an external file, build up a
master list and then drop into every other file as a library.
Does anyone know how to do this?
Cheers
AndrewF
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
