Subject: [xsl] test if attribute contains value and proceed From: thomas <thomas.lohbeck@xxxxxx> Date: Wed, 25 Sep 2002 13:31:01 +0200 |
<xsl:if test="/investitionen/massnahme/@datum"> <fo:block>everything is ok!</fo:block> </xsl:if>
<investitionen> <massnahme datum="Dezember 2002"> <produkte> <produkt id="1"/> </produkte> </massnahme> <massnahme datum="Juni 2005"> <produkte> <produkt id="3"/> </produkte> </massnahme> <massnahme datum="Juni 2006"> <produkte> <produkt id="4"/> </produkte> </massnahme> </investitionen> =OK
<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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Problem...while using Jav, Michael Kay | Thread | RE: [xsl] test if attribute contain, Michael Kay |
RE: [xsl] hardware xml / xslt, Michael Kay | Date | RE: [xsl] Problem...while using Jav, Michael Kay |
Month |