On Wednesday 30 January 2002 16:29, Terrence Brannon wrote:
> On Wednesday, January 30, 2002, at 04:17 PM, Robin Berjon wrote:
> >> The reason this is important is that it would be a nightmare for
> >> constant look-and-feel to have to change every DOCTYPE command in
> >> every file
> >
> > This is not for the look and feel but for the content. However I
> > agree that
> > it's a painful solution, which is why I don't use it ;-)
>
> I am sorry, regarding repetitive coding, I meant all of these
> lines, not just the DOCTYPE lines:
>
> <?xml-stylesheet type="application/x-xpathscript"
>                  href="/stylesheets/webpage_html.xps"
>                  title="default"?>
> <!DOCTYPE webpage [
> <!ENTITY sidebar SYSTEM "/sidebar.xml">
> <!ENTITY news SYSTEM "/news.xml">
> ]>
>
>
> one of these is a stylesheet directive, the other is, as you
> mentioned, a content directive.
>
> sorry if my terminology is off but the idea is right on: how to
> get both of these in _one_ file in _one_ place so that the entire
> look and feel of all pages can be controlled from there

Well, my thought would be to use an Apache directive for that kind of thing. 
In other words have something like

<LOCATION /wheremystuffis>
        AxUseStyleSheet href=/stylesheets/webpage_html.xps title=default 
type=application/x-xpathscript
</LOCATION>

and have that imply a PI at that point. More generally it could be an AxUsePI 
directive...
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to