Re: [Vala] Xml.XPath.Context.eval_expression
- From: Wolfgang Mauer <wolfgang mauer kabelmail de>
- To: vala-list gnome org
- Subject: Re: [Vala] Xml.XPath.Context.eval_expression
- Date: Tue, 12 Feb 2019 11:26:00 +0100
Sorry for spam, works like expected...
Am 11.02.19 um 22:47 schrieb Wolfgang Mauer:
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
_______________________________________________
vala-list mailing list
vala-list gnome org
https://mail.gnome.org/mailman/listinfo/vala-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]