<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Afternoon,<br><br>I am having issues with the following code<br><br>            QueryType query = new QueryType();<br>            <br>            ObjectFactory factory = new ObjectFactory();<br><br>            SearchFilterType filter = factory.createSearchFilterType();<br>            PropertyComplexValueFilterClauseType fc = factory.createPropertyComplexValueFilterClauseType();<br>            ItemPathType path = new ItemPathType();<br>            path.setValue("c:name");<br>            fc.setPath(path);<br>            fc.setValue("queryvalue");<br>            filter.setFilterClause(??????);<br>            <br>            query.setFilter(filter);<br><br>I noticed that SearchFilterType.setFilterClause only accepts org.w3c.dom.Element as a parameter. Is this intentional? If so, are there tools to create these dom elements? I was just wondering since there are plenty of ways to create the filter clauses, but I just dont seem to get my head around how I could actually set the filter clause.<br><br>Sorry for the stupid question.<br><br>BR<br><br>Samu Viitanen<br>                                        </div></body>
</html>