xsl-list
[Top] [All Lists]

RE: Variables

2003-08-07 03:19:29
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(_dot_)santos(_at_)enabler(_dot_)com]
Sent: Thursday, August 07, 2003 10:05 AM
To: 'xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com'
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(_at_)mhk(_dot_)me(_dot_)uk]
Sent: quinta-feira, 7 de Agosto de 2003 9:03
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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(_at_)lists(_dot_)mulberrytech(_dot_)com 
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com] On Behalf Of 
AROSO Jose Antonio
Sent: 06 August 2003 17:51
To: 'xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com'
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(_at_)mhk(_dot_)me(_dot_)uk]
Sent: quarta-feira, 6 de Agosto de 2003 16:58
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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



<Prev in Thread] Current Thread [Next in Thread>