Posted: Sat Feb 14, 2004 7:12 pm Post subject: 'NamespaceDecl' Question
Knight
Joined: 15 May 2001 Posts: 540 Location: New Zealand
I am attempting to create an XMLNS output message in a Compute node. The following statements:
Code:
--Declare namespace
SET OutputRoot.XMLNS.ErrorList.(XML.NamespaceDecl)xmlns = 'http://iag.com/scv/error-1/2004/01';
--Associate prefix with the namespace
SET OutputRoot.XMLNS.ErrorList.(XML.NamespaceDecl)xmlns:err = 'http://iag.com/scv/error-1/2004/01';
The 'xmlns' declaration has an additional embedded 'xmlns' while the 'xmlns:err' declaration is correctly represented. The Task Log when I save the ESQL show this error message:
Code:
Namespace constant xmlns has not been defined.
:against the 'SET ....(XML.NamespaceDecl)xmlns:err' statement, but I do not see why that would be required.
Any ideas how I can get rid of the extra 'xmlns'? Nothing I have tried so far has succeeded.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum