[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: MSXML 3.0 XSLT. Does it work?

Subject: Re: MSXML 3.0 XSLT. Does it work?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 12 Jul 2000 10:05:52 GMT
msxml4 namespace ignore

>        <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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.