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.8"
 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     <released>1779</released>
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         Amazing grace how sweet the sound<br/>
32         That saved a wretch like me.<br/>
33         I once was lost, but now am found,<br/>
34         Was blind but now I see.
35       </lines>
36     </verse>
37     <verse name="v2">
38       <lines>
39         'Twas grace that taught my heart to fear,<br/>
40         And grace my fears;<br/>
41         How precious did that grace appear<br/>
42         The hour I first believed.
43       </lines>
44     </verse>
45     <verse name="v3">
46       <lines>
47         Through many dangers, toil and snares,<br/>
48         I have already come;<br/>
49         'Tis grace has brought me safe thus far,<br/>
50         And grace will lead me home.
51       </lines>
52     </verse>
53     <verse name="v4">
54       <lines>
55         When we've been there ten thousand years<br/>
56         Bright shining as the sun,<br/>
57         We've no less days to sing God's praise<br/>
58         Than when we've first begun.
59       </lines>
60     </verse>
61   </lyrics>
62 </song>

See Also