On 04.06.2022 20:47, Martin Honnen martin.honnen@xxxxxx wrote:
On 04.06.2022 17:30, Chris Papademetrious
christopher.papademetrious@xxxxxxxxxxxx wrote:
I had to define
B xmlns:fn=http://www.w3.org/2005/xpath-functions
in my stylesheet for fn:group to match, and Ibm not sure if therebs a
better way to do that too.
I am not a fan of a wildcard for the namespace prefix but when I would
only need fn to access the analyze-string result (or a quick selection
in some json-to-xml result) I sometimes allow myself to take the
wildcard e.g. *:group ( or for JSON e.g. *:map) shortcut.
Who among us hasn't used wildcard prefixes out of ignorance,
desperation, convenience, or the unwillingness to change swathes of
legacy code, or a combination of any of these reasons?
|