Hi all,
I want to query xml document with parameters like
parent element name - like search
attribute values - like search (attribute count around 4)
I have a xpath string for combination of attributes alone
here it is :
doc.SelectNodes("//*[contains(@jcr:mimeType,'tiff') and contains(@jcr:uuid ,'2e82b0df559f') and contains(@jcr:lastModified ,'2011-12-20T15:57:21.905-08:00')]", ns)
it outputs desired results.
But I am unable to get results for
Both element name with attributes
that is :
doc.SelectNodes("//*[contains(local-name(), 'hardwarestore_423x63') and contains(@jcr:mimeType,'tiff') and contains(@jcr:uuid ,'2e82b0df559f') and contains(@jcr:lastModified ,'2011-12-20T15:57:21.905-08:00')]", ns)
How to make a like search for combination of both element name and its child node attributes?
Each Parent element has nested child nodes.
Output should be a child under the nested childs of specified parent element.
any suggestion is greatly appreciated.
Thank you
Shabarinadh.vempati