|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Wrapping XSL around XML tags of the same name
(note the extra slash at the end between time_n and @value...) <xsl:value-of select="journey/outbound/start_time/time_1/@value" /> <xsl:value-of select="journey/outbound/start_time/time_2/@value" /> <xsl:value-of select="journey/outbound/start_time/time_3/@value" /> Could be: <xsl:value-of select="journey/outbound/start_time/time[1]/@value" /> <xsl:value-of select="journey/outbound/start_time/time[2]/@value" /> <xsl:value-of select="journey/outbound/start_time/time[3]/@value" /> which is a convenient abbreviation for: <xsl:value-of select="journey/outbound/start_time/time[position() = 1]/@value" /> <xsl:value-of select="journey/outbound/start_time/time[position() = 2]/@value" /> <xsl:value-of select="journey/outbound/start_time/time[position() = 3]/@value" /> _________________________________________________________ Steve Muench, Consulting Product Manager & XML Evangelist Business Components for Java Dev't Team BC4J: http://technet.oracle.com/product/tools/appjava/info/techwp20/wp.html XML: http://www.oracle.com/xml --- Begin Message ---
|
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








