aboutsummaryrefslogtreecommitdiffstats
path: root/document/src/test/vespaxmlparser/testXMLfile.xml
blob: 59cba85a2b4715b84c4a7fac832b4883b41cfb38 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -->
<vespafeed>
    <document documenttype="music" documentid="id:ns::music::http://music.yahoo.com/bobdylan/BestOf"> 
        <url>http://music.yahoo.com/bobdylan/BestOf</url>
        <songs>Knockin on Heaven's Door; Mr. Tambourine Man</songs>
        <title>Best of Bob Dylan</title>
        <tracks>
            <item>Mr. Tambourine Man</item>
            <item>Someday Baby</item>
            <item>Blowin' In The Wind</item>
        </tracks> 
        <popularity>
            <item weight="3">0</item>
            <item weight="5">1</item>
            <item weight="30">2</item>
            <item weight="26">3</item>
        </popularity>
    </document>
    
    <remove documentid="id:ns:music::http://music.yahoo.com/BritneySpears/HitMe"/>
    
    <update documenttype="music" documentid="id:ns:music::http://music.yahoo.com/bobdylan/BestOf"> 
        <assign field="title">The Best of Bob Dylan</assign>
        <add field="tracks">
            <item>Man Of Constant Sorrow</item>
        </add>
    </update>
</vespafeed>