Re: url content

"Gilbert, Antoine" <[email protected]> Mon, 27 Jan 2003 07:57:16 -0500
Newsgroups gmane.comp.java.sun.xml.general
Message-ID <[email protected]>
In part of the xml data
 
for example, assume an URL giving some parts of texts i wanna show with the output...

-----Message d'origine-----
De : Kwon Ekstrom [mailto:[email protected]]
Envoyé : 26 janvier, 2003 22:49
À : [email protected]
Objet : Re: url content


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,  <mailto:[email protected]> 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 /  <mailto:[email protected]> [email protected]
Analyste-programmeur

KOREM
Technologies de GÉOdiffusion 

__________________________________________________

680, boul. Charest Est, bureau 120
Québec (Québec) G1K 3J4
 <http://www.mapanswer.com/07_localisation/LocalisationDemoNav.jsp?street=charest+est&city=quebec&civicNumber=680&code=&profile=qdm> Localisation KOREM Qc
Tél. : (418) 647-1555
Téléc. : (418) 647-1666
1 888 440-1MAP 

 <http://www.korem.com/> www.korem.com
__________________________________________________

* Partenaire canadien MapInfo de l'année - 2001
* Meilleur nouveau partenaire MapInfo 2000-Amérique du Nord

__________________________________________________