0
URL 문자열을 제공하는 "link"라는 속성이있는 XML 문서를 구문 분석하려고합니다.JQuery/XML - XML 속성의 & 문자와 관련된 문제
http://www.site.com/segment/page.html#/?view=viewName&model=4
는 XML 파싱 바꿈이 노드 이외에는 아무 것도 구문 분석하지 않습니다 - 예를 들어, URL 문자열이 & 기호를 포함 할 때마다 문제이다. 내 코드는 다음과 같습니다.
parseVehicles: function(xmlNode) {
$j(xmlNode).children().each(function() {
console.log(supertree.vehicleCount);
supertree.vehicleCount++;
});
},
어떻게 깨지 않게합니까?