adding two values into an xml line

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi All,
I am new to XML but could do with an advice on constructing the line below:
I need to add a further argument into the line
<div style="color:Black;background-color:White; <pre>
<span style="color:Blue; <<span style="color:#A31515; pre<span style="color:Blue; ><span style="color:Blue; <<span style="color:#A31515; xsl<span style="color:Blue; :<span style="color:#A31515; attribute <span style="color:Red; name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; programUID<span style="color:Black; "<span style="color:Blue; >customer_<span style="color:Blue; <<span style="color:#A31515; xsl<span style="color:Blue; :<span style="color:#A31515; value-of <span style="color:Red; select<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; $customer/void[@property = name]/string<span style="color:Black; "<span style="color:Blue; /><span style="color:Blue; </<span style="color:#A31515; xsl<span style="color:Blue; :<span style="color:#A31515; attribute<span style="color:Blue; >
[/code]
<br/>[/code]
Do i simply do it as below? Or do i need top add a comma seperator or semicolon between the two xsl:attribute value of select = tag sets?
Is this ok?
Code:
<xsl:attribute name="programUID customer_<xsl:value-of select="$customer/void[@property = name]/string"/><xsl:value-of select="$customer/void[@property = account]/long"/></xsl:attribute>

View the full article
 
Back
Top