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

Re: unparsed general entity in output !DOCTYPE

Subject: Re: unparsed general entity in output !DOCTYPE
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: 03 Feb 2005 19:53:15 +0000
create entity in xslt
>>>>> "Karjala" == Karjala Koponen <kkoponen@xxxxxxxxxxxxxxxx> writes:

    Karjala> I need to create an unparsed general entity in the output
    Karjala> xml DOCTYPE 'statement', as specified in our customer's
    Karjala> (Elsevier)documentation: <?xml version="1.0"
    Karjala> encoding="UTF-8"?> <!DOCTYPE serial-issue PUBLIC
    Karjala> "-//ES//DTD serials issue DTD version 5.1.0//EN//XML"
    Karjala> "si510.dtd" [<!ENTITY cover SYSTEM "cover" NDATA IMAGE>]>

What you are trying to do is to write an internal subset for the DTD.
There is not a way of doing this in XSLT that is portable across all
processors.

I know of two ways of doing this. One is to write your own output
method, if your XSLT processor enables you to do this..
A simpler way is to make use of any extension that your XSLT processor
provides - for instance, Saxon 8 has an extension specifically to do this.
-- 
Colin Paul Adams
Preston Lancashire

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.