I am creating an XML page via a LotusScript agent. The XML looks good and validates, but I can’t seem to get the XSL to be viewed by a browser (IE or FF).
FF is giving me this message: This XML file does not appear to have any style information associated with it. The document tree is shown below. When I save the file locally as XML and validate it in Dreamweaver it works great, so it seems like the code and the references are correct.
Basically this is a web app that runs a simple MSSQL Query then (should) formats the data on the screen for an external client to view.
What am I missing or is there a better way to do this via a 8.5. Hints, ideas? Anything is appreciated. TIA.
Print “Content-type: text/xml”
Print |<?xml version="1.0" encoding="ISO-8859-1"?>|
Print |<?xml_stylesheet Type="text/xsl" href="/gw/globals.nsf/gwxml2.xsl"?>|
Print ||
Print ||
Print ||
Print |Company: | & coNumber & | - Invoice: | & invNumber
Print ||
Print ||
Print | |
Print InvoiceNumber
Print | |
Print | |
Print InvoiceDate
Print | |
Print | |
Print Employee
Print | |
Print | |
Print Payee
Print | |
Print | |
Print Reference
Print | |
Print | |
Print Format(ExpenseAmount ,“Currency”)
Print | |
Print ||
Print ||
Print ||
Print |Invoice Total:|
Print ||
Print ||
Print | |&Format(Cstr( expTotal ),“Currency”)&||
Print ||
Print ||
Print ||
Print ||