[Home] [By Thread] [By Date] [Recent Entries]
Hello List, I am trying to display certain xml elements certain ways, based on what type of element they are. Here is an example: <view:datalist> <view:textfield>Alex</view:textfield> <view:dropdown>Alex, Reuter</view:dropdown> <view:datalist> What I'd like to do is loop through the children of the datalist: <xsl:for-each select='view:datalist/child::*"> <td> <xsl:if test="view:textfield"> <xsl:if> <xsl:if test="view:dropdown"> <xsl:if> <td> </xsl:for-each> And do different kinds of processing for the different types. Basically, my question is what expressions should I put in the xsl:if test"?" above? Thanks in advance, Alex _________________________________________________________________ Join the world?s largest e-mail service with MSN Hotmail. http://www.hotmail.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



