Namespace Manager or XsltContext needed. This query has a prefix, variable, or user-defined function. (4 replies)
Hi StevenW - I just encountered this after upgrading to V3 - job worked fine before. Did you get a fix?
Thanks
I used this workaround:
The field declarations are ugly but they work. You don't need to use the text() function.
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
Closed due to inactivity.
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.