Author |
Message
|
jefflowrey |
Posted: Fri Jul 29, 2005 9:17 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
That's not the trace I'm looking for.
That's the trace from the XMLTransformation node.
I'm looking for output from a Trace node connected to the out terminal of the XMLTransformation node. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
JT |
Posted: Fri Jul 29, 2005 9:43 am Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
Quote: |
When the ESQL of Compute node excute the following on the output XML msg of XMLtransformation node
DECLARE J INTEGER CARDINALITY(InputRoot.XML.Log[]);
it returns J=0; |
Please post all of the ESQL code in the Compute node. |
|
Back to top |
|
 |
recallsunny |
Posted: Fri Jul 29, 2005 10:16 am Post subject: |
|
|
 Disciple
Joined: 15 Jun 2005 Posts: 163 Location: Massachusetts
|
Add a ResetContentDescriptor node after your XMLtransformation node and change MessageDomain to "XML", check mark the Reset MessageDomain property.
You should be able to see the BLOB converted to your new XML format after XML transformation.
Just an observation, the XML transformation node is awfully slow processing those XSLT's.....Wish there is a better option.
 |
|
Back to top |
|
 |
sanks |
Posted: Fri Jul 29, 2005 11:00 am Post subject: |
|
|
Apprentice
Joined: 21 Mar 2005 Posts: 27
|
Yap, that's the trouble shoot.
I added RecentCoddedDescriptor in between and it works fine.
But I think this is not the actual solution.
Why should I require to add this node?
What is going wrong with XMLtransformation node action?
Will you please explain? |
|
Back to top |
|
 |
sanks |
Posted: Fri Jul 29, 2005 11:03 am Post subject: |
|
|
Apprentice
Joined: 21 Mar 2005 Posts: 27
|
jefflowrey
This is the ESQL
CREATE COMPUTE MODULE Dispatcher_LOG CREATE FUNCTION Main() RETURNS BOOLEAN
BEGIN
DECLARE MT CHARACTER 'A';
DECLARE I INTEGER 0;
DECLARE J INTEGER CARDINALITY(InputRoot.XML.Log.Transaction[]);
SET MT = InputRoot.XML;
CALL CopyEntireMessage();
WHILE I < J DO
IF (InputRoot.XML.Log.Transaction.LocationType = 'CCD'
THEN
RETURN TRUE;
END IF;
SET I = I + 1;
END WHILE;
RETURN FALSE;
END;
CREATE PROCEDURE CopyEntireMessage() BEGIN
SET OutputRoot = InputRoot;
END;
END MODULE; |
|
Back to top |
|
 |
|