Newsgroup: it.comp.www.asp
Titolo: Come effettuare QUERY su file XML con ASP

Ciao a tutti,
Vi devo chiedere un piccola informazione, se io ho un file XML
contenente alcuni dati e devo far si che una pagina ASP mi effettui
una query sulla pagina XML per poi darmi un riscontro, come posso
fare....?
 
Questo è una parte di pagina XML:
-------------------------------------------------------------------------------
<!-- j2me info: 
http://www.forum.nokia.com/main/1,6566,1_0_55_30,00.html
-->
  <device user_agent="Nokia 60" fall_back="nokia_generic_series40"
id="nokia_generic_series60">
 
   <group id="wml_ui">
    <capability name="built_in_back_button_support" value="true"/>
   </group>
   <group id="xhtml_ui">
    <capability name="xhtml_honors_bgcolor" value="true"/>
    <capability name="xhtml_format_as_css_property" value="true"/>
   </group>
   <group id="markup">
    <capability name="preferred_markup"
value="html_wi_oma_xhtmlmp_1_0"/>
    <capability name="html_wi_w3_xhtmlbasic" value="true"/>
    <capability name="html_wi_oma_xhtmlmp_1_0" value="true"/>
   </group>
   <group id="storage">
    <capability name="max_deck_size" value="357000"/>
   </group>
   <group id="display">
    <capability name="resolution_width" value="176"/>
    <capability name="resolution_height" value="144"/>
    <capability name="max_image_width" value="176"/>
    <capability name="max_image_height" value="144"/>
    <!-- up to 84 scrollable -->
    <capability name="columns" value="21"/>
    <capability name="rows" value="8"/>
   </group>
   <group id="image_format">
    <capability name="epoc_bmp" value="true"/>
    <capability name="tiff" value="true"/>
   </group>
   <group id="mms">
    <capability name="built_in_camera" value="true"/>
    <capability name="mms_max_height" value="480"/>
    <capability name="mms_max_size" value="102400"/>
    <capability name="mms_max_width" value="640"/>
    <capability name="mms_symbian_install" value="true"/>
    <capability name="mms_amr" value="true"/>
    <capability name="mms_wav" value="true"/>
    <capability name="mms_rmf" value="true"/>
    <capability name="mms_vcard" value="true"/>
   </group>
   <group id="j2me">
    <capability name="screen_width" value="176"/>
    <capability name="screen_height" value="208"/>
    <!-- limits in kilobytes -->
    <capability name="runtime_memory_limit" value="4096"/>
    <capability name="physical_memory_limit" value="4096"/>
    <capability name="download_limit" value="4096"/>
    <capability name="irda" value="true"/>
    <capability name="bluetooth" value="true"/>
    <capability name="personal_java" value="true"/>
   </group>
-------------------------------------------------------------------------------
La mia QUERY deve essere effettuata su
Request.ServerVariables("HTTP_USER_AGENT") con la stinga qui sotto
indicata, contenuta nel file XML
 
<device user_agent="Nokia 60" fall_back="nokia_generic_series40"
id="nokia_generic_series60">
 
Grazie a tutti per l'aiuto

 fare....?
COn l'XPATH. Per l'ASP ti consiglio la lettura di alcuni tutorial che trovi
qui:
http://www.siteexperts.com/tips/xml/ts03/page4.asp?main=on
Ciao
-- 
AZ [Microsoft - .NET MVP]
Mia Home page: 
http://ciclismo.sitiasp.it
Asp.Net community: 
http://www.aspitalia.com
Il mio blog: 
http://blogs.aspitalia.com/az