My experience with XSLT has been the oposite -- that it's much easier to work with attributes than to work with text nodes... The only exception is that I haven't found a way to conditionally remove an attribute -- that is, I can conditionally create an attribute, and I can copy all attributes with <xsl:copy-of select="@*" /> but I can't find any way to remove an attribute after copying them with xsl:copy-of ... but everything else I find much easier to do with attributes.
> You're right. It was kind of lazy. > <cf_excuse blame="flash"> > But I've been working with flash a lot lately and found it > easier to use > attributes.ID at first than the traditional > firstchildnode[0].childnodes[0].childnodes[0] etc... > Once I figured all that out I was able to do away with > most of my > 'attribute' entries though > </cf_excuse> > -----Original Message----- > From: Dawson, Michael [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 11, 2005 1:58 PM > To: CF-Talk > Subject: RE: XMLish question > There are those who believe you should not use attributes > in XML. That > just about everything can be described using element tags. > I am, sort of, one of those people. I would prefer to > work with > elements rather than attributes, even if it meant a few > more levels of > nesting. That's just the way I am. s. isaac dealey 954.522.6080 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.com/author/4806Dealey.htm ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206447 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

