http://www.xmlforasp.net
probably has some samples.

http://www.daveandal.net/books/6744/samples.aspx
look at their XML samples.

The XML Control also does this see:
http://learnasp.com/freebook/learn/xml.aspx
but may not be the way you want to approach this issue. You may want
the code version.

On 6/30/05, osos_bahgat <[EMAIL PROTECTED]> wrote:
>  Hi All
>  When I'm trying to compile my class the followong error occures:
>  --------------
>  c:\inetpub\wwwroot\OnlineCommunity\Controls\Navigator.cs
>  (56): 'System.Xml.Xsl.XslTransform.Transform
>  (System.Xml.XPath.IXPathNavigable,
> System.Xml.Xsl.XsltArgumentList, 
>  System.IO.TextWriter)' is obsolete: 'You should pass XmlResolver to 
>  Transform() method'
>  --------------------
>  I'm using the following method to transform:
>  --------------
>  protected override void Render( HtmlTextWriter writer )
>              {                  
>                    XPathDocument xdoc = new XPathDocument( 
>  Context.Server.MapPath( sourceFilePath ) );
>                    XslTransform xslt = new XslTransform();
>                    xslt.Load( Context.Server.MapPath( 
>  transformFilePath ) );
>                    
>                    xslt.Transform( xdoc, null, writer );      
>              }
>  -------------------------------
>  the error in this line:
>  xslt.Transform( xdoc, null, writer );
>  
>  can anyone tell me what can I do?
>  any suggestion or modefications in the code is appriciated.
>  thanks alot


 
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