<xsl:variable name="getVideoXDUrl"> <!--get youtube video id--> <xsl:text>http://gdata.youtube.com/feeds/api/videos/</xsl:text> <xsl:value-of select="$getVideoId"/> </xsl:variable> <!-- the result like this http://gdata.youtube.com/feeds/api/videos/-7eOaHQtjqc --> <xsl:variable name="getVideoXD" select="umbraco.library:GetXmlDocumentByUrl($getVideoXDUrl)"/> <xsl:for-each select="$getVideoXD"> <xsl:value-of select="/"/> </xsl:for-each>
and there have one row data
so I want to search author name in entry/author/name
but it appears none...
and search viewCount at entry/yt:statistics
the xslt compiler says Error occured, because has the ' : ' symbol
I try to use : instead of that symbol, the issue are the same
GetXmlDocumentByUrl from youtube video statistics xml file
Hi all,
I reference the wiki http://our.umbraco.org/wiki/reference/umbracolibrary/getxmldocumentbyurl
and try to analysis this xml file from youtube: http://gdata.youtube.com/feeds/api/videos/-7eOaHQtjqc
my XSLT:
and there have one row data
so I want to search author name in entry/author/name
but it appears none...
and search viewCount at entry/yt:statistics
the xslt compiler says Error occured, because has the ' : ' symbol
I try to use : instead of that symbol, the issue are the same
how can I solve the issue?
thx alot :)
Regards,
Bambe :)
is working on a reply...