OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Please help me to understand a basic concept.

[ Lists Home | Date Index | Thread Index ]
  • To: <xml-dev@lists.xml.org>
  • Subject: Please help me to understand a basic concept.
  • From: "Alessandro Barabesi" <alex@barabesi.net>
  • Date: Fri, 5 Jul 2002 10:57:40 +0200
  • Organization: Alessandro Barabesi

Hi everybody
 
I hope someone will be so ncie to spend few minutes to help me.
I started to look at XML 2 days ago so please be patient, I know my
problem is probably a stupid one.
 
What I don't seem to understand is:
if XML allowes me to structure content so that, with stylesheets, that content
can be visualized, in a browser, in hundreds of different ways, how can I
associate a stylesheet to a XML document which is available at a certain URL?
At the moment the only solutions I found is using vbscript with Microsoft.XMLDOM object:
 
set xmlDoc = server.createObject("Microsoft.XMLDOM")
xmlDoc.async="false"
set xsl = Server.CreateObject("Microsoft.XMLDOM")
xsl.async = false
xsl.load(Server.MapPath("my_local_stylesheet.xsl"))
xmlDoc.load("http://some.web.server/some_file.xml")
Response.Write(xmlDoc.transformNode(xsl))
I have the feeling that I am missing a basic concept here and probably what I am trying
to do can be done very easily but I dont seem to be able to find out how.
 
Thanks,
 
Alex




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS