Altova Mailing List Archives


Re: [xsl] 2 different stylesheets, applied sequentially, in IE?

From: "Michael Beddow" <mbnospam@----------->
To:
Date: 2/2/2001 5:24:00 AM
On Friday, February 02, 2001 2:22 PM
Edmund Mitchell wrote:

> 1. I have a Cold Fusion script that reads a stored procedure from an
SQL 7.0
> database.
> 2. The Cold Fusion script generates the XML file.
> 3. The XML file has a reference to the XSLT file. When
> I load the XML file into the browser, IE5.5 w/ MSXML3 applies the
XSLT.  No
> problem
> there.
>
> However, I need to apply a CSS stylesheet to the HTML generated as a
result
> of the first transformation, so that
> when I call up the XML file in the browser, the transform runs, and
then the
> CSS is applied, and I see
> the result of the CSS stylings on the generated HTML.

I expect I'm missing something, but I can't see the problem. Why not
just write the css class names etc (and the required css stylesheet
link element) out to the html via the XSLT?  Then, provides your css
is where the link says it is, the css will be applied when the html is
rendered. No second pass needed.

Michael
------------------------------------------
Michael Beddow
http://www.mbeddow.net/



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Disclaimer

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.