RE: [xsl] Forwarding...

Subject: RE: [xsl] Forwarding...
From: Pieter Reint Siegers Kort <pieter.siegers@xxxxxxxxxxx>
Date: Mon, 5 Jul 2004 09:45:42 -0500
Hi Pierre,

You may, apart from starting from the beginning by following a tutorial on
XML and XSLT, also find that you seem to need a better back up system...
anyway, learning THAT lesson is hard enough by itself - what I've sent you
was this:


Hi Pierre,



Instead of



-----Original Message-----
From: Pierre [mailto:pierre@xxxxxxxxxxxxx]
Sent: Friday, July 02, 2004 2:51 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [xsl] A syntaxic problem this time 

Sorry i forgot my xml : 
<?xml version="1.0" encoding="utf-8" ?>
		<champs type="input">
		<champs type="input">
		<champs type="select">
		<pays value="FR"><name>France</name></pays>
		<pays value="UK"><name>Royaumes Unis</name></pays>


-----Message d'origine-----
De : Pierre [mailto:pierre@xxxxxxxxxxxxx] Envoyé : vendredi 2 juillet 2004
20:49 À : Xsl-List Objet : [xsl] A syntaxic problem this time 

Hi all,
Please i'm trying to do that :
<?xml version="1.0" encoding="utf-8" ?>
<xsl:stylesheet version="1.0"
	<xsl:output method="html" />
	<xsl:template match="/">
	<xsl:for-each select="formulaire/FRMFAT04001/champs">
	<xsl:when test="@type='input'">
		<xsl:value-of select="desc" /><xsl:text> : </xsl:text>
		<input type="text" size="{size}" name="{name}"
/><xsl:value-of select="obligatoire" /><br />
		<xsl:when test="@type='select'">
		<xsl:value-of select="desc" /><xsl:text> : </xsl:text>
		<select id="{name}" name="{name}">
		<xsl:for-each select="../../SELECT/{desc}">
	 <xsl:element name="OPTION">
  <xsl:value-of select="name" />

I hope you understand what I wanna do, my problem is here xsl:for-each
select="../../SELECT/{desc}"> hox to say that I want select the desc.

Thanks to all




-----Original Message-----
From: Pierre [mailto:pierre@xxxxxxxxxxxxx] 
Sent: Monday, July 05, 2004 5:31 AM
To: Xsl-List
Subject: [xsl] Forwarding...

Hi all please can anyone send me by mail the post that i've posted and the
answers cause i've lost data and these posts are not yet in the archive of
the list .

The most important for me is where someone answers me about my combo select
with my var $desc to use it in xpath 

Thx a lot 


XSL-List info and archive:
To unsubscribe, go to:
or e-mail: <mailto:xsl-list-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx>

Current Thread