[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Ommitting value of a copied id-Attribute

Subject: Ommitting value of a copied id-Attribute
From: Yunus Karakaya <blackrock@xxxxxxx>
Date: Wed, 20 Dec 2000 13:14:18 +0100
yunus karakaya
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.