Subject: Re: [xsl] Indirect referencing in XSLT/XPath? From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Sat, 5 Apr 2025 20:08:16 -0000 |
Hello Dimitre,$aircraft?altitude?units
I ran your solution:
let $aircraft := {"altitude": {"units" : "Flight_Level"} } return
in the Oxygen XPath bar and it gave me this error message:
Unexpected token "{" at start of expression.
Do you know what is causing that error?
Roger, what Dimitre showed there works in XPath 4.0 where an explicit "map" constructor keyword is optional but in XPath 3.1 you need e.g.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Indirect referencing in X, Roger L Costello cos | Thread | Re: [xsl] Indirect referencing in X, Roger L Costello cos |
Re: [xsl] Indirect referencing in X, Roger L Costello cos | Date | Re: [xsl] Indirect referencing in X, Roger L Costello cos |
Month |