This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: XDR vs DTD with MSXML3...


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]