|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] test if attribute contains value and proceed
Hello I need to test if any of the /investitionen/massnahme/@datum has a
value in it. if EVERY @datum is filled with an value, proceed.
Something like: <xsl:if test="/investitionen/massnahme/@datum"> <fo:block>everything is ok!</fo:block> </xsl:if> what do I not understand with my newbie brain?
<investitionen> <massnahme datum="Dezember 2002"> <produkte> <produkt id="1"/> </produkte> </massnahme> <massnahme datum=""> <produkte> <produkt id="3"/> </produkte> </massnahme> <massnahme datum="Juni 2006"> <produkte> <produkt id="4"/> </produkte> </massnahme> </investitionen> =NOT OK <investitionen> <massnahme datum=""> <produkte> <produkt id="1"/> </produkte> </massnahme> <massnahme datum=""> <produkte> <produkt id="3"/> </produkte> </massnahme> <massnahme datum=""> <produkte> <produkt id="4"/> </produkte> </massnahme> </investitionen> =NOT OK 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








