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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] Please help me to understand a basic concept.

[ Lists Home | Date Index | Thread Index ]

Title: Message
There are many XSLT processors available and a variety of APIs, for example most of the Java processors support the JAXP 1.1 APIs. There are also a number of higher-level toolkits, such as Cocoon, that manage the binding of source documents to stylesheets.
 

Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com

-----Original Message-----
From: Alessandro Barabesi [mailto:alex@barabesi.net]
Sent: 05 July 2002 09:58
To: xml-dev@lists.xml.org
Subject: [xml-dev] Please help me to understand a basic concept.

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