[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Selecting content via attribute presence.
Hi Ben,
You do not need an if. If your expression selects nothing then you will not get anything inserted. For instance <xsl:value-of select="noSuchElementInTheDocument"/> will not insert anything in the output if there is no such element in the file. In this case you should consider using a key to access the information, match on the revision list items and use the revision id to select the item. Regards, George --------------------------------------------------------------------- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com Ben Trafford wrote:
|
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
|