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

From
Davis, Peter <>
Date
2014-11-24T19:05:37+00:00
ID
Thread
Re: [xdi-editors] questions about browser-viewable copies on xdi.org
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" class="">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="" class="">

And
 sometimes it's this:

<?xml-stylesheet
 type="text/xsl" 
href="" class="">