[Home] [By Thread] [By Date] [Recent Entries]

  • From: =?UNKNOWN?B?MMMMMMMM?= <iamjhkang@h...>
  • To: xml-dev <xml-dev@l...>
  • Date: Sat, 21 Apr 2001 11:44:03 +0000 (KST)

Am I right in thinking that ;
 There are two kinds of files, XML and XSL.
 to show XML on IE, I do like the following.
 for (network) efficiency,
 ASP allows me to receive only one result page, not XML neither
 XSL.(meaning translate files on the server and so clients have to
 receive only one file)
 Javascript allows me to receive both XML and XSL.(meaning clients
 have to receive two files, and tranlate files on the client machine)
 
  I translated XML against XSL in the form of DOM in ASP and send
 results like this.
  
<%
  Set xmlfile = Server.CreateObject("Microsoft.XMLDOM")
  xmlfile.load(Server.MapPath("xml/"&wp_tag&".xml"))
  
  Set xslfile = Server.CreateObject("Microsoft.XMLDOM")
 
 xslfile.load(Server.MapPath("xsl/"&wp_tag&session("s_style")&".xsl"))
  
  result = xmlfile.transformNode(xslfile)

  response.write result
%>

 Do you think this is the best way?
 Thanks a lot in advance.


==================================================
¿ì¸® ÀÎÅͳÝ, Daum
Æò»ý ¾²´Â ¹«·á E-mail ÁÖ¼Ò ÇѸÞÀϳÝ
Áö±¸ÃÌ ÇÑ±Û °Ë»ö¼­ºñ½º Daum FIREBALL
http://www.daum.net

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member