Back to forum list… Back to Issues and Problems...

Namespace Manager or XsltContext needed. This query has a prefix, variable, or user-defined function. (4 replies)

StevenW
8 years ago
StevenW 8 years ago

I have a namespace defined in the Xml Reader:

xmlns:ns0="http://CCS.3PLEDI.Common.Schemas.XML_Generic_OB_945_V01"

I am using the ns0 namespace in all my XPath queries (I.E. /ns0:order_list for the entry point and ns0:cust_order_num for a field).  When I run the transform, I get the error message in the subject: Namespace Manager or XsltContext needed. This query has a prefix, variable, or user-defined function.  Stackoverflow seems to suggest that this is a bug in the usage of the XmlDocument method.

Tascoli
8 years ago
Tascoli 8 years ago

Hi StevenW - I just encountered this after upgrading to V3 - job worked fine before. Did you get a fix?

Thanks

StevenW
8 years ago
StevenW 8 years ago

I used this workaround:

http://stackoverflow.com/questions/16717211/getting-elements-with-default-namespace-no-namespace-prefix-using-xpath

The field declarations are ugly but they work.  You don't need to use the text() function.

Support
8 years ago
Support 8 years ago

Hi All,

You should be able to add the namespace to the reader in order to used namespaces query paths.

Please see the documentation:

http://www.realisable.co.uk/Content/Documentation/IManUG/Readers/XML.htm

6 years ago
Support 6 years ago

Closed due to inactivity.

Contact

Realisable Software Ltd provides code-free, cost-effective applications integration solutions for SMEs. Our core IMan product is designed to integrate almost any application with a number of Sage solutions and online payment processors.

Looking to purchase IMan, please see our resellers here.

Realisable Software
Ph: +44 (0) 208 123 1017

Copyright © Realisable. All rights reserved.
Realisable is a registered trademark

Close

Request Demo

Realisable Software Ltd provides code-free, cost-effective applications integration solutions for SMEs. Our core IMan product is designed to integrate almost any application with a number of Sage solutions and online payment processors.

Looking to purchase IMan, please see our resellers here.

Realisable Software
Ph: +44 (0) 208 123 1017

Copyright © Realisable. All rights reserved.
Realisable is a registered trademark

Close

Access Downloads

Realisable Software Ltd provides code-free, cost-effective applications integration solutions for SMEs. Our core IMan product is designed to integrate almost any application with a number of Sage solutions and online payment processors.

Looking to purchase IMan, please see our resellers here.

Realisable Software
Ph: +44 (0) 208 123 1017

Copyright © Realisable. All rights reserved.
Realisable is a registered trademark

Close