Need help to modify detail in a style

Hello, i try to create a style for the revue "biological conservation", and i have worked from an existing style "american psychological association". But there is a problem i can't resolve.

For a chapter in a book, i've got this result : Marty, P., Lepart, J., Vernet, J. L., Bazile, F., Bohbot, H., Debain, S., Jaudon, B., Jamet, M., Martin, A., Ogereau, P., et Vernet, M. F., 2003. Espaces boisés et espaces ouverts : les temporalités d'une fluctuation. Le cas du Causse Méjan (Massif Central, France). Dans: T Muxart, F Vivien, B Villalba, J Burnoufs (Éd.)., Des milieux et des hommes : fragments d'histoires croisées. Elsevier, Paris. pp. 103-114.

And i'd like this (i put only the changing part) : Dans: Muxart, T., Vivien, F., Villalba B., Burnoufs, J., (Éd.),

Can you help me please ? Thank you

Fred

Here is the csl code i use :

<macro name="container-contributors">

<choose>

<if type="chapter">
<text term="in" text-case="capitalize-first" suffix=": "/>

<names variable="editor translator" name-as-sort-order="all" and="text" sort-separator=", " initialize-with=". " delimiter=", " delimiter-precedes-last="always" suffix="., ">
<name delimiter=", "/>
<label form="short" prefix=" (" text-case="capitalize-first" suffix=".)"/>
</names>
</if>
</choose>
</macro>

<macro name="secondary-contributors">

<choose>

<if type="chapter" match="none">

<names variable="editor translator" sort-separator=", " name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always" prefix=" (" suffix=")">
<name and="text" initialize-with=". " delimiter=", "/>
<label form="short" prefix=", " text-case="capitalize-first" suffix="."/>
</names>
</if>
</choose>
</macro>

<macro name="author">

<names variable="author">
<name name-as-sort-order="all" and="text" sort-separator=", " initialize-with=". " delimiter=", " delimiter-precedes-last="always"/>
<label form="short" prefix=" (" suffix=".)" text-case="capitalize-first"/>

<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text macro="title"/>
</substitute>
</names>
</macro>

<macro name="author-short">

<names variable="author">
<name form="short" and="text" delimiter=", " initialize-with=". "/>

<substitute>
<names variable="editor"/>
<names variable="translator"/>

<choose>

<if type="book">
<text variable="title" form="short" font-style="normal"/>
</if>

<else>
<text variable="title" form="short" quotes="true"/>
</else>
</choose>
</substitute>
</names>
</macro>

<macro name="access">

<choose>

<if variable="DOI">
<text variable="DOI" prefix="doi: "/>
</if>

<else>

<group>
<text term="retrieved" text-case="capitalize-first" suffix=" "/>

<date variable="accessed" suffix=", ">
<date-part name="month" suffix=" "/>
<date-part name="day" suffix=", "/>
<date-part name="year"/>
</date>

<group>
<text term="from" suffix=" "/>
<text variable="URL"/>
</group>
</group>
</else>
</choose>
</macro>

<macro name="title">

<choose>

<if type="book thesis" match="any">
<text variable="title" font-style="normal"/>
</if>

<else>
<text variable="title"/>
</else>
</choose>
</macro>

<macro name="publisher">
<text variable="genre" suffix=", "/>

<group delimiter=", ">
<text variable="publisher"/>
<text variable="publisher-place"/>
</group>
</macro>

<macro name="event">
<text variable="event"/>
<text variable="event-place" prefix=", "/>
</macro>

<macro name="issued">

<choose>

<if variable="issued">

<group prefix=" " suffix=".">

<date variable="issued">
<date-part name="year"/>
</date>

<choose>

<if type="book chapter article-journal" match="none">

<date variable="issued">
<date-part prefix=", " name="month"/>
<date-part prefix=" " name="day"/>
</date>
</if>
</choose>
</group>
</if>

<else>
<text prefix=" (" term="no date" suffix=")."/>
</else>
</choose>
</macro>

<macro name="issued-year">

<choose>

<if variable="issued">

<date variable="issued">
<date-part name="year"/>
</date>
</if>

<else>
<text term="no date" form="short"/>
</else>
</choose>
</macro>

<macro name="edition">

<choose>

<if type="book chapter" match="any">

<choose>

<if is-numeric="edition">

<group delimiter=" ">
<number variable="edition" form="ordinal"/>
<text term="edition" form="short" suffix="."/>
</group>
</if>

<else>
<text variable="edition" suffix="."/>
</else>
</choose>
</if>
</choose>
</macro>

<macro name="locators">

<choose>

<if type="article-journal article-magazine article-newspaper" match="any">

<group prefix=" " delimiter=", ">

<group>
<text variable="volume" font-style="normal"/>
<text variable="issue" prefix="(" suffix=")"/>
</group>
<text variable="page"/>
</group>
</if>

<else-if type="book chapter" match="any">

<group prefix="" suffix="." delimiter=", ">
<text macro="edition"/>

<group>
<text term="volume" form="short" plural="true" text-case="capitalize-first" suffix=". "/>
<number variable="number-of-volumes" form="numeric" prefix="1-"/>
</group>

<group>
<text term="volume" form="short" text-case="capitalize-first" suffix=". "/>
<number variable="volume" form="numeric"/>
</group>

<group>
<label variable="page" form="short" include-period="true" suffix=" "/>
<text variable="page"/>
</group>
</group>
</else-if>
</choose>
</macro>

<macro name="citation-locator">

<group>
<label variable="locator" include-period="true" form="short"/>
<text variable="locator" prefix=" "/>
</group>
</macro>

<citation>
<option name="et-al-min" value="3"/>
<option name="et-al-use-first" value="1"/>
<option name="et-al-subsequent-min" value="3"/>
<option name="et-al-subsequent-use-first" value="1"/>
<option name="disambiguate-add-year-suffix" value="true"/>
<option name="disambiguate-add-names" value="true"/>
<option name="disambiguate-add-givenname" value="true"/>
<option name="collapse" value="year"/>

<sort>
<key variable="issued"/>
<key macro="author"/>
</sort>

<layout prefix="(" suffix=")" delimiter=" ; ">

<group delimiter=", ">
<text macro="author-short"/>
<text macro="issued-year"/>
<text macro="citation-locator"/>
</group>
</layout>
</citation>

<bibliography>
<option name="et-al-min" value="20"/>
<option name="et-al-use-first" value="1"/>
<option name="entry-spacing" value="0"/>

<sort>
<key macro="author"/>
<key variable="issued"/>
</sort>

<layout suffix=".">
<text macro="author" suffix=".,"/>
<text macro="issued" suffix=" "/>

<group delimiter=". ">
<text macro="title"/>

<group>
<text macro="container-contributors"/>
<text macro="secondary-contributors"/>

<group delimiter=", ">
<text variable="container-title" font-style="normal"/>
<text variable="collection-title"/>
</group>
</group>
</group>

<group delimiter=". " prefix=". ">
<text macro="publisher"/>
<text macro="access"/>
<text macro="locators"/>
</group>
</layout>
</bibliography>
</style>

This is an old discussion that has not been active in a long time. Instead of commenting here, you should start a new discussion. If you think the content of this discussion is still relevant, you can link to it from your new discussion.