Re: url content
Kwon Ekstrom <[email protected]> Sun, 26 Jan 2003 20:49:19 -0700
| Newsgroups | gmane.comp.java.sun.xml.general |
|---|---|
| Message-ID | <[email protected]> |
That question is a little open, of course you can have a url in xslt, how do you want it to be displayed? Is the url actually embeded in the XSLT or is it part of the XML data? For example: <xsl:template name="makelink"> <xsl:param name="href" /> <xsl:param name="text" /> <a><xsl:attribute name="href"><xsl:value-of select="$url" /></xsl:attribute><xsl:value-of select="$text" /></a> </xsl:template> <xsl:call-template name="makelink"> <xsl:with-param name="href">http://dev07/bob.html</xsl:with-param> <xsl:with-param name="text">Bob</xsl:with-param> </xsl:call-template> -- Kwon J. Ekstrom ----- Original Message ----- From: Gilbert, Antoine To: [email protected] Sent: Friday, January 24, 2003 9:30 AM Subject: url content Hi, i have little question about XSL/XSLT I would like to include an url as content in an XSL file i have an url, for exemple http://dev07/bob.html with simple text content would like to have it within my xsl It is possible ? Salutations, __________________________________________________ Antoine Gilbert / [email protected] Analyste-programmeur KOREM Technologies de GÉOdiffusion __________________________________________________ 680, boul. Charest Est, bureau 120 Québec (Québec) G1K 3J4 Localisation KOREM Qc Tél. : (418) 647-1555 Téléc. : (418) 647-1666 1 888 440-1MAP www.korem.com __________________________________________________ * Partenaire canadien MapInfo de l'année - 2001 * Meilleur nouveau partenaire MapInfo 2000-Amérique du Nord __________________________________________________