Re: [xsl] How to disable/turn off the inclusion of DTD in html/xhtml to xml

Subject: Re: [xsl] How to disable/turn off the inclusion of DTD in html/xhtml to xml
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 23 Jul 2010 12:00:37 +0100
On 23/07/2010 07:55, Jack Bush wrote:
The main source is as follows. I have deliverately added the DTD entry into
polist.xml:

why? (not having the dtd would simplify things, and it isn't html)


> None of the secondary sources have DTD entry in them.
>


I would guess the "line 17" on which the error is reported is


    <xsl:apply-templates
>             select="document(@filename)/purchase-order"/>


which is processing filename="///C:/temp/XSLT-2E-examples/Chapter8/po38292.xml"/>

I'm surprised that that should fail although the URi is in error, it should be

filename="file:///C:/temp/XSLT-2E-examples/Chapter8/po38292.xml"/>

if it is intended to be an absolute URI or


other than that I give up, sorry.


David


________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. ________________________________________________________________________


Current Thread