Re: [xdi-editors] questions about browser-viewable copies on xdi.org

From
Markus Sabadello <>
Date
2014-11-24T19:35:30+00:00
ID
Thread
Re: [xdi-editors] questions about browser-viewable copies on xdi.org
This sounds good to me.

Any idea what is the difference between oasis-specification-html.xsl and oasis-specification-html-offline.xsl ?

Markus

On Mon, Nov 24, 2014 at 8:05 PM, Davis, Peter <> wrote:

we should alway use relative references. that ensures no cross domain issues arise. The template instructs:

For use when a committee document points at the OASIS web site for publishing:

<?xml-stylesheet type="text/xsl" 

href="" href="http://docs.oasis-open.org/templates/DocBook/spec-0.6/stylesheets/oasis-specification-html.xsl" target="_blank">http://docs.oasis-open.org/templates/DocBook/spec-0.6/stylesheets/oasis-specification-html.xsl"?>

<!DOCTYPE article

  PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"

         "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" 

For use when a committee document points to an embedded runtime installation:

<?xml-stylesheet type="text/xsl" 

         href="">

<!DOCTYPE article

 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" 

        "htmlruntime/spec-0.6/docbook/docbookx.dtd" 

however, the path for the second example is wrong. it should be (relative to the specification directory):

href="">

this does require that you have the entire xdi git repo checked out.

=peterd

On Nov 22, 2014, at 12:11 PM, Markus Sabadello <> wrote:

Sometimes it's this:

<?xml-stylesheet type="text/xsl" 

href="">

And
 sometimes it's this:

<?xml-stylesheet
 type="text/xsl" 

href="">