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: MSXML 3.0 XSLT. Does it work?




>        <xsl:text disable-output-escaping="no">&lt;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

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