Att to Wilspo

If you made a template for printing or HTML export, you can offer it to the others here. You can also ask here for help about these templates
Willspo
Posts: 61
Joined: 2002-08-14 15:50:23

Post 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
Post Reply