Lists Home |
Date Index |
- To: "Alessandro Barabesi" <email@example.com>
- Subject: RE: [xml-dev] Please help me to understand a basic concept.
- From: "Manos Batsis" <firstname.lastname@example.org>
- Date: Fri, 5 Jul 2002 12:22:16 +0300
- Cc: <email@example.com>
- Thread-index: AcIkAqi/zd3pE6yNRyOW+IOzYiWwtAAAeJAg
- Thread-topic: [xml-dev] Please help me to understand a basic concept.
You'll have more chances to get a response when using plain-text email
Remember in HTML, you link to a stylesheet (CSS) using a
<link rel="stylesheet" href="stylesheet/path.css" type="text/css"/>
Quite similarly, in XML documents you do the same using a Processing
Instruction instead of a link element:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="test.xslt"?>
<!-- rest of document -->
You specify whether the stylesheet is text/css or text/xsl in the type
From: Alessandro Barabesi [mailto:firstname.lastname@example.org]
Sent: Friday, July 05, 2002 11:58 AM
Subject: [xml-dev] Please help me to understand a basic concept.
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
can be visualized, in a browser, in hundreds of different ways, how can
associate a stylesheet to a XML document which is available at a certain
At the moment the only solutions I found is using vbscript with
set xmlDoc = server.createObject("Microsoft.XMLDOM")
set xsl = Server.CreateObject("Microsoft.XMLDOM")
xsl.async = false
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