[xsl] Ommitting value of a copied id-Attribute

Subject: [xsl] Ommitting value of a copied id-Attribute
From: Yunus Karakaya <blackrock@xxxxxxx>
Date: Wed, 20 Dec 2000 13:14:18 +0100
Dear People,

I want to copy a node with all it's attributes and the values of the
attributes except the id-attribute. I want also copy the id-attribute,
but ommit the value of it.

So I tried the usual way, but did some mistakes:
1. I match the node. Copy the node.
2. In this node, I apply templates on the attributes with select=@* and
mode=attrcopy.
3. In this mode I match again @* and then can do the processing.
Here I need some help of you. I couldn't manage to do. I tried above in
the "apply-templates" with several XPath expressions, not worked. I
tried with xsl-if, couldn't get it done. So can somebody of you please
help me?

Thank you very much.

Yunus Karakaya


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread