This is the mail archive of the xsl-list@mulberrytech.com mailing list .
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Joerg and Michael, Thanks. How incredible! I am getting good results with my xsl:if test. Maybe I am doing something unconventional or possibly loosing data? Here is my template: <xsl:template select="SCORE"> <xsl:if test="C1005/text() | C1006 | C1007 | C1009"> <xsl:element name="ODD"> <xsl:apply-templates select="C1005 | C1006 | C1007 | C1009"/> </xsl:element> </xsl:if> </xsl:template> I don't want to get: <ODD/> I know that C1005 is the only node that will have attribute values without text. Normalize won't really work for me since I have cross reference nodes containing "See also ". Spaces---^^ Is there a better way to do this? Mike F. __________________________________________________ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |