|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How do I use non-literals in <xsl:if statements
I said > you don't say which node you try to evaluate this on: which was silly of me as your test said file_date[not(. = @previous_date)] so you must have been on the file node. the @ inside the [] refers to attributes of the node that . would access. so you want either current()/@previous_date to get the attribute of the current node, or equivalently in this the forms i mentioned before, such as ../@previous_date to get the attribute of the parent of the file_date node. 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
|

Cart








