|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Multiple attributes present and non-present
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
|
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








