xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arnaud Vandyck" <arn...@ressource-toi.org>
Subject Re: XSLT question
Date Fri, 23 Feb 2001 12:15:58 GMT
----- Original Message ----- 
From: "Samson, Lyndon [IT]" <lyndon.samson@ssmb.com>
To: <general@xml.apache.org>
Sent: Friday, February 23, 2001 12:51 PM
Subject: XSLT question 


> <something>
>   <subthing1>aa</subthing1>
>   <subthing2>bb</subthing2>
>   <subotherthing1>cc</subotherthing1>
> </something>
> 
> template
> 
> <xsl:template match="something/*">
>  <xsl:what-do-use-here>=<xsl:value-of select="."/>
> </xsl:template>
> 
> output
> 
> subthing1=aa
> subthing2=bb
> ...

<xsl:template match="something/*">
 <xsl:value-of select="name(.)" />=<xsl:value-of select="." />
</xsl:template>

-- Arnaud Vandyck
<http://www.ressource-toi.org>



Mime
View raw message