xsl-list
[Top] [All Lists]

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

2010-07-23 06:00:54
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. ________________________________________________________________________

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