Salve a tutti,
spero in un vostro aiuto.

Sto realizzando (ci provo) un sito con XML e XSLT.

I due file li ho creati, ora li sto mettendo a video con XHTML, con dei porblemi.

Mi vengono fuori due caratteri, andate a vedere qui

http://www.allinonenet.it/esempi/CAT.asp?cat=

YP che cosa osno ?

Vi risporto il codice ASP:


<%@ Language=VBScript %>



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="it" lang="it"><head>
<title>
La mia prima pagina XHTML
</title>
</head>
<body>

<%

' prevent page caching

Response.CacheControl = "no-cache"
Response.AddHeader "Pragma", "no-cache"
Response.Expires = -1

cat = Request.QueryString("Cat")
xslpath = Server.mappath("index.xsl")
sourceFile = ("http://www.aeffemedia.com/webxmlparser/XMLFiles/XmlProduct_236.xml")

Set source = Server.CreateObject("Msxml2.DOMDocument")
source.async = false

source.setProperty "ServerHTTPRequest", True
source.validateOnParse =false
source.preserveWhiteSpace = false

source.load(sourceFile)

set xsldoc = Server.CreateObject("MSXML2.FreeThreadedDOMDocumen t")

xsldoc.async = false
xsldoc.load(xslpath)

set xsltemp = Server.createObject("MSXML2.XSLTemplate")
xsltemp.stylesheet=xsldoc

set xslproc = xsltemp.createProcessor
xslproc.input=source
xslproc.output=Response

' parameter for message group

xslproc.addParameter "mastercategoria",Cat
xslproc.transform

Response.End
%>


</body>
</html>

Grazie a tutti,
Andrea