Hello Habs,
Thank you for reporting this issue.
As a workaround, it is still possible to use an XPath 1.0 extension in XSLTForms: a wildcard for all existing prefixes. In your example, "instance('myinstance')/*:personname" should be evaluated as expected.
Kind regards,
--Alain
Le 27/11/2022 20:25 CET, Habs <[email protected]> a écrit :Hello Alain, ListThank you for the reply Alain (to both quesions) and for your detailedinfo ... most helpful.I understand better now as a result and will explore some more.Entering such as this: instance('myinstance') in the debugger console,indeed does reveal the xml (unformatted).Now I know that the debigger is an XPath type query engine, I can playaround with it.Before I 'disappear' for a while to have play, do you have any comment onwhether namespaces are handled and if so, how one might enter and XPathfor a particular node please ?For example, when entering:instance('myinstance')/personname... this error is produced:Error: nsresolver.lookupNamespaceURI is not a functionHow would one select 'personname' if the xml instance employs a namespaceeg. for the error above, this is the xml:<root xmlns="somenamespace"><personname>anon</personname></root>RegardsHabsOn Sun, 27 Nov 2022, Alain Couthures wrote:Hello Habs,The new debugger console allows you to dynamically evaluate any XPath expressions such as "instance()".Extra XPath functions might help debugging (for example, the next XPath/XQuery engine will come with a "instance-ids()" function...). Any idea?Kind regards,--AlainLe 26/11/2022 18:35 CET, Habs <[email protected]> a écrit :sorry List,A bit of an update to the last (below) regarding v1.6I have noticed that the console/debugger now appears at the bottom whenpressing F1, which is different behaviour to previous, where a form wasdisplayed when pressing F1 and where it was possible to select the'profiler' to be able to access instance viewer etc.The 'debugger' console at the bottom appears to be waiting for input, butI am unsure what can be entered; especially related to inspecting orgetting a copy of the xml document as one could do with the instanceviewer.It is all a bit unfamiliar to me, sorry. Any insight would be great.Thank youHabs---------- Forwarded message ----------Date: Sat, 26 Nov 2022 17:15:52 +0000 (GMT)From: Habs <[email protected]>Subject: xsltforms 1.6 - F1 does not display the consoleHello List/Alainwith xsltforms (1.6) from here (and tried on lastest Chromium and Firefox):When pressing F1 for the 'console' (to access instance viewer etc) does notreveal anything.The previous version (1.5) is fine.Incidentally, what/where is the fleur mechanism/code used (or that could beused) to access the instance xml content (that appears in the viewer) ?Thank you, regardsHabsUK--- Sent using Alpine/Pine, probably the best MUA ---_______________________________________________Xsltforms-support mailing list--- Sent using Alpine/Pine, probably the best MUA ---
_______________________________________________ Xsltforms-support mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xsltforms-support
