xsl-list
[Top] [All Lists]

Re: [xsl] Processing XML files with entity and notation declarations

2012-09-22 00:04:51
Hi Dvint,

There are 2 options to copy / recreate.
1. to copy you have to use unparsed-text() function and use regex to
capture the entity notation area and copy to resulting output
2. To recreate use have to use saxon:doctype. Refer this site for
example. http://saxon.sourceforge.net/saxon7.9.1/extensions.html#saxon:doctype


Regards,
Ganesh

On Sat, Sep 22, 2012 at 2:21 AM, David Carlisle 
<davidc(_at_)nag(_dot_)co(_dot_)uk> wrote:
On 21/09/2012 21:27, dvint(_at_)dvint(_dot_)com wrote:

I think the answer to my question (coming up) is going to be I have
to live with it, but I was just wondering if folks had some alternate
ideas


I'm not quite sure what the question is but I suspect the answer might
involve the functions unparsed-entity-uri() and
unparsed-entity-public-id() might be part of the answer.

David

--
google plus: https:/profiles.google.com/d.p.carlisle


--~------------------------------------------------------------------
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>
--~--