Subject: Re: Declaring internal entities in an xsl-file
From: "Steve Muench" <smuench@xxxxxxxxxxxxx>
Date: Fri, 4 Feb 2000 10:51:07 -0800
|
<?xml version="1.0"?>
<!DOCTYPE xsl:stylesheet [
<!ENTITY foo "foovalue">
<!ENTITY bar "barvalue">
]>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
:
<something attr="&foo;"/>
:
</xsl:stylesheet>
_________________________________________________________
Steve Muench, Consulting Product Manager & XML Evangelist
Business Components for Java Development Team
http://technet.oracle.com/tech/java
http://technet.oracle.com/tech/xml
----- Original Message -----
From: "Mattias Beermann" <webmaster@xxxxxxxx>
To: "Xsl-List" <xsl-list@xxxxxxxxxxxxxxxx>
Sent: Friday, February 04, 2000 10:31 AM
Subject: Declaring internal entities in an xsl-file
| I have an xsl-file that transforms an xml-file into xhtml. In this xsl-file
| I want to specify some internal entities for font face and font size, so
| that I only need to change it at one place. Is there any way I can declare
| just the entities without having a "real" dtd?
|
| If not, how can I specify booth the xsl dtd and the xhtml dtd, and where can
| I find these dtds?
|
| - Mattias
|
|
| XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|