...

View Full Version : Invalid XML???



parallon
09-11-2008, 07:00 PM
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:


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:


mysite.com/rpt_3a.asp?Package=P1&StartDate=&EndDate='

I have also tried to create a JS function to handle this using the following:


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:


link='JavaScript:SetTo('BK-MGMT')'

Any help would be appreciated,

Parallon

Alex Vincent
09-12-2008, 01:51 AM
What language is this in? Who's querying the ASP server?

parallon
09-12-2008, 03:56 AM
Actually, I found out that the charts wanted the URL in UrlEncoded format.

Thanks,

Parallon



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum