[Vala] Xml.XPath.Context.eval_expression
- From: Wolfgang Mauer <wolfgang mauer kabelmail de>
- To: vala-list gnome org
- Subject: [Vala] Xml.XPath.Context.eval_expression
- Date: Mon, 11 Feb 2019 22:47:15 +0100
Hi all,
in C# i can use some like this for selecting items with specific attribute
SelectSingleNode($"/Item/Bookmarks/Bookmark[@Filename='{fileName}'][@Line='{line}']")
SelectNodes($"//Item[@Type='2']")
Is this possible in vala, something like this?
|eval_expression|(@"/Item/Bookmarks/Bookmark[@Filename='$fileName'][@Line='$line']")
|eval_expression|(@"//Item[@Type='2']")
Thanks for Help!
Wolfgang
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]