YASnippet/publiset-mode/publiset_composition
author Patrick PIERRE
dim., 24 juil. 2016 16:46:25 +0200
changeset 430 743028c50e11
parent 365 317036597359
permissions -rw-r--r--
whitespace-cleanup
Patrick@365
     1
# -*- mode: snippet; -*-
Patrick@282
     2
# name: <publiset><composition>…
Patrick@282
     3
# key: <com=
Patrick@282
     4
# --
Patrick@282
     5
<?xml version='1.0' encoding='utf-8'?>
Patrick@282
     6
<publiset version="1.0">
Patrick@282
     7
  <composition id="${1:id}" xml:lang="fr"
Patrick@282
     8
               as="publidoc" attributes="version=1.0">
Patrick@282
     9
    <division as="document" attributes="id=$1 xml:lang=${2:fr}">
Patrick@282
    10
      <head>
Patrick@282
    11
        <title>$3</title>
Patrick@282
    12
      </head>
Patrick@282
    13
      <cover><image id="$1_cover"/></cover>
Patrick@282
    14
    </division>
Patrick@282
    15
Patrick@282
    16
    <file>$4</file>
Patrick@282
    17
    <file>$5</file>
Patrick@282
    18
  </composition>
Patrick@282
    19
</publiset>