|
Subject: XDR vs DTD with MSXML3... From: "Paul Hammond" <paul@xxxxxxxxxxxxxxx> Date: Fri, 25 Aug 2000 17:24:48 +0100 |
Hey guys,
Having a bit of trouble with using a stylesheet and an XDR with MSXML3.
My XML file looks like this:
<?xml version="1.0"?>
<DOCUMENT xmlns="x-schema:wtdocs.xdr">
<!-- other nodes here.... -->
</DOCUMENT>
When I transform the XML using an XSLT stylesheet from within ASP using
MSXML3 DOM, no patterns seem to get matched and I get no output... Example
of the ASP is:
<%
set oXML=Server.CreateObject("MSXML2.DOMDocument.3.0")
set oXSL=Server.CreateObject("MSXML2.DOMDocument.3.0")
oXML.async=false
oXSL.async=false
oXML.load("file.xml")
oXSL.load("doc.xsl")
sStr=oXML.transformNode(oXSL)
response.write sStr
%>
If I remove the reference to xmlns="x-schema..." and put a
<!DOCTYPE DOCUMENT SYSTEM "wtdocs.dtd">
in instead (the DTD is exactly equivalent), the matching seems to work and I
get my desired output...
Hope that is enough info... Any ideas why using XDR seems to be causing me
problems??
Thanks in advance...
PH
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| xsl:namespace-alias in Xalan, Julian Reschke | Thread | How to remove duplicates nodes?, Joel Riedesel |
| Re: using xsl:number, Gary L Peskin | Date | [no subject], V.Vasant |
| Month |