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

Adding entity declarations to DOCTYPE in xml output

Subject: Adding entity declarations to DOCTYPE in xml output
From: "Michele R Combs mrrothen@xxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 25 Feb 2019 21:14:55 -0000
 Adding entity declarations to DOCTYPE in xml output
Hello collective wisdom -

I would like to have several entity declarations in my output XML.  Here's
what I currently have in my XSL:

<xsl:output
   method="xml"
   indent="yes"
   encoding="utf-8"
   exclude-result-prefixes="ns"
   omit-xml-declaration="yes"
   doctype-system="../ead_dtd/ead.dtd"
   doctype-public="+//ISBN 1-931666-00-8//DTD ead.dtd (Encoded Archival
Description (EAD) Version 2002)//EN"/>


The output XML looks like this:

<!DOCTYPE ead PUBLIC "+//ISBN 1-931666-00-8//DTD ead.dtd (Encoded Archival
Description (EAD) Version 2002)//EN" "../ead_dtd/ead.dtd">


I would like it to look like this:

<!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">
]>


Is this doable with XSL 1.1?

Thanks --

Michele
+++++++++
Michele Combs | Lead Archivist
Special Collections Research Center
Syracuse University Libraries
222 Waverly Ave
Syracuse, New York 13244
t 315.443-2081 | e mrrothen@xxxxxxx<mailto:mrrothen@xxxxxxx> | w scrc.syr.edu
SYRACUSE UNIVERSITY
syr.edu

[demime 1.01d removed an attachment of type application/ms-tnef which had a name of winmail.dat]

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.