Subject: Re: XDR vs DTD with MSXML3...
From: Jeni Tennison <mail@xxxxxxxxxxxxxxxx>
Date: Fri, 25 Aug 2000 21:26:19 +0100
|
Paul,
>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...
Have you defined the "x-schema:wtdocs.xdr" namespace within your
stylesheet? When you do:
><DOCUMENT xmlns="x-schema:wtdocs.xdr">
> <!-- other nodes here.... -->
></DOCUMENT>
You're defining the default namespace to be "x-schema:wtdocs.xdr". You
need to similarly define the default namespace within the stylesheet,
otherwise the stylesheet doesn't know that you're referring to the same
elements.
I hope that works,
Jeni
Jeni Tennison
http://www.jenitennison.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|