This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Declaring internal entities in an xsl-file


<?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@intus.se>
To: "Xsl-List" <xsl-list@mulberrytech.com>
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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]