xsl-list
[Top] [All Lists]

Re: [xsl] Adding entity declarations to DOCTYPE in xml output

2019-02-26 15:08:06
Ah, wait, I see what you're suggesting: not *changing* it to a local version, 
but referencing it *along with* our local additions.  Even better!

Sorry for being dense there.  End of the day, my brain is tired.

Michele

-----Original Message-----
From: Michele R Combs 
Sent: Tuesday, February 26, 2019 4:05 PM
To: 'xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com' 
<xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Subject: RE: [xsl] Adding entity declarations to DOCTYPE in xml output

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(_dot_)p(_dot_)carlisle(_at_)gmail(_dot_)com 
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> 
Sent: Tuesday, February 26, 2019 3:23 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] 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

--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>