Possibly the most exasperating poster ever...
Instead of showing a combination of XPath and ASP script show the actual XPath that is produced.
So instead of:
Code:
path="form/document[contains(.,'<%= request.Form("txtSearch")%>') and contains(.,' ') or contains(.,'<%= request.Form("txtSearch")%>')]//*";
show what path gets evaluated to before it is used in the transformation.
--
Joe (
Microsoft MVP - XML)