Changed Restructured text layout

This commit is contained in:
Philip Ridout 2012-03-25 18:25:08 +01:00
parent a75102a868
commit 5925fb624e
1 changed files with 32 additions and 32 deletions

View File

@ -47,42 +47,42 @@ class DreamBeamImport(SongImport):
The :class:`DreamBeamImport` class provides the ability to import song files from The :class:`DreamBeamImport` class provides the ability to import song files from
DreamBeam. DreamBeam.
An example of DreamBeam xml mark-up: An example of DreamBeam xml mark-up::
<?xml version="1.0"?> <?xml version="1.0"?>
<DreamSong xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <DreamSong xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<WordWrap>false</WordWrap> <WordWrap>false</WordWrap>
<Version>0.80</Version> <Version>0.80</Version>
<Title>Amazing Grace</Title> <Title>Amazing Grace</Title>
<Author>John Newton</Author> <Author>John Newton</Author>
<Collection /> <Collection />
<Number /> <Number />
<Notes /> <Notes />
<KeyRangeLow>F</KeyRangeLow> <KeyRangeLow>F</KeyRangeLow>
<KeyRangeHigh>G</KeyRangeHigh> <KeyRangeHigh>G</KeyRangeHigh>
<MinorKey>false</MinorKey> <MinorKey>false</MinorKey>
<DualLanguage>false</DualLanguage> <DualLanguage>false</DualLanguage>
<SongLyrics> <SongLyrics>
<LyricsItem Type="Verse" Number="1">Amazing Grace, how sweet the sound, <LyricsItem Type="Verse" Number="1">Amazing Grace, how sweet the sound,
That saved a wretch like me. That saved a wretch like me.
I once was lost but now am found, I once was lost but now am found,
Was blind, but now, I see.</LyricsItem> Was blind, but now, I see.</LyricsItem>
<LyricsItem Type="Verse" Number="2">Twas Grace that taught my heart to fear. <LyricsItem Type="Verse" Number="2">Twas Grace that taught my heart to fear.
And Grace, my fears relieved. And Grace, my fears relieved.
How precious did that Grace appear How precious did that Grace appear
the hour I first believed.</LyricsItem> the hour I first believed.</LyricsItem>
</SongLyrics> </SongLyrics>
<Sequence> <Sequence>
<LyricsSequenceItem Type="Verse" Number="1" /> <LyricsSequenceItem Type="Verse" Number="1" />
<LyricsSequenceItem Type="Verse" Number="2" /> <LyricsSequenceItem Type="Verse" Number="2" />
</Sequence> </Sequence>
<ShowRectangles>false</ShowRectangles> <ShowRectangles>false</ShowRectangles>
</DreamSong> </DreamSong>
Valid extensions for a DreamBeam song file are: Valid extensions for a DreamBeam song file are:
* .xml * \*.xml
""" """
def __init__(self, manager, **kwargs): def __init__(self, manager, **kwargs):