Hi Geet,
Can you provide the EMML here?
Also, could you provide us with the response of the Dapper service that you published?
If your objective is embed the webclip in a webpage without performing any mashing on it, then you can use Dapper or any other web-clipping service directly.
However, if you intend to use the clipped data to perform further operations, then I would suggest you to use dapper or any other web-clipping service which returns response in a format that is usable in Presto. Once you do that you may perform mashup and continue normally.
Hope it helps.
I'm not sure that this is the same mashup, Geet, but you posted some EMML code in another post that had an <if> statement which looks distinctly like it would generate the error you are mentioning here:
<if condition="matches(,$input_2)">
If this is the same mashup, the error is happening because the XPath function matches expects 2 parameters:
matches(source-string, match-string)
The code above only supplies the second parameter -- not the first.
It looks like this EMML was generated from Wires. If so, you need to edit the properties for the block where you defined this condition and then open the Condition tab. There are two fields for the condition: a) the field with the string you want to test followed by the matches function and b) underneath that the string value you want to test for. You have not filled in field a).
Click in this field and a selection box will open showing the structure of the input document to this block. Expand this to find the field you want to test and select that field.
You can confirm that the matches() function now has two parameters by using the View EMML button to see the source code.
Hope this helps.
Sara, technical writer/jackbe



Hi all,
I want to know how can I create a mashup using the web clipping service that I created using drapper. I could successfully create and publish the Web clipping service using connector/drapper. When I tried to create a mashup in presto wires or presto studio using the same service the mashup gets saved and published successfully. But I dont get any preview of the result. But when I go to presto server, click on create mashlet I get this error messege-
"Error execution Mashup Script : net.sf.saxon.trans.StaticError: XPath syntax error at char 8 in {matches(,$}: Unexpected token "," in path expression"
In another instance when I try to run the masup In the available views if I select XML I get a output the output shows only "xml". In other views I dont get any out put. So, If any body have a solution please help. My main aim is to embed the web clip in to my web page.