Encapsulating HTML in XML using XSL

G

Greg Galloway

Hi,

Ive got an XML file thats rendered with an XSL. Ive also got a
template in HTML and I want the content of the XML file to be
displayed within this HTML template. However when I try to put the
HTML code into the XSL file, it renders slightly differently to how it
comes up when the HTML page is loaded.

Is it possible to load a CSS into an XSL in any way? This could be
part of the problem.. but any other suggestions would be great
thanks.

Can anyone help me please?
 
M

Martin Honnen

Greg Galloway wrote:

Ive got an XML file thats rendered with an XSL. Ive also got a
template in HTML and I want the content of the XML file to be
displayed within this HTML template. However when I try to put the
HTML code into the XSL file, it renders slightly differently to how it
comes up when the HTML page is loaded.

It is not clear to me what you are doing. Maybe show some relevant
snippets of the XML, XSL, HTML and tell us in what way which browser
doesn't render things as you would like.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,240
Members
46,828
Latest member
LauraCastr

Latest Threads

Top