YASnippet/publiset-mode/publiset_composition
author Patrick PIERRE
mer., 05 févr. 2014 07:36:39 +0100
changeset 300 c36c87f54f71
parent 282 7890bee65275
child 365 317036597359
permissions -rw-r--r--
Ajout des variantes sur le <media>/<image>
# name: <publiset><composition>…
# key: <com=
# --
<?xml version='1.0' encoding='utf-8'?>
<publiset version="1.0">
  <composition id="${1:id}" xml:lang="fr"
               as="publidoc" attributes="version=1.0">
    <division as="document" attributes="id=$1 xml:lang=${2:fr}">
      <head>
        <title>$3</title>
      </head>
      <cover><image id="$1_cover"/></cover>
    </division>

    <file>$4</file>
    <file>$5</file>
  </composition>
</publiset>