How to use xPath to extract a element from a xml stringin BPEL workflow?

I have a xml string passed into the BPEL workflow, and I need to extract the value of "serviceOrderGuid" (see the xml string below), how I can use BPEL mapper to do this? I am using NetBeans 6.0/M10.
Thanks
Kebin
<Parameters xmlns="http://www.sunmicrosoft.com/TrueOMF/WorkflowInformation.xsd">
<Parameter isIn="false" isOut="true" name="serviceOrderGuid">
<Value>5e8c9de9-f9b9-4815-bc06-e1572ff122f2</Value>
</Parameter>
<Parameter isIn="false" isOut="true" name="elementOfferGuid">
<Value>4f7c9de2-f9b9-4815-bc06-e1572ee122e2</Value>
</Parameter>
</Parameters>

Thank you for your help so far, but I still have issues to be resolved.
I developed couple of workflows, in assign activity, I used query to retrieve some value from xml string, e.g.
<copy>
<from variable="OriginalEventMessage">
<query>/node()/*[ ( local-name() = 'Request' ) ]/*[ ( local-name() = 'Parameters' ) ]/*[ (  ( local-name() = 'Parameter' )  and  ( @name = 'serviceOrderGuid' )  ) ]/*[ ( local-name() = 'Value' ) ]</query>
</from>
<to variable="CallMefIn" part="EventMessage">
<query>//*[local-name()='Request']/*[local-name()='Parameters']/*[local-name()='Parameter' and @name='serviceOrderGuid']/*[local-name()='Value']</query>
</to>
</copy>
at deployment, I got messages like "Starting BPELSE deploy process
FromXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
ToXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
ToXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
What is the problem?
I attach the whole deployment log for your review.
Thanks
Kebin
Stopping service assembly MefWorkflowCompositeApp on target server.
Stopping suId : MefWorkflowCompositeApp-sun-http-binding
Stopped suId : MefWorkflowCompositeApp-sun-http-binding
Shutting down service assembly MefWorkflowCompositeApp on target server.
Shutdown : MefWorkflowCompositeApp-sun-http-binding
Shutdown : MefWorkflowCompositeApp-sun-http-binding completed
Undeploying service assembly MefWorkflowCompositeApp from target server.
Shutdown : MefWorkflowCompositeApp-sun-http-binding
Shutdown : MefWorkflowCompositeApp-sun-http-binding completed
JBIMA0412: Service Assembly with ID : MefWorkflowCompositeApp has been undeployed.
Deploying service assembly MefWorkflowCompositeApp to target server.
Deploying service unit : MefWorkflowCompositeApp-sun-http-binding from C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\AlertMefBpel.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/AlertMefBpel.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\AlertMefWeb.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/AlertMefWeb.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\ArchitectMefBpel.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/ArchitectMefBpel.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\ArchitectMefWeb.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/ArchitectMefWeb.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\CallMef.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/CallMef.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\CallSD.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/CallSD.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\FeatureBuilderMefBpel.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/FeatureBuilderMefBpel.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\FeatureBuilderMefWeb.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/FeatureBuilderMefWeb.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\GlobalStoreMefBpel.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/GlobalStoreMefBpel.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\GlobalStoreMefWeb.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/GlobalStoreMefWeb.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\LocalStoreMefBpel.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/LocalStoreMefBpel.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\LocalStoreMefWeb.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/LocalStoreMefWeb.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\LogCurrentState.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/LogCurrentState.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\MEFWEBService.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\OperatorInputMefBpel.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/OperatorInputMefBpel.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\OperatorInputMefWeb.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/OperatorInputMefWeb.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\OrderManagementMefBpel.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/OrderManagementMefBpel.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\OrderManagementMefWeb.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/OrderManagementMefWeb.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\RBLocalStoreMefBpel.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/RBLocalStoreMefBpel.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\RBLocalStoreMefWeb.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/RBLocalStoreMefWeb.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\SecurityMefBpel.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/SecurityMefBpel.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\SecurityMefWeb.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/SecurityMefWeb.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\SmsAdministratorMefBpel.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/SmsAdministratorMefBpel.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\SmsAdministratorMefWeb.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/SmsAdministratorMefWeb.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\SmsParentMefBpel.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/SmsParentMefBpel.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/SmsParentMefBpel.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\SmsParentMefWeb.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/SmsParentMefWeb.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\SolutionDomainBpel.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/SolutionDomainBpel.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\SssMefBpel.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/SssMefBpel.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\SssMefWeb.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/SssMefWeb.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\SSSTalkerMefBpel.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/SSSTalkerMefBpel.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\SSSTalkerMefWeb.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/SSSTalkerMefWeb.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\UtilityServiceBpel.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/UtilityServiceBpel.wsdl'.
JBIMA0402: Service Assembly file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/tmp/28345a2b1143bbd25887fe9/MefWorkflowCompositeApp.zip has been deployed.
Starting service assembly MefWorkflowCompositeApp on target server.
Starting BPELSE deploy process
FromXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
ToXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
ToXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
FromXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
ToXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
FromXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
ToXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
FromXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
ToXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
FromXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
ToXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
FromXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
ToXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
FromXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
ToXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
ToXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
FromXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
FromXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
ToXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
FromXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
ToXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
FromXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
FromXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
ToXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
ToXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
FromXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
ToXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
FromXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
ToXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
FromXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
FromXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
ToXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
ToXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
FromXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
ToXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
FromXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
ToXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
ToXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
FromXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
FromXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oa

Similar Messages

  • How to use automator to extract specific text from json txt file

    I'm trying to set up an Automator folder action to extract certain data from json files. I'm pulling metadata from YouTube videos, and I want to extract the Title of the video, the URL for the video, and the date uploaded.
    Sample json data excerpts:
    "upload_date": "20130319"
    "title": "[title of varying length]"
    "webpage_url": "https://www.youtube.com/watch?v=[video id]"
    Based on this thread, seems I should be able to have Automator (or any means of using a shell script) find data and extract it into a .txt file, which I can then open as a space delimited file in Excel or Numbers. That answer assumes a static number of digits for the text to be extracted, though. Is there a way Automator can search through the json file and extract the text - however long - after "title" and "webpage_url"?
    json files are all in the same folder, and all end in .info.json.
    Any help greatly appreciated!

    Hello
    You might try the following perl script, which will process every *.json file in current directory and yield out.csv.
    * CSV currently uses space for field separator as you requested. Note that Numbers.app cannot import such CSV file correctly.
    #!/bin/bash
    /usr/bin/perl -CSDA -w <<'EOF' - *.json > out.csv
    use strict;
    use JSON::Syck;
    $JSON::Syck::ImplicitUnicode = 1;
    # json node paths to extract
    my @paths = ('/upload_date', '/title', '/webpage_url');
    for (@ARGV) {
        my $json;
        open(IN, "<", $_) or die "$!";
            local $/;
            $json = <IN>;
        close IN;
        my $data = JSON::Syck::Load($json) or next;
        my @values = map { &json_node_at_path($data, $_) } @paths;
            #   output CSV spec
            #   - field separator = SPACE
            #   - record separator = LF
            #   - every field is quoted
            local $, = qq( );
            local $\ = qq(\n);
            print map { s/"/""/og; q(").$_.q("); } @values;
    sub json_node_at_path ($$) {
        #   $ : (reference) json object
        #   $ : (string) node path
        #   E.g. Given node path = '/abc/0/def', it returns either
        #       $obj->{'abc'}->[0]->{'def'}   if $obj->{'abc'} is ARRAY; or
        #       $obj->{'abc'}->{'0'}->{'def'} if $obj->{'abc'} is HASH.
        my ($obj, $path) = @_; 
        my $r = $obj;
        for ( map { /(^.+$)/ } split /\//, $path ) {
            if ( /^[0-9]+$/ && ref($r) eq 'ARRAY' ) {
                $r = $r->[$_];
            else {
                $r = $r->{$_};
        return $r;
    EOF
    For Automator workflow, you may use Run Shell Script action as follows, which will receive json files and yield out_YYYY-MM-DD_HHMMSS.csv on desktop.
    Run Shell Script action
        - Shell = /bin/bash
        - Pass input = as arguments
        - Code = as follows
    #!/bin/bash
    /usr/bin/perl -CSDA -w <<'EOF' - "$@" > ~/Desktop/out_"$(date '+%F_%H%M%S')".csv
    use strict;
    use JSON::Syck;
    $JSON::Syck::ImplicitUnicode = 1;
    # json node paths to extract
    my @paths = ('/upload_date', '/title', '/webpage_url');
    for (@ARGV) {
        my $json;
        open(IN, "<", $_) or die "$!";
            local $/;
            $json = <IN>;
        close IN;
        my $data = JSON::Syck::Load($json) or next;
        my @values = map { &json_node_at_path($data, $_) } @paths;
            #   output CSV spec
            #   - field separator = SPACE
            #   - record separator = LF
            #   - every field is quoted
            local $, = qq( );
            local $\ = qq(\n);
            print map { s/"/""/og; q(").$_.q("); } @values;
    sub json_node_at_path ($$) {
        #   $ : (reference) json object
        #   $ : (string) node path
        #   E.g. Given node path = '/abc/0/def', it returns either
        #       $obj->{'abc'}->[0]->{'def'}   if $obj->{'abc'} is ARRAY; or
        #       $obj->{'abc'}->{'0'}->{'def'} if $obj->{'abc'} is HASH.
        my ($obj, $path) = @_; 
        my $r = $obj;
        for ( map { /(^.+$)/ } split /\//, $path ) {
            if ( /^[0-9]+$/ && ref($r) eq 'ARRAY' ) {
                $r = $r->[$_];
            else {
                $r = $r->{$_};
        return $r;
    EOF
    Tested under OS X 10.6.8.
    Hope this may help,
    H

  • How can I use Automator to extract specific Data from a text file?

    I have several hundred text files that contain a bunch of information. I only need six values from each file and ideally I need them as columns in an excel file.
    How can I use Automator to extract specific Data from the text files and either create a new text file or excel file with the info? I have looked all over but can't find a solution. If anyone could please help I would be eternally grateful!!! If there is another, better solution than automator, please let me know!
    Example of File Contents:
    Link Time =
    DD/MMM/YYYY
    Random
    Text
    161 179
    bytes of CODE    memory (+                68 range fill )
    16 789
    bytes of DATA    memory (+    59 absolute )
    1 875
    bytes of XDATA   memory (+ 1 855 absolute )
    90 783
    bytes of FARCODE memory
    What I would like to have as a final file:
    EXCEL COLUMN1
    Column 2
    Column3
    Column4
    Column5
    Column6
    MM/DD/YYYY
    filename1
    161179
    16789
    1875
    90783
    MM/DD/YYYY
    filename2
    xxxxxx
    xxxxx
    xxxx
    xxxxx
    MM/DD/YYYY
    filename3
    xxxxxx
    xxxxx
    xxxx
    xxxxx
    Is this possible? I can't imagine having to go through each and every file one by one. Please help!!!

    Hello
    You may try the following AppleScript script. It will ask you to choose a root folder where to start searching for *.map files and then create a CSV file named "out.csv" on desktop which you may import to Excel.
    set f to (choose folder with prompt "Choose the root folder to start searching")'s POSIX path
    if f ends with "/" then set f to f's text 1 thru -2
    do shell script "/usr/bin/perl -CSDA -w <<'EOF' - " & f's quoted form & " > ~/Desktop/out.csv
    use strict;
    use open IN => ':crlf';
    chdir $ARGV[0] or die qq($!);
    local $/ = qq(\\0);
    my @ff = map {chomp; $_} qx(find . -type f -iname '*.map' -print0);
    local $/ = qq(\\n);
    #     CSV spec
    #     - record separator is CRLF
    #     - field separator is comma
    #     - every field is quoted
    #     - text encoding is UTF-8
    local $\\ = qq(\\015\\012);    # CRLF
    local $, = qq(,);            # COMMA
    # print column header row
    my @dd = ('column 1', 'column 2', 'column 3', 'column 4', 'column 5', 'column 6');
    print map { s/\"/\"\"/og; qq(\").$_.qq(\"); } @dd;
    # print data row per each file
    while (@ff) {
        my $f = shift @ff;    # file path
        if ( ! open(IN, '<', $f) ) {
            warn qq(Failed to open $f: $!);
            next;
        $f =~ s%^.*/%%og;    # file name
        @dd = ('', $f, '', '', '', '');
        while (<IN>) {
            chomp;
            $dd[0] = \"$2/$1/$3\" if m%Link Time\\s+=\\s+([0-9]{2})/([0-9]{2})/([0-9]{4})%o;
            ($dd[2] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of CODE\\s/o;
            ($dd[3] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of DATA\\s/o;
            ($dd[4] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of XDATA\\s/o;
            ($dd[5] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of FARCODE\\s/o;
            last unless grep { /^$/ } @dd;
        close IN;
        print map { s/\"/\"\"/og; qq(\").$_.qq(\"); } @dd;
    EOF
    Hope this may help,
    H

  • How to use Reference type of Data Element

    Hi guys, is there anyone could give me a trace how to use reference type of data element.
    More details i'm going to reach is:
    I create 2 tables:
    eq.
    1. table ZFIRST has field X with data element ZFX (Data element i declared).
    2. table ZSECOND has field Y.
    Here at field Y (second table) I'm going to declare a new data element say it ZFY, but in ZFY I'm going to use the data element as i declared before (ZFX). Is it possible if I do it using reference type data element (SE11)?
    I already did this way, but I got error :
    Field Y: Reference ZFX to class w/o interface cannot be used in DB table ZSECOND
    What does it mean?. Did I miss something about using reference data element type?.
    This error occurs when I activate ZSECOND table. However in creating ZFY (reference) to data element ZFX, there is no error occur.
    The point is I need to RE-declared existing data element and ot put existing data element(ZFX) to my current table (ZSECOND).
    Any helpful will be highly appreciated.
    Thanks.
    Edited by: dinivian dondi on Nov 4, 2010 8:30 AM

    Field Y: Reference ZFX to class w/o interface cannot be used in DB table ZSECOND
    What does it mean?. Did I miss something about using reference data element type?.
    Apparently system doesn't allow you to type a transparent table field with deep type. This refers to references and tables types as components. The RDBMS (Relational DB Management System) cannot interpret this componenets correclty and mapp them to TABLEs in DB.
    So I am affraid you won't be able to type table component with reference to other data element.
    The point is I need to RE-declared existing data element and ot put existing data element(ZFX) to my current table (ZSECOND).
    Sorry but I don't get it, could you please explain this more clearly. Maybe then we can think of some workaround for you.
    Regards
    Marcin

  • How to use Xpath effectively with Java

    I am using Xpath for parsing a String with following syntax.This is a string suppose String xmlShopstring.
    <shopper>
                <upc>0123456789</upc>
                <desc>Planeters Peanutus</desc>
                <regprice>1.99</regprice>           
                <errorcode></errorcode>
            </shopper>In this case how can I use xpath parsing ?

    You can use classes from javax.xml, org.w3c.dom packages for performing XML operations in java.
    These APIs have very rich set of classes and methods for performing XML operations effectively.
    pravi.pravi wrote: how can I use xpath parsing?You need to parse XML String to org.w3c.dom.Document with use of following classes:
    javax.xml.parsers.DocumentBuilderFactory
    javax.xml.parsers.DocumentBuilderOnce you parse XML String to org.w3c.dom.Document you can use following classes and others for very effective XPath parsing.
    javax.xml.xpath.XPathFactory
    javax.xml.xpath.XPath
    javax.xml.xpath.XPathExpression
    javax.xml.xpath.XPathConstantsI have listed some classes which can help you to perform XPath parsing, you should also explore other classes in the API for more XML operations.
    Refer thread: http://forums.sun.com/thread.jspa?threadID=5357836
    Thanks,
    Tejas Purohit

  • Use LINQ to extract the data from a file...

    Hi,
    I have created a Subprocedure CreateEventList
    which populates an EventsComboBox
    with a current day's events (if any).
    I need to store the events in a generic List communityEvents
    which is a collection of
    communityEvent
    objects. This List needs to be created and assigned to the instance variable
    communityEvents.
    This method should call helper method ExtractData
    which will use LINQ to extract the data from my file.
    The specified day is the date selected on the calendar control. This method will be called from the CreateEventList.
    This method should clear all data from List communityEvents.  
    A LINQ
    query that creates CommunityEvent
    objects should select the events scheduled for selected
    day from the file. The selected events should be added to List
    communityEvents.
    See code below.
    Thanks,
    public class CommunityEvent
    private int day;
    public int Day
    get
    return day;
    set
    day = value;
    private string time;
    public string Time
    get
    return time;
    set
    time = value;
    private decimal price;
    public decimal Price
    get
    return price;
    set
    price = value;
    private string name;
    public string Name
    get
    return name;
    set
    name = value;
    private string description;
    public string Description
    get
    return description;
    set
    description = value;
    private void eventComboBox_SelectedIndexChanged(object sender, EventArgs e)
    if (eventComboBox.SelectedIndex == 0)
    descriptionTextBox.Text = "2.30PM. Price 12.50. Take part in creating various types of Arts & Crafts at this fair.";
    if (eventComboBox.SelectedIndex == 1)
    descriptionTextBox.Text = "4.30PM. Price 00.00. Take part in cleaning the local Park.";
    if (eventComboBox.SelectedIndex == 2)
    descriptionTextBox.Text = "1.30PM. Price 10.00. Take part in selling goods.";
    if (eventComboBox.SelectedIndex == 3)
    descriptionTextBox.Text = "12.30PM. Price 10.00. Take part in a game of rounders in the local Park.";
    if (eventComboBox.SelectedIndex == 4)
    descriptionTextBox.Text = "11.30PM. Price 15.00. Take part in an Egg & Spoon Race in the local Park";
    if (eventComboBox.SelectedIndex == 5)
    descriptionTextBox.Text = "No Events today.";

    Any help here would be great.
    Look, you have to make the file a XML file type -- Somefilename.xml.
    http://www.xmlfiles.com/xml/xml_intro.asp
    You can use NotePad XML to make the XML and save the text file.
    http://support.microsoft.com/kb/296560
    Or you can just use Notepad (standard), if you know the basics of how to create XML, which is just text data that can created and saved in a text file, which, represents data.
    http://www.codeproject.com/Tips/522456/Reading-XML-using-LINQ
    You can do a (select new CommunityEvent) just like the example is doing a
    select new FileToWatch and load the XML data into the CommunityEvent properties.
    So you need to learn how to make a manual XML textfile with XML data in it, and you need to learn how to use LINQ to read the XML. Linq is not going to work against some  flat text file you created. There are plenty of examples out on Bing and Google
    on how to use Linq-2-XML.
    http://en.wikipedia.org/wiki/Language_Integrated_Query
    <copied>
    LINQ extends the language by the addition of query
    expressions, which are akin to
    SQL statements, and can be used to conveniently extract and process data from
    arrays, enumerable
    classes, XML documents,
    relational databases, and third-party data sources. Other uses, which utilize query expressions as a general framework for readably composing arbitrary computations, include the construction of event handlers<sup class="reference" id="cite_ref-reactive_2-0">[2]</sup>
    or
    monadic parsers.<sup class="reference" id="cite_ref-parscomb_3-0">[3]</sup>
    <end>
    <sup class="reference" id="cite_ref-parscomb_3-0"></sup>

  • How to get the values of all elements and sub elements from  following xml

    how to get the values of all elements and sub elements from following xml...
    <?xml version="1.0" encoding="UTF-8" ?>
    <List_AML_Finacle xmlns="http://3i-infotech.com/Cust_AML_Finacle.xsd"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://3i-infotech.com/Cust_AML_Finacle.xsd List_AML_Finacle.xsd">
    <TransactionID>TransactionID</TransactionID>
    <Match>
    <Src_Matched_Field>Src_Matched_Field</Src_Matched_Field>
    <List_Matched_Field>
    <FSFM_Matches>
    <NUMBER>NUMBER</NUMBER>
    <TERROR>TERROR</TERROR>
    <TU>TU</TU>
    <NAMEU>NAMEU</NAMEU>
    <DESCRIPT>DESCRIPT</DESCRIPT>
    <KODCR>KODCR</KODCR>
    <KODCN>KODCN</KODCN>
    <AMR>AMR</AMR>
    <ADDRESS>ADDRESS</ADDRESS>
    <SD>SD</SD>
    <RG>RG</RG>
    <ND>ND</ND>
    <VD>VD</VD>
    <GR>GR</GR>
    <YR>YR</YR>
    <MR>MR</MR>
    <CB_DATE>CB_DATE</CB_DATE>
    <CE_DATE>CE_DATE</CE_DATE>
    <DIRECTOR>DIRECTOR</DIRECTOR>
    <FOUNDER>FOUNDER</FOUNDER>
    <TERRTYPE>TERRTYPE</TERRTYPE>
    </FSFM_Matches>
    <OfacMatchDetails>
    <UID>UID</UID>
    <TITLE>TITLE</TITLE>
    <SDNTYPE>SDNTYPE</SDNTYPE>
    <REMARKS>REMARKS</REMARKS>
    <ID_UID>ID_UID</ID_UID>
    <IDTYPE>IDTYPE</IDTYPE>
    <IDNUMBER>IDNUMBER</IDNUMBER>
    <IDCOUNTRY>IDCOUNTRY</IDCOUNTRY>
    <ISSUEDATE>ISSUEDATE</ISSUEDATE>
    <EXPIRATIONDATE>EXPIRATIONDATE</EXPIRATIONDATE>
    <ADDRESS1>ADDRESS1</ADDRESS1>
    <ADDRESS2>ADDRESS2</ADDRESS2>
    <ADDRESS3>ADDRESS3</ADDRESS3>
    <CITY>CITY</CITY>
    <STATEORPROVINCE>STATEORPROVINCE</STATEORPROVINCE>
    <POSTALCODE>POSTALCODE</POSTALCODE>
    <COUNTRY>COUNTRY</COUNTRY>
    </OfacMatchDetails>
    </List_Matched_Field>
    </Match>
    </List_AML_Finacle>

    avoid multi post
    http://forum.java.sun.com/thread.jspa?threadID=5249519

  • QuestionJust purchased a USB Super Drive but unsure how to use it - o instructions provided apart from how to eject a cd.  Each time I put in a cd it just ejects it again.

    Just purchased a USB Super Drive but unsure how to use it - o instructions provided apart from how to eject a cd.  Each time I put in a cd it just ejects it again.Can anyone help.

    USB is rarely bootable under Mac OS X and PowerPC Macs.   Get a Firewire Superdrive from http://www.macsales.com/ if your intent is to boot the machine.   PPC, which is PowerPC, indicates the Mac predates 2006.

  • Help me!    How to use it as a web service from third party application?

    After using JDeveloper to develop BSSV object e.g. JP550010, how to use it as a web service from third party application?
    TKS!

    Obviously the OP is working on a project for the Bead Society of Southeastern Virginia http://www.bssv.org. Oh, wait, maybe he's researching the Blueberry Shoestring Plant Virus http://abbreviations.yourdictionary.com/bssv
    :D
    John

  • How to use utl_ftp package to transfer files from one system to another

    Hi all,
    How to use utl_ftp package to transfer files from one system to another using plsql procedure .
    I failed to find the appropriate document ,kindly help me .
    Thanks,
    P Prakash

    prakash wrote:
    I am sorry tell you, this blog is not enough to for me.It's not a blog, it's Chris' website where you download the package from. Once you download the package and unrar it, then the package spec gives instructions (and I think there's instructions on how to install it too).
    Kindly let me know if there is any oracle documentation for this .It's not an Oracle created package, it was created by Chris. It's based around the UTL_TCP package if you really want to get into the nitty gritty of how it works, but I don't think you do.

  • How to write xpath to extract ALL text under an element

    Hi, I need to extract every contents (text contents and not tags) under some tag, which may contain further tags, and I wonder how I can achieve this? For example suppose my xml looks like
    <doc>
    <title> The title of this message is (<italic> Question about xpath </italic> )</title>
    </doc>And I want to extract the "title", which should be "The title of this message is (Question about xpath)".
    My xpath query is
    //doc/title/text()which only gives me "The title of this message is ()" and the "italic" contents are missing.
    Is there anyway to revise this query to extract every contents under the "title" tag?
    Thank you !

    I am guessing that//doc/title//text()would do that. Be prepared for it to return a list of nodes which you will have to concatenate together in your code.

  • How to use Xpath to query elements loaded from different xml docs?

    I have a big DBLP XML doc (95mb), to load into the container, i splitted the doc into many small xml docs by the publication types, such as articles, books, inproceedings, etc.
    I tried to use xpath query such as
    query 'collection()/dblp[article/author]/book[title]'
    I got empty answers.
    but if i use XQuery such as
    query 'let $r:=collection()/dblp,$a :=$r/inproceedings/author
    for $l2 in $r/book
    where $a and $l2/title
    return <result> {$l2}{$a}</result>'
    i got answers. However, if i remove {$a} from the return clause, i still got empty answers.
    is there any problem with my Xpath query and flwor Xquery?
    regards,
    xiaoying

    Hi John,
    Following is the procedure i have used to load the xml docs (after the indexes have been created):
    private static void loadXmlFiles(File path2DbEnv,String theContainer, File file) throws Throwable {
         //Open a container in the db environment
              XmlManager theMgr = null;
              XmlContainer openedContainer = null;
              myDbEnv env;
              try {
              env = new myDbEnv(path2DbEnv);
         theMgr = new XmlManager(env.getEnvironment(), new XmlManagerConfig());
         //use node container
         theMgr.setDefaultContainerType(XmlContainer.NodeContainer);
                   try{
                   openedContainer = theMgr.createContainer(theContainer);
                   }catch (XmlException e){
                        //if the container alreay exist, then open it;     
                        openedContainer = theMgr.openContainer(theContainer);
              //Get an update context.
              XmlUpdateContext updateContext = theMgr.createUpdateContext();
                   String theFile = file.toString();
                   String docName=file.getName();
              //Get the input stream.
              XmlInputStream theStream = theMgr.createLocalFileInputStream(theFile);
              System.out.println("Adding " + theFile + " to container " +
                             theContainer);
         //     Do the actual put
              openedContainer.putDocument(docName, // The document's name
              theStream, // The actual document.
              updateContext, // The update context
         //     (required).
              null); // XmlDocumentConfig object
              System.out.println("done.");
              //XmlException extends DatabaseException, which in turn extends Exception.
              // Catching Exception catches them all.
              } catch (XmlException e){
                   System.err.println("Error loading files into container " + theContainer);
                   System.err.println(" Message: " + e.getMessage());
                   //In the event of an error, we abort the operation
                   // The database is left in the same state as it was in before
                   // we started this operation.
                   throw e;
              finally {
              cleanup(theMgr, openedContainer);
    Unfortunately, i waited for around 20 hours 148mb doc was not loaded; so i gave up.
    Could you please give me some suggestions on how to load the large doc efficiently ? thanks.
    regards,
    xiaoying

  • Using XPATH to extract value.

    I need some help to extract the LatestFillQuantity element value using XPATH.
    in Java.
    I am unable to extract the value of 10000.
    Please help as to what have I done wrong.?
    The Document configNode contains the flwg:
    <?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
    <i:Interest >
         <i:Generation>3</i:Generation>
         <i:Extension>
            <i:Active.From/>
            <i:Order>
              <i:Status>Confirm</i:Status>
              <i:LatestFillQuantity>100</i:LatestFillQuantity>
            </i:Order>
    </i:Extension>
    </i:Interest>
    My Java Code
    private void extractValue(Document configNode)
         XPathFactory factory = XPathFactory.newInstance();
            XPath xpath = factory.newXPath();
              try{
             XPathExpression expr
              = xpath.compile("//i:Order/i:LatestFillQuantity/text()");
             Object result = expr.evaluate(configNode, XPathConstants.NODESET);
             NodeList nodes = (NodeList) result;
             for (int i = 0; i < nodes.getLength(); i++) {
                 System.out.println(nodes.item(i).getNodeValue());
             }catch(Exception e){
                  System.out.println("Sorry,this aint working");
         }

    The nodes being parsed are namespace prefixed.
    To parse a namespace node with the JDK 5.0 javax.xml.xpath package, set the NamespaceContext on the XPath object.
    An implementation of NamespaceContext with a single prefix corresponding to a namespace uri:
    public class NamespaceContextImpl implements NamespaceContext{
    public String uri;
    public String prefix;
    public NamespaceContextImpl(){}
    public NamespaceContextImpl(String prefix, String uri){
         this.uri=uri;
         this.prefix=prefix;
    public String getNamespaceURI(String prefix){
       return uri;
    public void setNamespaceURI(String uri){
       this.uri=uri;
    public String getPrefix(String uri){
       return prefix;
    public void setPrefix(String prefix){
       this.prefix=prefix;
    public Iterator getPrefixes(String uri){return null;}
    }

  • How to Use MRS Functionality at Activity Elements Level?

    When we use Multi Resource Scheduling for resources in PS, we specify "Resource planner process" as process variant at the network header and the Resource planner node.
    In the other hand, at the network operation level we are able to choose the same Process variant and the system displays the planner node to start planning; however we cannot do that when using activity elements because the icon to search the Resource planner is gray out.
    How can I use MRS functionality at activity elements level?
    I will appreciate your help.
    Ragards,
    Rafael

    Hi Rafael...
    A question were able to integrate elements activity to MRS?
    Thanks
    Damy Vidal

  • How to use 'flat file extraction' option in Infospoke

    Hello Gurus,
    We are trying to extract the BW data using Infospoke to a 3rd party ETL tool (Datastage). Now in the current BW 3.5 release, the customer is on SP11 and we are not able to extract any data using a 3rd party system option in Infospoke. Due to the fact, we found out from SAP, that since we are getting an error (3rd party system is not set)in infospoke, we have to upgrade the SP level from 11 to either 16 or 17. The customer that we are dealing with is not going to do that until July - 2007.
    So now we have a second option to load the 'flat file' in BW App. server and FTP to Datastage. Is this something workable option?
    When using that option within Infospoke destination Tab, we can see two options. One is to use File option and load the data within the standard DIR HOME. I tried that but I can't see the file and the entire data within the standard directory. Can anyone explain why and what will be the procedure to follow?
    The second option is to use Logical file. I never done that before. Can anyone explain step by step process or provide the detail document and/or link?
    Since we are at the critical timeframe stage, I would appreciate if I can get the faster response from the Gurus.
    I will make sure to give 'reward points' to each and every helpful answer(s).
    thanks in advance,
    Maulesh

    Hi shashi,
    first, let me clarify one thing here! I am not saying '3rd party tool' as an option in infospoke. I know Infospoke provides only two options (DB table, and file). But when you use DB table option, you check mark on 3rd party destination and that's where you define an RFC destination for 3rd party tool. So when you execute an infospoke, it will start extracting data and load into the defined destination. Since we are on SP11 on BW 3.5 release, we are getting an error while executing an Infospoke using 'DB table option'. The error is like '3rd party destination is not set'. When I went to Marketplace and found an OSS note, I found out that we need an upgrade on SP level (upto 17).
       As I mentioned earlier, the client doesn't want to upgrade until next year, and we are at the critical timeframe stage, where we have to make a decision whether we hold this project until the SP upgrade happens or found alternate approach where we can extract the data from BW (somehow) and load into Teradata database via Datastage - BW Pack (3rd party ETL).
       So we might be able to use the second option in Infospoke destination, which is to use 'Flat file' load.
       Now when I use File option with App. server checked, the data loads into default Server and directory on BW. Which is DIR_HOME. I can see those file extracted and loaded into that directory under the transaction AL11. But I can't see any data. Do you think I have to request for an increase in size limit? If I see all the data, how can I FTP from the BW server? Do I have to work with SAP Basis or create a UNIX script?
       When I use Logical file name, I guess I have to follow what you have described on your response, correct? Can i use an existing Logical path and file name? Do you have a 'How to' document on creating YEAR and PER FM? Is it possible that Basis can do this work for us? What happens after we assign a logical Path and logical file name into the destination tab on Infospoke? What is the use of logical file versus file? Overall, I am looking for a process from extracting the data from Infospoke using either file or logical file, all the way to load into 3rd party database.
      looking forward for your response!
    thanks,
    Maulesh

Maybe you are looking for