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

Re: Adding entity declarations to DOCTYPE in xml outpu

Subject: Re: Adding entity declarations to DOCTYPE in xml output
From: "Michele R Combs mrrothen@xxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 26 Feb 2019 21:05:42 -0000
Re:  Adding entity declarations to DOCTYPE in xml outpu
Now there's a thought.  I've been hesitant in the past to have a local version
of an international standard, since any release of a new version would then
require re-doing our local customizations, but it's worth considering --
especially since we're using an older (and therefore fixed) version of EAD at
this point anyway.  Thanks for the idea!

Michele

-----Original Message-----
From: David Carlisle d.p.carlisle@xxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, February 26, 2019 3:23 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  Adding entity declarations to DOCTYPE in xml output

Do you have to have it as

<!DOCTYPE ead PUBLIC "+//ISBN 1-931666-00-8//DTD ead.dtd (Encoded Archival
Description (EAD) Version 2002)//EN" "../ead_dtd/ead.dtd" [ <!ENTITY sua_name
SYSTEM "sua_name.txt"> <!ENTITY sua_address SYSTEM "sua_address.txt"> <!ENTITY
subjindex SYSTEM "sua_index.txt"> <!ENTITY summitref SYSTEM "summit_ref.txt">
]>

or can you re-arrange to

<!DOCTYPE ead SYSTEM "ead-local.dtd">


where ead-local.dtd is something like

<!ENTITY % ead PUBLIC "+//ISBN 1-931666-00-8//DTD ead.dtd (Encoded Archival
Description (EAD) Version 2002)//EN" "../ead_dtd/ead.dtd" > <!ENTITY sua_name
SYSTEM "sua_name.txt"> <!ENTITY sua_address SYSTEM "sua_address.txt"> <!ENTITY
subjindex SYSTEM "sua_index.txt"> <!ENTITY summitref SYSTEM "summit_ref.txt">
%ead;



That way you just need to specify ead-local.dtd  to xslt via doctype-system.

David

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.