Skip to content
This repository has been archived by the owner on Jul 4, 2021. It is now read-only.

references with a few titles conversion #49

Closed
Intelligent2013 opened this issue May 25, 2021 · 1 comment
Closed

references with a few titles conversion #49

Intelligent2013 opened this issue May 25, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Intelligent2013
Copy link
Contributor

Intelligent2013 commented May 25, 2021

Source: https://github.com/metanorma/mn-samples-bsi/issues/2
MN XML:

<references id="sec_bibl">
<title>Bibliography</title>
<title>
<strong>Standards publications</strong>
</title>
<p>For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies.</p>
<bibitem id="ref_23" type="standard">
<eref citeas="BS 476‑22" type="inline">, <title>Fire tests on building materials and structures – Part 22: Method for determination of the fire resistance of non‑loadbearing elements of construction</title>
</eref>
</bibitem>
<bibitem id="ref_24" type="standard">
<eref citeas="BS 5266‑1" type="inline">, <title>Emergency lighting – Part 1: Code of practice for the emergency lighting of premises</title>
</eref>
</bibitem>
...
<title>
<strong>Other publications</strong>
</title>
<bibitem id="ref_31">
<docidentifier type="metanorma">[1]</docidentifier>
<title>GREAT BRITAIN. Building Regulations 2010 (SI No. 2214 2010) and subsequent amendments. London: The Stationery Office.</title>
</bibitem>
<bibitem id="ref_32">
<docidentifier type="metanorma">[2]</docidentifier>
<title>GREAT BRITAIN. Building Regulations (Northern Ireland) 2012 (SRNI No. 192 2012) and subsequent amendments. Belfast: The Stationery Office.</title>
</bibitem>
...
<title>
<strong>Further reading</strong>
</title>
<bibitem id="ref_45" type="standard">
<eref citeas="BS EN ISO 9001" type="inline">, <title>Quality systems – Requirements</title>
</eref>
</bibitem>
</references>
</bibliography>

In resulted STS XML there aren't sub-sections ref-list Other publications, Further reading:

<ref-list content-type="bibl" id="sec_bibl">
<title>Bibliography</title>
<ref-list>
<title>
<bold>Standards publications</bold>
</title>
<p>For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies.</p>
<ref content-type="standard" id="ref_23">
<std type="undated">
<std-ref>BS 476‑22</std-ref>, <title>Fire tests on building materials and structures – Part 22: Method for determination of the fire resistance of non‑loadbearing elements of construction</title>
</std>
</ref>
<ref content-type="standard" id="ref_24">
<std type="undated">
<std-ref>BS 5266‑1</std-ref>, <title>Emergency lighting – Part 1: Code of practice for the emergency lighting of premises</title>
</std>
</ref>
...
<ref content-type="standard" id="ref_45">
<std type="undated">
<std-ref>BS EN ISO 9001</std-ref>, <title>Quality systems – Requirements</title>
</std>
</ref>
</ref-list>
...
@Intelligent2013
Copy link
Contributor Author

Done.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant