[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: parsed entites

Subject: RE: parsed entites
From: "Richard Lander" <rlander@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 17 Nov 1999 16:47:57 -0500
free lander
 Alexandra,

Yes you can ... DTDs are not external files. DTDs are the combination of
external and internal subsets. Documents often only refer to an external
.dtd file, but they can just as easily make use of the internal subset, in
addition to or instead of the external subset. There are a couple more rules
associated with internal subset declarations, such as with the use of
parameter entities, but don't get worried about that yet.

Assuming that you want to declare an entity called 'test', try:

<?xml version='1.0' standalone='no'?>
<!DOCTYPE xsl:stylesheet [

<!ENTITY test  "neat stuff!" >
<!--more entities and attribute declarations ... even elements -->
]>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
		xmlns:xtfile="http://www.jclark.com/xt/java/java.io.File"
		version="1.0"
                xmlns:xt="http://www.jclark.com/xt"
                extension-element-prefixes="xt">

You may have different attributes within your xsl:stylesheet element, but
the point remains the same.

Good luck,

Richard.

-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of Alexandra Morgan
Sent: Wednesday, November 17, 1999 4:21 PM
To: xsl-list@xxxxxxxxxxxxxxxx
Subject: parsed entites


As I understand it, entities have to be declared inside the DOCTYPE. But my
stylesheets don't have a DTD. Can I have a DOCTYPE without having a DTD?



***********************************
chickclick.com
http://www.chickclick.com
girl sites that don't fake it.
http://www.chickmail.com
sign up for your free email.
***********************************


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.