Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: Invalid XML???

  1. #1
    Regular Coder
    Join Date
    May 2005
    Posts
    215
    Thanks
    14
    Thanked 0 Times in 0 Posts

    Invalid XML???

    Hello all. I am using a chart which reads XML data to create the chart. ONe of the options is to click on a section of the chart and "Drill Down" to more info. Anyways, when I try to create the link, I am getting an "Invalid XML" message. When I view the source of the page, it looks correct.

    Here is what I would like to do:

    Code:
    link='http://mysite.com/rpt_3a.asp?Package=" & LaborArray(x,1) & "&StartDate=" & vStart & "&EndDate=" & vEnd &"
    ... but when I view the source of the page, I get the following:

    Code:
    mysite.com/rpt_3a.asp?Package=P1&StartDate=&EndDate='
    I have also tried to create a JS function to handle this using the following:

    Code:
    link='JavaScript:SetTo('" & LaborArray(x,1) & "')'
    ... but I am still getting the Invalid XML error generated by the chart even though when I view the source of the page it looks like the following:

    Code:
    link='JavaScript:SetTo('BK-MGMT')'
    Any help would be appreciated,

    Parallon

  • #2
    Moderator
    Join Date
    May 2002
    Location
    Hayward, CA
    Posts
    1,453
    Thanks
    1
    Thanked 21 Times in 19 Posts
    What language is this in? Who's querying the ASP server?
    "The first step to confirming there is a bug in someone else's work is confirming there are no bugs in your own."
    June 30, 2001
    author, Verbosio prototype XML Editor
    author, JavaScript Developer's Dictionary
    https://alexvincent.us/blog

  • #3
    Regular Coder
    Join Date
    May 2005
    Posts
    215
    Thanks
    14
    Thanked 0 Times in 0 Posts
    Actually, I found out that the charts wanted the URL in UrlEncoded format.

    Thanks,

    Parallon


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •