This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Ommitting value of a copied id-Attribute


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]