Scratchpad:OpenLyrics XML Format

From OpenLP
Jump to: navigation, search

The Documentation of OpenLyrics XML Format you can find on the projects website

Advanced Example

 1 <?xml version="1.0" encoding="UTF-8"?>
 2 <song xmlns="http://openlyrics.info/namespace/2009/song"
 3       version="0.7"
 4       createdIn="OpenLP 2.0"
 5       modifiedIn="ChangingSong 0.0.2"
 6       <!-- date format: ISO 8601 -->
 7       modifiedDate="2009-12-22T21:24:30+02:00">
 8   <properties>
 9     <titles>
10       <title>Amazing Grace</title>
11     </titles>
12     <authors>
13       <author>John Newton</author>
14     </authors>
15     <copyright>Public Domain</copyright>
16     <ccliNo>2762836</ccliNo>
17     <releaseDate>1779</releaseDate>
18     <tempo type="text">moderate</tempo>
19     <key>D</key>
20     <verseOrder>v1 v2 v3 v4 v5 v6</verseOrder>
21     <themes>
22       <theme>Assurance</theme>
23       <theme>Grace</theme>
24       <theme>Praise</theme>
25       <theme>Salvation</theme>
26     </themes>
27   </properties>
28   <lyrics>
29     <verse name="v1">
30       <lines>
31         <line>Amazing grace how sweet the sound</line>
32         <line>That saved a wretch like me.</line>
33         <line>I once was lost, but now am found,</line>
34         <line>Was blind but now I see.</line>
35       </lines>
36     </verse>
37     <verse name="v2">
38       <lines>
39         <line>T'was grace that taught my heart to fear,</line>
40         <line>And grace my fears;</line>
41         <line>How precious did that grace appear</line>
42         <line>The hour I first believed.</line>
43       </lines>
44     </verse>
45     <verse name="v3">
46       <lines>
47         <line>Through many dangers, toil and snares,</line>
48         <line>I have already come;</line>
49         <line>'Tis grace has brought me safe thus far,</line>
50         <line>And grace will lead me home.</line>
51       </lines>
52     </verse>
53     <verse name="v4">
54       <lines>
55         <line>When we've been there ten thousand years</line>
56         <line>Bright shining as the sun,</line>
57         <line>We've no less days to sing God's praise</line>
58         <line>Than when we've first begun.</line>
59       </lines>
60     </verse>
61   </lyrics>
62 </song>

See Also