[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: name() and attribute()
On Wed, 23 Aug 2000, Lee Goddard wrote: > ...alternatively.... > > I'm trying to output an attribute only if > if exists; although the below choose block > works, it doesn't really seem like good > practice -- could someone please let me > know what is? > > <xsl:choose> > <xsl:when test="@name">blue</xsl:when> > <xsl:choose> Could you be more precise, what are the surrounding xsl elements ? On what data set are you operating, and what do you want to get as output? Hope this help us help. -- David -- XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|