Subject: [xsl] regarding xpath From: "william locksman" <vsd18@xxxxxxxxxxxxxx> Date: 24 Apr 2002 09:40:22 -0000 |
hi i have the following problem have an xml file that looks like <colleges>
<college id = "1"> <name>A College</name> </college>
<college id = "2"> <name>B College</name> </college>
<college id = "1"> <name>C College</name> </college>
to print the college names, if i write an XPATH expression like ----------------------------------------------- <xsl:for-each select="/colleges/college/name"> <xsl:value-of select="."/>. </xsl:for-each> ----------------------------------------------- OR ----------------------------------------------- <xsl:for-each select="//colleges/college/name"> <xsl:value-of select="."/>. </xsl:for-each> ----------------------------------------------- OR ----------------------------------------------- <xsl:for-each select="//college/name"> <xsl:value-of select="."/>. </xsl:for-each> -----------------------------------------------
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] oracle table to html via , Matt Gushee | Thread | RE : [xsl] regarding xpath, Nicolas Mazziotta |
Re: [xsl] oracle table to html via , Matt Gushee | Date | RE : [xsl] regarding xpath, Nicolas Mazziotta |
Month |