Is it possible to include both a CSS and XSLT in the same XML file? If
so, are there any tricks to this to make it work? I'm new to XML, but
from my initial observations, XSLT does not look like the tool to do the
work of my CSS file. XSLT seems more like a layout scripting language
so far, but seems like it would be tedious to define TD and TH tags.
So, I'm trying to handle this with CSS files in addtion to XSLT files.
I tried putting the following lines in my XML file, but I'm not seeing
the formating changes in the result.
<?xml-stylesheet type="text/xsl" href="http://links.10026.com/?link=calendar.xsl"?>
<?xml-stylesheet type="text/css" href="http://links.10026.com/?link=calendar.css"?>
Can this be done? If so, what am I doing wrong?
Thanks in advance.
Robert
*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
"Robert Taylor" <anonymous@.devdex.com> wrote in message
news:uXV6bYlTEHA.1168@.TK2MSFTNGP11.phx.gbl...
[snip]
> I tried putting the following lines in my XML file, but I'm not seeing
> the formating changes in the result.
> <?xml-stylesheet type="text/xsl" href="http://links.10026.com/?link=calendar.xsl"?>
> <?xml-stylesheet type="text/css" href="http://links.10026.com/?link=calendar.css"?>
> Can this be done? If so, what am I doing wrong?
You need to put the link to the css file in the output of the XSL...
Bryant
|||Bryant,
Thanks. I'll try this out.
Robert
*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment