Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asptoday_discuss thread: retrieve value from xml


Message #1 by kcwong19@h... on Mon, 4 Feb 2002 10:02:30
Can you tell me how to retrieve value from xml? Currently, i do like this 

in Diagnosis.asp:

strXML=strXML & "<Simtom>" & recordset("Simtom") & "</Simtom>

<xml id=xmldso><%=strXML%></xml>

Simtom=xmldso.recordset("Simtom")

Message #2 by "Dmitry Zakharov" <brook74@h...> on Tue, 5 Feb 2002 12:58:49
It depends on arm you have. If client XML parser is available, then, just 

declare DOMDocument, then load your xml inyo it. If your system works only 

with IE5 and greter you can map your xml onto HTML Document object model 

(very simular with XML). It you have to relise NS/IE interoperability - 

then use server transformation. 





> Can you tell me how to retrieve value from xml? Currently, i do like 

this 

> in Diagnosis.asp:

> strXML=strXML & "<Simtom>" & recordset("Simtom") & "</Simtom>

> <xml id=xmldso><%=strXML%></xml>

> Simtom=xmldso.recordset("Simtom")


  Return to Index