XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Posttop
Braam EkermansSubject: concat function not working with my expression
Author: Braam Ekermans
Date: 07 Aug 2008 06:55 AM
Hi

I have the following Xpath content used in table format:
def1:file[@usage="definition"]/@crc

This works fine and returns the wright value, I must however use this in concat function because this field is part of the name in a dynamic image, so want to use it like this:
concat(/def1:order/@id, "_", @id, /def1:file[@usage="definition"]/@crc, "_CoverorFoil", ".jpg"), but it doesnt work, all the other fields work fine, but the moment I put the / in front of the first statement to use in concat format, it does not return a value anymore.
I have also uploaded a sample xml file.
Any Ideas?

Thank you
Braam


Unknownorder.xml
XML File

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.