[Home] [By Thread] [By Date] [Recent Entries]
Martin Honnen schrieb:
Michael Ludwig wrote:
I also found the solution in the archive: http://www.biglist.com/lists/lists.mulberrytech.com/xsl-list/archives/200310/msg00046.html Michael PS: The solved example goes: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:php="http://php.net/xsl" exclude-result-prefixes="php" xmlns:str="http://exslt.org/strings" extension-element-prefixes="str" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" indent="yes"/> <xsl:template match="Channels">
<Urmel>
<xsl:variable name="my-pointer" select="/Channels/Ch"/>
<U4>
<xsl:for-each select="str:split('ard zdf')">
<T3><xsl:value-of select="$my-pointer[ @ID = current() ]"/></T3>
</xsl:for-each>
</U4>
<!-- <U5>
<xsl:for-each select="php:function('gen_nodes', 'ard zdf')/*">
<T3><xsl:value-of select="$my-pointer[ @ID = current() ]"/></T3>
</xsl:for-each>
</U5> -->
</Urmel>
</xsl:template></xsl:stylesheet>
|

Cart



