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

Subject: Re: [xsl] Processing XML files with entity and notation declarations
From: Ganesh Babu N <nbabuganesh@xxxxxxxxx>
Date: Sat, 22 Sep 2012 10:34:35 +0530
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@xxxxxxxxx> wrote:
> On 21/09/2012 21:27, dvint@xxxxxxxxx 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

Current Thread