DECOR-Publication-Parameters

Revision as of 14:31, 14 August 2016 by Kheitmann (talk | contribs) (Created page with "===decor-parameters.xml=== This is the basic setup of the decor-parameters.xml file: <syntaxhighlight lang="xml"> <?xml version="1.0" encoding="UTF-8"?> <decor-parameters xml...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

decor-parameters.xml

This is the basic setup of the decor-parameters.xml file:

<?xml version="1.0" encoding="UTF-8"?>
<decor-parameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://art-decor.org/ADAR/rv/decor-parameters.xsd">

   <!-- create Schematron with switchCreateSchematron1 or 
           don't create (switchCreateSchematron0) -->
   <switchCreateSchematron1/>

   <!-- create Schematron with HL7v3 messaging wrappers includes 
           (switchCreateSchematronWithWrapperIncludes1) or don't create
           (switchCreateSchematronWithWrapperIncludes0) -->
   <switchCreateSchematronWithWrapperIncludes0/>

   <!-- create closed qualification quality schematrons (switchCreateSchematronClosed1) or 
           respect whatever is actually configured (switchCreateSchematronClosed0) -->
   <switchCreateSchematronClosed0/>

   <!-- create Schematrons with includes only for those that are actually part of the template
           (representingTemplate/@ref and/or @flexibility) -->
   <switchCreateSchematronWithExplicitIncludes1/>

   <!-- create HTML documentation (switchCreateDocHTML1) or 
           don't create (switchCreateDocHTML0) -->
   <switchCreateDocHTML1/>

   <!-- create SVG images where applicable (switchCreateDocSVG1) or 
           don't create (switchCreateDocSVG0) -->
   <switchCreateDocSVG1/>

   <!-- if the conversion process should create the PDF based documentation the element     
        <switchCreateDocPDF1>...</switchCreateDocPDF1>; should be present; creating PDF is
        skipped with <switchCreateDocPDF0/>. The element content of
        this element should contain letters d, s, t, r, and/or i for
        datasets, scenarios, terminologies, rules and issues to be 
        included in the PDF or if omitted, dstri is assumed. -->
   <switchCreateDocPDF1>dsntri</switchCreateDocPDF1>

   <!-- create DocBook documentation (switchCreateDocDocbook1) or 
           don't create (switchCreateDocDocbook0) -->
   <switchCreateDocDocbook0/>

   <!-- use local assets dir ../assets (useLocalAssets1) instead of online 
           version (useLocalAssets0) on http://art-decor.org/ADAR/rv/assetsvxx/ 
           (xx depends on DECOR2Schematron.xsl) -->
   <useLocalAssets1/>

   <!-- use local logos dir ../pfx-logos (useLocalLogos1) instead of online 
           version (useLocalLogos0) on /decor/project/reference + /pfx-logos/ -->
   <useLocalLogos1/>

   <!-- add a logo to the top right on HTML pages, optionally with a URL 
           (useCustomLogo1) or don't add (useCustomLogo0) -->
   <useCustomLogo0 src="../pfx-logos/nictiz.jpg" href="http://pfx.art-decor.org"/>

   <!-- If set, decor2html will get overview results using RetrieveTransaction for the 
           most recent version in project-decor.xml. If absent, current RetrieveTransaction 
           results will be used. -->
   <useLatestDecorVersion1/>

   <!-- create artifacts in timestamped directories (inDevelopment0) or 
           create artifacts in pfx-runtime-develop / pfx-html-develop (inDevelopment1) 
           while we are just publishing/testing intermediate results-->
   <inDevelopment1/>

   <!-- override /decor/project/@defaultLanguage with a specific language. 
           Value ALL activates all languages -->
   <defaultLanguage>nl-NL<defaultLanguage>

   <!-- If switchCreateDatatypeChecks1 all XML elements with a datatype are 
           created with an extends in Schematron. Normally left active. -->
   <switchCreateDatatypeChecks1/>

   <!-- Creates pseudo XML instances in HTML folder -->
   <createDefaultInstancesForRepresentingTemplates0/>

   <!-- Customizations to be used in RetrieveTransaction. May contain attribute 
           @hidecolums, which contains columns to be hidden when calling RetrieveTransaction. -->
   <useCustomRetrieve1/>

   <!-- URI for ART-DECOR, e.g. http://art-decor.org/art-decor/.
        MUST end with a /. The value is used to build the URI to the 
        live project for example to get to full issue details.
        If you do not set it here, we will try decor/@deeplinkprefix
        which gets set through project compilation, if that 
        has no value, and you do not supply it directly to
        DECOR2schematron (e.g. through the ADRAM service),
        the value is empty and links will not work -->
   <artdecordeeplinkprefix>http://x.y.z</artdecordeeplinkprefix>

   <!-- bindingBehavior determines the binding behavior for the
        schematron engine and influences schematron generation:
        freeze
        The schematron engine generates code for dynamically bound value sets
        by treating the most recent version at the time of generation as
        static (freeze the most recent version and treat it as if it was declared static)
        preserve
        The schematron engine generates code for dynamically bound value sets
        by using the actual most recent version at the time of validation and
        therfore create true value set look-up code to retrieve the recent version 
        from the ART-DECOR terminology service (preserve the real most recent
        version and treat it as such) -->
   <bindingBehavior valueSets="freeze"/>

</decor-parameters>