XSLT able to override CSS? Newbie question.

Discussion in 'HTML & Website Design' started by pictureboarduk, Jan 24, 2009.

  1. #1
    Hi,

    I have a small website which is uses an external CSS style sheet.

    I also am trying to use an .xslt style sheet to format some .xml data.

    I want to keep my site wide CSS styling on the site, but within the main content div, I would like to display the xml data using the xslt style sheet, overriding the CSS.


    Can this be done? I'm very new to this.

    Thankyou!


    EDIT-

    I have placed this:

    into the DIV (within the .html file) where I want the xml data to show:

    This is my .xlst file:

    The XML data is showing, but the text and <b> etc tags in the .xlst file are not.



    Am I doing this the right way?

    Many thanks!
     
    pictureboarduk, Jan 24, 2009 IP