.Net 1.1 Compliant XSLT transform

Discussion in 'ASP .Net Web Controls' started by Actionscript Question..., Jul 24, 2003.

  1. Can anyone tell me what

    private XmlReader transformXml(string _xmlfilename)
    {
    HttpContext Context = HttpContext.Current;
    XslTransform xslt = new XslTransform();
    string appPath = Context.Request.ServerVariables["APPL_PHYSICAL_PATH"].ToString();
    xslt.Load(appPath+"\\xml\\"+ xslFile);
    XPathDocument xpathDoc = new XPathDocument(_xmlfilename);
    return xslt.Transform(xpathDoc,null);
    }

    should be to not give me obsolete messages. The xml file is local, and
    trusted, and I don't see how I can add a relevent XMLResolver.

    Any ideas?

    TIA
     
    Actionscript Question..., Jul 24, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Isambella  via DotNetMonster.com

    Transform XML string using XSLT file

    Isambella via DotNetMonster.com, Aug 1, 2005, in forum: ASP .Net
    Replies:
    4
    Views:
    9,771
    Isambella via DotNetMonster.com
    Aug 2, 2005
  2. Igor
    Replies:
    1
    Views:
    4,997
    Dimitre Novatchev
    Jul 20, 2003
  3. David
    Replies:
    1
    Views:
    735
    Martin Honnen
    Apr 3, 2004
  4. Gary Huntress

    XSLT Transform Vector to Array

    Gary Huntress, Aug 13, 2004, in forum: XML
    Replies:
    6
    Views:
    1,150
    Robin Johnson
    Aug 17, 2004
  5. chris yoker
    Replies:
    3
    Views:
    389
    chris yoker
    Jan 18, 2005
Loading...

Share This Page