问题描述
当我想用经典的asp访问xml数据时,会看到这个错误。
我的 XML :
var table = $("#example").DataTable();
class IonRangeWrapper {
inputFrom = null;
inputTo = null;
table = null;
slider_range = { from: 0,to: 0 };
constructor(range,min,max,inputFrom,inputTo,table) {
var _this = this;
this.inputFrom = inputFrom;
this.inputTo = inputTo;
this.table = table;
range.ionRangeSlider({
type: "double",min: min,max: max,from: min,to: max,onStart: (data) => _this.update(data),onFinish: (data) => _this.update(data)
});
var instance = range.data("ionRangeSlider");
inputFrom.on("input",function () {
var { to } = _this.slider_range;
var val = $(this).prop("value");
if (val < min) { val = min; }
else if (val > to) { val = to; }
instance.update({ from: val });
});
inputTo.on("input",function () {
var { from } = _this.slider_range;
var val = $(this).prop("value");
if (val < from) { val = from; }
else if (val > max) { val = max; }
instance.update({ to: val });
});
}
update(data) {
var from = data.from;
var to = data.to;
this.slider_range = { from,to };
this.inputFrom.prop("value",from);
this.inputTo.prop("value",to);
this.table.draw();
}
}
// Age Slider
var rangeAge = $(".rangeAge");
var inputFromAge = $(".inputFromAge");
var inputToAge = $(".inputToAge");
var minAge = 10;
var maxAge = 70;
new IonRangeWrapper(rangeAge,minAge,maxAge,inputFromAge,inputToAge,table);
我的代码:
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GenerateQRCodeWithSessionResponse xmlns="WebServices">
<GenerateQRCodeWithSessionResult>
<TicketDetail>
<Code>0</Code>
<Status>string</Status>
<EventName>string</EventName>
<Stadium>string</Stadium>
<TicketNumber>123</TicketNumber>
<TicketRate>string</TicketRate>
<MatchName>string</MatchName>
<MatchTime>string</MatchTime>
<FreeTicket>boolean</FreeTicket>
<GateNumber>string</GateNumber>
<QRCode>string</QRCode>
<AvailableTicket>string</AvailableTicket>
</TicketDetail>
<TicketDetail>
<Code>string</Code>
<Status>string</Status>
<EventName>string</EventName>
<Stadium>string</Stadium>
<TicketNumber>string</TicketNumber>
<TicketRate>string</TicketRate>
<MatchName>string</MatchName>
<MatchTime>string</MatchTime>
<FreeTicket>boolean</FreeTicket>
<GateNumber>string</GateNumber>
<QRCode>string</QRCode>
<AvailableTicket>string</AvailableTicket>
</TicketDetail>
</GenerateQRCodeWithSessionResult>
</GenerateQRCodeWithSessionResponse>
</soap:Body>
</soap:Envelope>
-
Microsoft VBScript 运行时错误“800a01a8”
-
需要的对象:'[object]'
显示为
strName = objSite.selectsinglenode ("TicketNumber").text
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)