Berkeley CSUA MOTD:Entry 26266
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2024/11/23 [General] UID:1000 Activity:popular
11/23   

2002/10/21-22 [Computer/SW/Languages/Misc] UID:26266 Activity:high
10/20   I need to wrap a css file with "<xml><css>" so that I can embed it
        in a file and also link to it.  But doing so causes the linked-to
        version to ignore the first style-- any ideas as to why this
        happens?
        \_ Is there really a <css> tag? Your question doesn't make sense?
           What are you actually trying to do?
           \_ Actually, I just need the "xml" tag-- I want to be able to
              embed the stylesheet in an html file created by XSL
              (requires an xml tag in the referenced document) yet
              still use the stylesheet via a <link href="..."> tag.
                \_ Aah, so you're trying to use one style sheet file
                   that will work in both XML and HTML, despite them having
                   different syntax. If you're using Apache, make two style
                   sheet files. One will be for HTML syntax, without the
                   <xlm> tag. the other will have an opening <xml> tag
                   and then an SSI include of the HTML version, and then
                   and then an SSI include of the HTML version:
                   <!--#include file="yourstyle.css" -->, and then
                   will be included by apache when it reads it.
                   the closing </xml> tag. It will have ony three lines.
                   you only need to make changes to the first one, and it
                   will be included by apache when it reads it. You might
                   have a problem with mime types: What will be the extension
                   of the XML/XSL filename?
                   \_ That's a good idea, but it won't work for me here.
                      I'm using an XSLT converter that uses
                      <xsl:value-of select="document(mycss.css)" /> and
                      apache isn't part of the equation.  I think I might
                      just have to choose one or the other.
2024/11/23 [General] UID:1000 Activity:popular
11/23   

You may also be interested in these entries...
2013/4/9-5/18 [Computer/SW/Mail, Academia/Berkeley/CSUA] UID:54647 Activity:nil
4/8     What's a good free e-mail provider? I don't want to use Gmail,
        Yahoo, Outlook, or any of those sites with features I never use that
        track my personal info and keep changing their interface. I want just
        simple e-mail without privacy issues or all the baggage these large,
        for-profit companies are adding. I might even be willing to pay.
        Recommendations?
	...