Re: This is so weird !! XSL

Discussion in 'XML' started by Julian F. Reschke, Jul 17, 2003.

  1. "Pete" <> schrieb im Newsbeitrag
    news:bf6dg6$g20$1$...
    > If i call an XML page from my browser and append xsl=blah.xsl i get the
    > correct output that im looking for.


    Because the server has special code to apply XSLT to the XML.

    > BUT
    >
    > if i call the SAME xml page by using the .load function i get a blank HTML


    I suspect you don't get anything at all because the HTML can't be processed
    by the DOM. Check the parse error property after load().

    > Doc, if i remove the xsl=blah.xsl from the end of the url string i get the
    > xml doc as it should be untransformed.
    >
    > Anyone ever heard of this before?
    > Its acting as though it hasnt found the xsl file but its right there in

    the
    > dir
    >
    > This is the line
    > doc.load("http://211.0.1.2/gateway/pineapple/getdata.xml?ContractType=" &
    > contractNode.text & "&Region=" & regionNode.text & "&XML=Y&xsl=csv.xsl")
    >
    > if i use the http request in a web browser with the relevant values in

    place
    > of the nodes i get the correct output.
    >
    > Any ideas?
    >
    >
     
    Julian F. Reschke, Jul 17, 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. Replies:
    1
    Views:
    3,637
    A. Bolmarcich
    May 27, 2005
  2. dorayme
    Replies:
    1
    Views:
    630
    richard
    Jan 21, 2011
  3. richard
    Replies:
    0
    Views:
    594
    richard
    Jan 21, 2011
  4. richard
    Replies:
    0
    Views:
    621
    richard
    Jan 21, 2011
  5. Beauregard T. Shagnasty

    Re: A Weird Appearance for a Weird Site

    Beauregard T. Shagnasty, Jan 21, 2011, in forum: HTML
    Replies:
    1
    Views:
    446
    Captain Paralytic
    Jan 21, 2011
Loading...

Share This Page