G
Guest
Hi,
I want to use an XPath expression in a GridView ItemTemplate, where
I wish to check for a particular value of an attribute in one of the elements
in my Xml source.
ex:
<Comments>
<Comment author="Joe Doe" private="True">This is a private</Comment>
<Comment author="John Smith" private="False" />Not private</Comment>
</Comments>
How would I use XPath to determine if private is True and then not show that
row in the Grid?
Thanks in advance.
I want to use an XPath expression in a GridView ItemTemplate, where
I wish to check for a particular value of an attribute in one of the elements
in my Xml source.
ex:
<Comments>
<Comment author="Joe Doe" private="True">This is a private</Comment>
<Comment author="John Smith" private="False" />Not private</Comment>
</Comments>
How would I use XPath to determine if private is True and then not show that
row in the Grid?
Thanks in advance.