Search results for query: *

  • Users: ma701ss
  • Content: Threads
  • Order by date
  1. M

    XmlPath case insensitive search

    Hi, I've tried this to search for the word 'apple' within 'DESCRIPTION' of all 'PRODUCT' elements in an xml document: Dim fruit As XmlNodeList = doc.SelectNodes("//PRODUCT[translate(., 'ABCDEFGHJIKLMNOPQRSTUVWXYZ', 'abcdefghjiklmnopqrstuvwxyz') = contains(DESCRIPTION,'apple')]") This...
  2. M

    Button click submit to new page

    Hi, I have a procedure that is called when I click on a button. The result of the procedure is an XmlElement and from it I want to pass the values of each "name" element to a new page. This new page will display a list of products, which will be retrieved by looking up from a database the list...
  3. M

    Search for string in XML file

    Hi, I need to search for a specific word in an XML file, entered by a user into a search box. For example: <products> <product id="123"> <description>This is a product and it's great</description> </product> <product id="124"> <description>This is another product and it's also...
  4. M

    Xpath

    Hi, Need help using Xpath to firstly look at every CATEGORY node using the "id" attribute passed over to the webpage in a querystring, and then once found to assign the "name" attribute to a variable. Getting in a muddle trying to use MoveToFirstAttribute(), not working. <?xml...
  5. M

    How to select data from XML files

    Hi, I have the following XML file (sample): <CATEGORY name="cat1" id="1"> ---<PRODUCT ITEM="100"> ------<WEIGHT>0.15</WEIGHT> ------<NAME>A Product</NAME> ------<PRICE>10.00</PRICE> ---</PRODUCT> </CATEGORY> <CATEGORY name="cat2" id="2"> ---<PRODUCT ITEM="200"> ------<WEIGHT>0.15</WEIGHT>...
Back
Top