Does Switch not support the use of "[Last()]" in specifying a Metadata field? Appears not.
I have a SQL query returning multiple hits most of the time, and I just want the last one out of the results.
i.e.: [Metadata.Text:Dataset="FMP_Data",Model="XML",Path="/Log/SQLStatementValue/Row[Last()]/Column[1]"]
Using [Last()] In XML/XPath Parsing SQL Results
Re: Using [Last()] In XML/XPath Parsing SQL Results
All things XML are case-sensitive: last() is a valid function, Last() is not.
Re: Using [Last()] In XML/XPath Parsing SQL Results
Thanks!
I let some Google searches that showed it as "Last" lead me astray.
I let some Google searches that showed it as "Last" lead me astray.