This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: XDR vs DTD with MSXML3...
- To: "Paul Hammond" <paul at crazyturtle dot com>
- Subject: Re: XDR vs DTD with MSXML3...
- From: Jeni Tennison <mail at jenitennison dot com>
- Date: Fri, 25 Aug 2000 21:26:19 +0100
- Cc: <xsl-list at mulberrytech dot com>
- References: <NCBBIPMOPKLLGKJPBINCMEIFELAA.julian.reschke@gmx.de>
- Reply-To: xsl-list at mulberrytech dot com
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