Dean,
  I will give you the errors in the order as I fix them:

System.Xml.Xsl.XsltException: Missing mandatory attribute 'version'.
-I add version = 1.0"

Then I get 
System.Xml.Xsl.XsltException: The wrong namespace was used for XSL. 
Use 'http://www.w3.org/1999/XSL/Transform'.
so I change
xmlns:xsl="http://www.w3.org/TR/WD-xsl"; 
to
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";


then I get
System.Xml.Xsl.XsltException: An xsl:template requires at least a 
match or name attribute.

the first template is this:

<xsl:template>
        <xsl:apply-templates/>
</xsl:template>

so I stop there and throw up my hands.




--- In [email protected], Dean Fiala 
<[EMAIL PROTECTED]> wrote:
> What is the error?
> Do you have a custom namespace defined in the stylesheet?  If so 
you
> will need to load using the namespace manager.
> 
> 
> On Thu, 10 Mar 2005 13:50:44 -0000, scaevola637 <[EMAIL PROTECTED]> 
wrote:
> > 
> > 
> > In spite of what the documentation says I have a MSXML Style 
Sheet
> > that will not load with the new .net classes.
> > 
> >        protected XslTransform xslt = new XslTransform();
> > xlst.Load(mystylesheet.xsl);  <-- does not load
> > 
> > it does load when :
> > 
> > objXSL = Server.CreateObject("MSXML.DOMDocument");
> > objXSL.Load(mystylesheet.xsl) <--- does load
> > 
> > any ideas?
> > 
> > 
> > Yahoo! Groups Links
> > 
> > 
> > 
> > 
> > 
> 
> 
> -- 
> Dean Fiala
> Very Practical Software, Inc
> http://www.vpsw.com





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to