Re: [xsl] dtd in pasp file

Subject: Re: [xsl] dtd in pasp file
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 5 Jul 2001 15:32:22 +0100
>>> Line 4:    <%

> i think it's because the dtd doesn't validate the asp code.

Not really. A DTD relates to XML validity, but if the file contains <%
then it is not even well formed (ie it isn't XML at all).

The (p)asp file isn't XML but if the instructions contained within the
<% sections are evaluated then the result might be XML and you may be
able to pass that result to a validating parser which will read the DTD.

You asked this on the XSL list, but there doesn't appear to be any XSL
context to your question.

If you are trying to use xsl to write out the <% sections then either 
you need to use the text output method (as it isn't XML) or you may be
able to use disable-output-encoding="yes" to write out &lt;% as <%.


This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:

Current Thread