Hi,
is there an option to use x-path-like queries in the XMLModel?
E.g.
- <?xmlversion="1.0"encoding="UTF-8"?>
- <main>
- <config>
- <mode>1</mode>
- <ext>
- <itemdate="January 2009">
- <unit>900</unit>
- <current>1</current>
- <interactive>1</interactive>
- </item>
- </ext>
- </config>
- <config>
- <mode>2</mode>
- <ext>
- <itemdate="February 2009">
- <unit>400</unit>
- <current>2</current>
- <interactive>5</interactive>
- </item>
- </ext>
- </config>
- </main>
and
- var oTable2 = new sap.ui.table.Table();
- oTable2.bindRows("/config['mode='1'']/ext");
to select a node directly?
The source is from an old Post [SAPUI5 - XMLModel] Xpath filter ? where the solution was to loop through the result.
Does SAPUI support X-Path like queries in the meantime?
Thanks,
Oliver