I'm using J Developer/SOA Suite 22.214.171.124.0 and BPEL 2.0
I am trying to remove datetime nodes from xml, where the datetime value equals a certain value. So far I have the following BPEL code:
<bpelx:target>$GetNewHires_GetWrittenOffersReadyForUpload_OutputVariable.parameters//*[ . instance of xsd:dateTime and xsd:dateTime(.) = xsd:dateTime('0001-01-01T00:00:00')]</bpelx:target>
I have tried multiple variations of the predicate, but I can't seem to figure it out. Right now I am getting an error in J Developer that specifies it is expecting an "]" right after the "//*[." portion of the predicate. Any ideas on this would be greatly appreciated.
I removed the spaces and removed part of the predicate to help make debugging easier. I now have:
I still receive an error message at .instanceof stating that a "]" is expected. The same thing occurs when I put a space between "instance" and "of".