YASnippet/publiset-mode/publiset_composition
author Patrick PIERRE
sam., 07 mars 2015 09:40:39 +0100
changeset 365 317036597359
parent 282 7890bee65275
permissions -rw-r--r--
Ajout de mode: snippet;
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>