Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~222 People Reached
This member's community profile is only visible to logged in members until they have earned 15 reputation points.
Favorite Forums
Favorite Tags

2 Posted Topics

Member Avatar for hschroeter

hello, there is a main xslt-script with a "do_this_and_that"-template. in an from the main included script ther is such "do_this_and_that"-template too. is it possible to call the "do_this_and_that"-template from the main by this included "do_this_and_that"-template? many thanks for your answer(s)

Member Avatar for fpmurphy
-1
120
Member Avatar for lorelore

Please have a look to the code like this: <?xml version="1.0" encoding="UTF-8"?> <!-- Header:$Id: shpmnt05_prepare.xsl,v 1.1 2009-09-09 12:57:09 hs Exp $ --> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:key name="uniq" match="/demo/*" use="name()"/> <xsl:template match="/"> <xsl:for-each select="/*"> <xsl:copy> <xsl:for-each select="/demo/*[generate-id(.) = generate-id(key('uniq', name()))]"> <xsl:copy> <count> <xsl:value-of select="count(../*[name()= current()/name()])"/> </count> </xsl:copy> </xsl:for-each> </xsl:copy> </xsl:for-each> </xsl:template> …

Member Avatar for lorelore
-1
101

The End.