Preview a XSL transformed XML document using Browser view
Posted: Sat Nov 06, 2004 3:15 pm
Hello,
I'm new to XML and oXygen so I have a serious newbie question
. I searched for the manual and forum and found nothing about the Browser view, but it's there, I was able to show it, with the Results view. What's this Browser meant for ? To view the Results like other web browsers do ? Actually I use Mozilla Firefox to view my XML documents.
My problem is that I'm trying to generate a well-formed XHTML document from a XML document transformed using XSL. I found a post about someone having the same problem, he got the following line in the Results view :
It's logical because if you don't set the output/@method attribute, you get a XML file. But I can't find a way to generate a XHTML document - without this line, only HTML, XML or text, because of the allowed values (html|xml|text). I can't really use alternatives stylesheets because I want to use my own one, with my own styles. And using the edit scenario dialog it seems I can only choose between specifying a XSL URL (XHTML one) or my own "xml-stylesheet" declaration.
What should I do to get a well-formed XHTML document ?
JM
I'm new to XML and oXygen so I have a serious newbie question

My problem is that I'm trying to generate a well-formed XHTML document from a XML document transformed using XSL. I found a post about someone having the same problem, he got the following line in the Results view :
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
What should I do to get a well-formed XHTML document ?
JM