Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by duggied

  1. duggied

    XML XPath Subquery

    Why isn't this query working? It's returning all three nodes, but should only be returning 1. autoforms/fields/*[not(contains(../../forms/@id,@dependantforms)) and contains(@memberforms,'JoinDomain')] It should return the fields nodes where the memberforms attribute contains JoinDomain, but...
  2. duggied

    XML XPath Subquery

    I tested contains with an XPath query analyzer and it works! Great! Ok, last question how do I combine two filter expressions? autoforms/fields/*[contains(@dependantforms,../../forms/@id)]and[contains(@memberforms,'ServerName')]
  3. duggied

    XML XPath Subquery

    Thanks Jon, Would it work to do a contains in the filter expression? autoforms/fields/textbox[contains(@dependantforms,../../forms/@id)] The reason being, although not clear in my posted xml, the dependant forms attribute could be dependantforms="ServerName,ServerChecklist"
  4. duggied

    XML XPath Subquery

    Hello folks. I'm fairly new to xml, so I'm not sure if what I am try to do is even possible. Basicallly I have the following XML (see below) and I'm trying to filter all the fields where the attribute dependatforms = the forms id attribute. Attempted XPath query...

Part and Inventory Search

Back
Top