that did not help,
let me give an example:
<page:link page="pages/medewerker.page.xml">
<page:var>
<page:name>id</page:name
<page:value>value</page:value>
</page:var>
<page:var>
<page:name>id2</page:name
<page:value>value2</page:value>
</page:var>
Bla <center>Bla <b>Bla</b></center>
</page:link>
This should be transformed to:
<a href="/index.php?page=pages/medewerker.page.xml&id=value&id2=value2">
Bla <center>Bla <b>Bla</b></center>
</a>
It works for me with these templates:
###########################################
<xsl:template match="page:link">
<a>
<xsl:attribute name="href">
/index.php?page=<xsl:value-of select="@page"/>
<xsl:for-each select="page:var">
&<xsl:value-of select="page:name"/>=<xsl:value-of
select="page:value"/>
</xsl:for-each>
</xsl:attribute>
<xsl:apply-templates select="node()[not(self:
age:var)]" mode="ignore"/>
</a>
</xsl:template>
<xsl:template match="*" mode="ignore">
<xsl:copy>
<xsl:apply-templates select="node()[not(self:
age:var)]" mode="ignore"/>
</xsl:copy>
</xsl:template>
###########################################
But if the xml structure really is a simple as in this example (no
deeper nested elements that should be ignored), than this would suffice:
<xsl:template match="page:link">
<a>
<xsl:attribute name="href">
/index.php?page=<xsl:value-of select="@page"/>
<xsl:for-each select="page:var">
&<xsl:value-of select="page:name"/>=<xsl:value-of
select="page:value"/>
</xsl:for-each>
</xsl:attribute>
<xsl:copy-of select="node()[not(self:
age:var)]"/>
</a>
</xsl:template>
################################
Does this help, or am I still not understanding your question?
regards,