|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: get child tag value
> <!-- I need an additional parameter for the dataType. > It is defined in the child tag with different data type names --> > <!-- <xsl:with-param name="data_type" select="."/>--> If I understand what you are asking, simply: <xsl:with-param name="data_type" select="local-name(*)"/> gets the name of an unknown child element; <xsl:with-param name="data_type" select="*"/> gets the value of an unknown child element. "." selects self::node(), not child::node(). An empty path signifies children, so you would choose the value of an unknown child node with "*", the first unknown child with "*[1]". This is elementary. ----------------------------------- Mike Haarman, XSL Developer, Internet Broadcasting Systems, Inc.
|
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








