|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
How do I output attributes in a xml tag.
Ex. <headline href="http://www.whatever.com"> Whatever </headline> I can output the Whatever text in the browser, but I don't know how to ouput the href attribute. I am using xsl in IE 5.0 browser. |
|
#2
|
|||
|
|||
|
Everything has to have an xsl attribute defined...
Ex. <a> <xsl:attribute name="href"> <xsl:value-of select="@URL" /> </xsl:attribute> <img border="0"> <xsl:attribute name="src"><xsl:value-of select="@IMAGE_SRC" />.gif</xsl:attribute> </img> </a> Hope this helps :-) |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > XML attributes |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|