hi, I'm having some trouble using xpointer in conjuntion with aggregate() in a pipeline. I have the following XML document:
<WorkflowRequest xmlns:p="http://www.orbeon.com/oxf/pipeline"> <Create ruleFilePath="oxf:/app/data/workflow/timesheetRoutingRulesDefault.xml" initialState="1" documentID="1"/> </WorkflowRequest> And I want to use aggregate and xpointer to extract the documentID value as: <DocumentID>1</DocumentID> which when then be an input parameter to a pipeline. I'm trying to use the following processing step: <p:processor uri="oxf/processor/pipeline"> <p:input name="config" href="oxf:/app/pipelines/workflow/getFSMDocument.xpl"/> <p:input name="documentID" href="aggregate('DocumentID', #requestDocument#xpointer(/WorkflowRequest/Create/@documentID))"/> <p:output name="data" id="fsmDocument" debug="executeWorkflowRequest#output:fsmDocument"/> </p:processor> This is not working however. The input parameter is just <DocumentID/>. I've tried to look through the xpointer spec to find out if selecting an attribute node in the xpath expression is valid, but I can't find an answer to this question. Perhaps this is not allowed, and OXF just doesn't throw an error, or perhaps there is a bug when selecting attributes? Any ideas?? thanks, calvin _______________________________________________ oxf-users mailing list [EMAIL PROTECTED] http://mail.orbeon.com/mailman/listinfo/oxf-users
