xsl-list
[Top] [All Lists]

Re: unparsed general entity in output !DOCTYPE

2005-02-03 13:58:03
Colin,

Thanks for your answer.  Since this is the second time I've beat my head 
against the wall to get something that is not available with standard 
transforms I'm clearly being driven in the direction of using more advanced 
tools, like Saxon.

Thanks again, Karjala


colin(_at_)colina(_dot_)demon(_dot_)co(_dot_)uk 02/03/2005 2:53:15 PM >>>
"Karjala" == Karjala Koponen <kkoponen(_at_)capcitypress(_dot_)com> 
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list 
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/ 
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--





--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--