Page 2 of 2

Posted: 2002-12-11 12:03:54
by Willspo
Ok, then u don't need the javascript function at all. Also u don't need
<br class="graupelistiken" />. <br /> will do fine.

Does your xml look like this?:

Code: Select all

<movies><filmegesamt1>769</filmegesamt1><movie>......</movies>
If so <xsl:apply-templates select="movies" mode="graupelistiken" />
has to be somewhere within <xsl:template match="/"> (root level).

If <filmegesamt1> is at another level in your xml you have to make sure that you're in the parent node's scoope when you call apply-templates.

Or you can try changing it to <xsl:apply-templates select="//parent node" mode="graupelistiken" /> (search document for node parent node from the root)

You can check out the xsl tutorial at http://www.w3schools.com/ if you want more advice regarding syntax.

/w