Subject: RE: ** security problem and link From: "John E. Simpson" <simpson@xxxxxxxxxxx> Date: Tue, 15 Feb 2000 09:07:48 -0500 |
How do I insert anchor tab using xml and xsl.
<rootelem> <childelem> <uri>http://www.flixml.org</uri> <uri>http://www.xml.com</uri> <uri>http://www.mulberrytech.com/xsl/xsl-list</uri> </childelem> </rootelem>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/TR/REC-html40">
<xsl:template match="rootelem"> <html> <head><title>Link Demo</title></head> <body> <xsl:apply-templates/> </body> </html> </xsl:template>
<xsl:template match="childelem"> <ul>Here's a list of URIs: <xsl:for-each select="./uri"> <li><a href="{.}"><xsl:value-of select="."/></a></li> </xsl:for-each> </ul> </xsl:template>
============================================================= John E. Simpson simpson@xxxxxxxxxxx ------------------------------------------------------------- I put contact lenses in my dog's eyes. They had little pictures of cats on them. Then I took one out and he ran around in circles. (Stephen Wright)
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: ** security problem and link, ural | Thread | RE: ** security problem and link, Kay Michael |
RE: xsl and url parameter strings, Igor Nakshin | Date | RE: Character entities, Frederic Schwebel |
Month |