<params> values on my screen
This is an open discussion with 3 replies, filed under XSLT.
Search
You are missing a /
template:
<xsl:template match="/"> <xsl:apply-templates select="data/latest-packages" /> </xsl:template>
XSLT always starts at the root node /
. If you want to skip it and some of its children (in your case everything besides data/latest-packages
) you need to implement a template that does that.
Thanks @phoque. Solved..
noussh, you can build your <img>
tag a bit easier, something like
<img alt="{description}" src="{$workspace}{images/@path}/{images/filename}"/>
Create an account or sign in to comment.
Hi there, I am getting values on my screen, even though I have not called for it. Here are the files I have used.
Here is my homepage xml http://paste.laravel.com/oE0
home.xslt http://paste.laravel.com/oE1
HTML output
http://paste.laravel.com/oDZ
(XSLT Skills : 0.01% )
thanks, noussh