[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Variables


Subject: RE: [xsl] Variables
From: Dave Beattie <Dave.Beattie@xxxxxxxxxxx>
Date: Thu, 7 Aug 2003 11:19:29 +0100

Jose

Can I suggest you get hold of a copy of Michael's book (called XSLT) in
which you will find the answers to all of your questions and a whole lot
more.

Dave

-----Original Message-----
From: AROSO Jose Antonio [mailto:jose.santos@xxxxxxxxxxx]
Sent: Thursday, August 07, 2003 10:05 AM
To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
Subject: RE: [xsl] Variables


I need to do a loop and at the same time i need the two values(id and name).
So i would like to put in one variable the two values for access to id for
compare and if the compare is true print the name.

If have any alternative....

Best Regards

Jose

-----Original Message-----
From: Michael Kay [mailto:mhk@xxxxxxxxx]
Sent: quinta-feira, 7 de Agosto de 2003 9:03
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [xsl] Variables


I think it would be useful if you explained what you are trying to do. I
could give you another one-line direct answer to your question, but I
suspect you wouldn't understand it and would come straight back with
another question.

Michael Kay

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> AROSO Jose Antonio
> Sent: 06 August 2003 17:51
> To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
> Subject: RE: [xsl] Variables
> 
> 
> Thanks.
> 
> And how can i access to one(id) and other(name).
> 
> Best Regards
> 
> Jose
> 
> -----Original Message-----
> From: Michael Kay [mailto:mhk@xxxxxxxxx]
> Sent: quarta-feira, 6 de Agosto de 2003 16:58
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE: [xsl] Variables
> 
> 
> > How can i save in same variable the content(id+name) of for
> > example the following tag:
> > 
> > <Attribute id="{E1350B8B-371D-4C97-B89C-714A5EEFD886}+00000000"
> > Name="id_cliente">
> > 
> 
> Assuming the Attribute element is the current node,
> 
> <xsl:variable name="content" select="@id | @name"/>
> 
> Michael Kay
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
> 
> 
> 
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread