Guest Marshall Posted March 5, 2007 Share Posted March 5, 2007 Hi guys, just wanna find out, I've got 2 seperate fields in my XML document with info right? Now I need to create a third field, and then take the values of the other two and display them next to each other, seperated by a comma. For example I need to take the values of field 1 and field 2 and put them together in field 3:<Field1>140</Field1><Field2>Mr. Egg</Filed2>then the field I make needs to look like this:<Field3>140, Mr. Egg</Field3>Is there any way in which I can do this?ThanksRoss Link to comment Share on other sites More sharing options...
aalbetski Posted March 5, 2007 Share Posted March 5, 2007 <Field3><xsl:value-of select="concat(Field1,',',Field2)" /></Field3> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now