This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: MSXML 3.0 XSLT. Does it work?
- To: xsl-list at mulberrytech dot com
- Subject: Re: MSXML 3.0 XSLT. Does it work?
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Wed, 12 Jul 2000 10:05:52 GMT
- References: <OF50E6378D.15E6DDAD-ONC225691A.002E14CF@ctl.com.cy>
- Reply-To: xsl-list at mulberrytech dot com
> <xsl:text disable-output-escaping="no"><MIFFile
why are you doing this instead of <MIFFile> ?
Any processor is allowed to ignore disable-output escaping and in any
case it can only work if the output is being linearised and then
reparsed as XML. This often is not the case in an embedded system
like msxml.
However the main thing wrong with your stylesheet is that
<xsl:template match="SearchSet">
matches an element SearchSet in the null namespace but your document has
<SearchSet xmlns="urn:schemas-microsoft-com:xml-data"
ie an element SearchSet in the namespace urn:schemas-microsoft-com:xml-data
so you need to have
<xsl:stylesheet version="1.0" xmlns:xsl
="http://www.w3.org/1999/XSL/Transform"
xmlns:d="urn:schemas-microsoft-com:xml-data">
<xsl:output method="html" indent="yes"/>
<xsl:template match="/">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="d:SearchSet">
etc.
David
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list