2014-02-15 3 views
0

XML 문서를 구문 분석하기 위해 SMXMLDocument (https://github.com/nfarina/xmldocument)를 사용하고 있습니다. 제목과 날짜와 같은 다른 모든 태그는 잘 작동합니다. 이 태그는 jwplayer:hd.file입니다. 배열은 Null 객체를 반환합니다.XML 파서가 태그를 검색 할 수 없습니다.

<item> 
    <id> 
     7994 
    </id> 
    <title> 
     title goes here 
    </title> 
    <link> 
     http://xml.xml 
    </link> 
    <guid> 
     xml.xml 
    </guid> 
    <description> 
     description goes here 
    </description> 
    <pubDate> 
     19/11/2010 
    </pubDate> 
    <enclosure url="mp3" type="audio/mpeg" length="4604084"></enclosure> 
    <guid isPermaLink="true"> 
        mp3 
    </guid> 
    <media:credit role="author"> 
     mediacredit 
    </media:credit> 
    <media:content expression="full" medium="audio" duration="2297" url="mp3" fileSize="4604084"></media:content> 
    <jwplayer:hd.file> 
     http://mp3 
    </jwplayer:hd.file> 
    <media:thumbnail url="jpg"></media:thumbnail> 
    <itunes:subtitle> 
    sutitle goes here 
    </itunes:subtitle> 
    <itunes:duration> 
     00:38:17 
    </itunes:duration> 
    <itunes:author> 
    author 
    </itunes:author> 
</item> 
<item> 

답변

0

한 번 같은 문제가있었습니다. Tagscanner가 "."에서 멈춘 것처럼 보입니다. "jwplayer : hd"를 태그로 설정하면 트릭을 수행해야합니다.