Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
I've got the following xslt
<xsl:if test="$currentPage/data[@alias='gPSPicker'] > 0"> <xsl:variable name="gpx" select="umbraco.library:GetMedia($currentPage/data[@alias='gPSPicker'], 0)"/> <xsl:if test="$gpx > 0"> <xsl:variable name="url" select="umbraco.library:NiceUrl($gpx/@id)"/> <xsl:if test="$url != ''"> <xsl:variable name="xml" select="umbraco.library:GetXmlDocumentByUrl($url)"/> </xsl:if> </xsl:if></xsl:if>
It should load a xml file that has a stylesheet that renders the inner xml to html.
The stylesheet is also a xslt in Umbraco and the xml is loaded in the media.
I do not get content out of the $url and I can get the url filled.
Please help!
Roel
http://our.umbraco.org/forum/developers/api-questions/4427-NiceUrl-for-Media-file
Its not possible to get the id of the media file by niceurl when using mediapicker
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
GPX as media
Hi,
I've got the following xslt
It should load a xml file that has a stylesheet that renders the inner xml to html.
The stylesheet is also a xslt in Umbraco and the xml is loaded in the media.
I do not get content out of the $url and I can get the url filled.
Please help!
Roel
http://our.umbraco.org/forum/developers/api-questions/4427-NiceUrl-for-Media-file
Its not possible to get the id of the media file by niceurl when using mediapicker
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.