|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] testing element name
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
|
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








