ZVON > References > Zvon Example Repository
Example repository: index | categories | search

All > SVG > Metadata > metadata-sample-BE-01


File: metadata-sample-BE-01
Author: David Dodds
Origin: W3C SVG conformance suite

Rendered imageSVG source
ElementsAttributes
axlink:href |
apply
assocscope | type |
assocrlanchrole | type |
basename
ci
circlecx | cy | onclick | r | style |
clipPathid |
cn
dc:Creator
dc:Titlerdf:parseType |
defs
descid |
facettype |
fvaluetype |
gid | style | transform |
imageheight | width | x | xlink.9:actuate | xlink.9:href | xlink.9:show | xlink.9:type | y |
metadata
myxtm:facettype
myxtm:from
myxtm:fvaltype
myxtm:fvalue
myxtm:title
myxtm:tnbname
myxtm:tnsname
myxtm:topicid
myxtm:types
pathd | style |
plus
polygonpoints | style | transform |
power
rdf:BagID |
rdf:Descriptionabout | aboutEach | rdf:about |
rdf:liresource |
rdf:RDF
rectheight | id | rx | style | width | x | y |
s:Copyright
s:Creator
scripttype |
svgheight | id | width |
textstyle | x | y |
titleid |
topicid | type | types |
topname
xtm:points
xtm:svgmetadata
xtm:XTM


Source

<svg id="svg-root" width="450" height="450" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" >
     <title id="test-title">metadata-sample-BE-01</title>
     <desc id="test-desc">Verify that the viewer handles and tolerates the presence of metadata and associated elements.</desc>
     <g id="test-body-content">
          <defs>
               <clipPath id="clip1">
                    <rect x="0" y="0" width="450" height="450"/>
               </clipPath>
          </defs>
          <g style="clip-path:url(#clip1);">
               <defs>
                    <script type="text/ecmascript">
                /* Every time you click, increase radius by 10. */
               function MouseClickHandler(event) { event.target.r += 10; }
               
         
</script>
               </defs>
               <title>SVG struct sign 25070522816739A53D</title>
               <text x="335" y="333" style="font-size:10;font-family:Arial;fill:orange;"> This is the xtm base definition </text>
               <text x="335" y="343" style="font-size:10;font-family:Arial;fill:orange;"> [topic] </text>
               <text x="335" y="354" style="font-size:10;font-family:Arial;fill:orange;"> [t-basedef-1-2000-04-11] </text>
               <text x="335" y="364" style="font-size:10;font-family:Arial;fill:orange;"> [/topic] </text>
               <desc>
                    <myxtm:title>This is the xtm base definition</myxtm:title>
                    <myxtm:from>t-basedef-1-2000-03-07</myxtm:from>
                    <myxtm:facettype>ft-birth-date</myxtm:facettype>
                    <myxtm:fvaltype>t-1940-09-10</myxtm:fvaltype>
                    <myxtm:fvalue>t-lennon-john</myxtm:fvalue>
                    <myxtm:fvaltype>t-1942-06-18</myxtm:fvaltype>
                    <myxtm:fvalue>t-mccartney-paul</myxtm:fvalue>
                    <myxtm:fvaltype>t-1943-02-25</myxtm:fvaltype>
                    <myxtm:fvalue>t-harrison-george</myxtm:fvalue>
                    <myxtm:fvaltype>t-1940-07-07</myxtm:fvaltype>
                    <myxtm:fvalue>t-starr-ringo</myxtm:fvalue>
               </desc>
               <g id="object0">
                    <text x="335" y="263" style="font-size:10;font-family:Arial;fill:green;"> $Fidelity{idname:Object1 fill:orange stroke:blue}$Fidelity{idname:Object3 stroke:purple} </text>
                    <text x="335" y="284" style="font-size:10;font-family:Arial;fill:green;"> $Group{gname:Group1 group:Object1 Object2 Object3 Object4} </text>
                    <desc> $Fidelity{idname:Object1 fill:orange stroke:blue} $Fidelity{idname:Object3 stroke:purple} $Fidelity{sign:93761822507052D35A} $Group{gname:Group1 group:Object1 Object2 Object3 Object4} </desc>
               </g>
               <g id="object1">
                    <title> Object 1, topic map component associated with a lime filled, blue stroked star-shaped polygon </title>
                    <text x="7" y="161" style="font-size:10;font-family:Arial;fill:green;"> [topic id="t-starr-ringo" types="tt-person"] </text>
                    <text x="7" y="173" style="font-size:10;font-family:Arial;fill:green;"> [topname][basename]Ringo Starr[/basename] </text>
                    <text x="7" y="185" style="font-size:10;font-family:Arial;fill:green;"> [sortname]Starr, Ringo[/sortname][/topname] </text>
                    <text x="7" y="197" style="font-size:10;font-family:Arial;fill:green;"> [/topic] </text>
                    <desc>
                         <myxtm:topicid>t-starr-ringo</myxtm:topicid>
                         <myxtm:types>tt-person</myxtm:types>
                         <myxtm:tnbname>Ringo Starr</myxtm:tnbname>
                         <myxtm:tnsname>Starr, Ringo</myxtm:tnsname>
                         <myxtm:tnbname>Richard Starkey</myxtm:tnbname>
                         <myxtm:tnsname>Starkey, Richard</myxtm:tnsname>
                    </desc>
                    <polygon transform="scale(.6) translate(50,50)" style="fill:orange;stroke:blue;stroke-width:10;" points="350,75 379,161 469,161 397,215 423,301 350,250 277,301 303,215 231,161 321,161 350,75"/>
               </g>
               <g id="object2">
                    <title> Object 2, topic map component associated with a red filled, blue stroked circle </title>
                    <text x="49" y="21" style="font-size:10;font-family:Arial;fill:green;"> [topic id="t-lennon-john" types="tt-person"] </text>
                    <text x="49" y="32" style="font-size:10;font-family:Arial;fill:green;"> [topname][basename]John Lennon[/basename] </text>
                    <text x="49" y="42" style="font-size:10;font-family:Arial;fill:green;"> [sortname]Lennon, John[/sortname][/topname] </text>
                    <text x="49" y="53" style="font-size:10;font-family:Arial;fill:green;"> [/topic] </text>
                    <desc>
                         <myxtm:topicid>t-lennon-john</myxtm:topicid>
                         <myxtm:types>tt-person</myxtm:types>
                         <myxtm:tnbname>John Lennon</myxtm:tnbname>
                         <myxtm:tnsname>Lennon, John</myxtm:tnsname>
                    </desc>
                    <circle onclick="MouseClickHandler(event)" cx="25" cy="25" r="20" style="fill:red;stroke:blue;stroke-width:4;"/>
               </g>
               <g id="object3" transform="translate(-14,240) rotate(-17)">
                    <title> Object 3, topic map component associated with an unfilled, purple stroked tilted rectangle </title>
                    <text x="30" y="91" style="font-size:10;font-family:Arial;fill:green;"> [topic id="t-mccartney-paul" types="tt-person"] </text>
                    <text x="30" y="101" style="font-size:10;font-family:Arial;fill:green;"> [topname][basename]Paul McCartney[/basename] </text>
                    <text x="30" y="111" style="font-size:10;font-family:Arial;fill:green;"> [sortname]McCartney, Paul[/sortname][/topname] </text>
                    <text x="30" y="121" style="font-size:10;font-family:Arial;fill:green;"> [/topic] </text>
                    <desc>
                         <myxtm:topicid>t-mccartney-paul</myxtm:topicid>
                         <myxtm:types>tt-person</myxtm:types>
                         <myxtm:tnbname>Paul McCartney</myxtm:tnbname>
                         <myxtm:tnsname>McCartney, Paul</myxtm:tnsname>
                    </desc>
                    <rect x="0" y="70" width="280" height="80" rx="35" style="fill:none;stroke:purple;stroke-width:14;"/>
               </g>
               <g id="object4">
                    <title> Object 4, topic map component associated with an image, named myimage.jpg </title>
                    <text x="49" y="21" style="font-size:10;font-family:Arial;fill:green;"> [topic id="t-lennon-john" types="tt-person"] </text>
                    <text x="49" y="32" style="font-size:10;font-family:Arial;fill:green;"> [topname][basename]John Lennon[/basename] </text>
                    <text x="49" y="42" style="font-size:10;font-family:Arial;fill:green;"> [sortname]Lennon, John[/sortname][/topname] </text>
                    <text x="49" y="53" style="font-size:10;font-family:Arial;fill:green;"> [/topic] </text>
                    <desc>
                         <myxtm:topicid>t-harrison-george</myxtm:topicid>
                         <myxtm:types>tt-person</myxtm:types>
                         <myxtm:tnbname>George Harrison</myxtm:tnbname>
                         <myxtm:tnsname>Harrison, George</myxtm:tnsname>
                    </desc>
                    <image x="335" y="35" width="245" height="140" xlink.9:type="simple" xlink.9:show="embed" xlink.9:actuate="onLoad" xlink.9:href="myimage.jpg" xmlns:xlink="http://www.w3.org/2000/xlink/namespace" xmlns:xlink.9="http://www.w3.org/1999/xlink" />
               </g>
               <g id="object5">
                    <title> Object 5, RDF metadata associated with a button, named greentopbutton.jpg </title>
                    <image x="325" y="193" width="55" height="25" xlink.9:type="simple" xlink.9:show="embed" xlink.9:actuate="onRequest" xlink.9:href="greentopbutton.jpg" xmlns:xlink="http://www.w3.org/2000/xlink/namespace" xmlns:xlink.9="http://www.w3.org/1999/xlink" />
               </g>
               <g id="object6">
                    <title> Object 6, RDF metadata associated with a button, named greentopbutton.jpg </title>
                    <image x="425" y="193" width="55" height="25" xlink.9:type="simple" xlink.9:show="embed" xlink.9:actuate="onRequest" xlink.9:href="greentopbutton.jpg" xmlns:xlink="http://www.w3.org/2000/xlink/namespace" xmlns:xlink.9="http://www.w3.org/1999/xlink" />
               </g>
               <g id="object7">
                    <title> Object 7, RDF metadata associated with a button, named greentopbutton.jpg </title>
                    <image x="525" y="193" width="55" height="25" xlink.9:type="simple" xlink.9:show="embed" xlink.9:actuate="onRequest" xlink.9:href="greentopbutton.jpg" xmlns:xlink="http://www.w3.org/2000/xlink/namespace" xmlns:xlink.9="http://www.w3.org/1999/xlink" />
               </g>
               <metadata>
                    <rdf:RDF>
                         <rdf:Description rdf:about="http://myfoo.com/papers/NobelPaper27" xmlns="http://www.w3.org/TR/REC-mathml" >
                              <dc:Title rdf:parseType="Literal"> Ramifications of QSpace Bosons for Free Energy
                                   <apply>
                                        <power/>
                                        <apply>
                                             <plus/>
                                             <ci>x</ci>
                                             <ci>y</ci>
                                        </apply>
                                        <cn>3</cn>
                                   </apply> between infinitely closely-spaced plates
                              </dc:Title>
                              <dc:Creator>Alfred Newman</dc:Creator>
                         </rdf:Description>
                         <rdf:Description rdf:about="http://myfoo.com/metadata/TM/tmbase1">
                              <dc:Title rdf:parseType="Literal">
                                   <topic id="tt-music">
                                        <topname>
                                             <basename>Music</basename>
                                        </topname>
                                   </topic>
                                   <topic id="tt-pop-music" types="tt-music">
                                        <topname>
                                             <basename>Pop music</basename>
                                        </topname>
                                   </topic>
                                   <topic id="tt-rock" types="tt-music">
                                        <topname>
                                             <basename>Rock 'n roll</basename>
                                        </topname>
                                   </topic>
                                   <topic id="st-music">
                                        <topname>
                                             <basename>Music</basename>
                                        </topname>
                                   </topic>
                              </dc:Title>
                              <dc:Creator>Alfred Newman</dc:Creator>
                         </rdf:Description>
                         <rdf:Description rdf:about="http://myfoo.com/metadata/TM/tmbase2">
                              <dc:Title rdf:parseType="Literal">
                                   <topic id="at-member-of">
                                        <topname>
                                             <basename>Member of</basename>
                                        </topname>
                                   </topic>
                                   <topic id="at-played-instrument-in">
                                        <topname>
                                             <basename>Played instrument</basename>
                                        </topname>
                                   </topic>
                                   <topic id="at-born-in">
                                        <topname>
                                             <basename>Born in</basename>
                                        </topname>
                                   </topic>
                                   <topic id="at-located-in">
                                        <topname>
                                             <basename>Located in</basename>
                                        </topname>
                                   </topic>
                                   <assoc type="at-member-of" scope="st-music">
                                        <assocrl type="tt-band" anchrole="band">t-the-beatles</assocrl>
                                        <assocrl anchrole="member">t-lennon-john t-mccartney-paul t-harrison-george t-starr-ringo</assocrl>
                                   </assoc>
                                   <assoc type="at-played-instrument-in">
                                        <assocrl type="tt-band">t-the-beatles</assocrl>
                                        <assocrl type="tt-vocalist" anchrole="vocalist">t-lennon-john t-mccartney-paul</assocrl>
                                        <assocrl type="tt-guitarist">t-harrison-george t-lennon-john</assocrl>
                                        <assocrl type="tt-bassist">t-mccartney-paul</assocrl>
                                        <assocrl type="tt-drummer">t-starr-ringo</assocrl>
                                   </assoc>
                                   <assoc type="at-born-in">
                                        <assocrl type="tt-city">t-liverpool</assocrl>
                                        <assocrl type="tt-person">t-lennon-john t-mccartney-paul t-harrison-george t-starr-ringo</assocrl>
                                   </assoc>
                                   <assoc type="at-located-in">
                                        <assocrl type="tt-country">t-england</assocrl>
                                        <assocrl type="tt-city">t-liverpool</assocrl>
                                   </assoc>
                                   <topic id="tt-time">
                                        <topname>
                                             <basename>Time</basename>
                                        </topname>
                                   </topic>
                                   <topic id="tt-julian-date" types="tt-time">
                                        <topname>
                                             <basename>Julian date</basename>
                                        </topname>
                                   </topic>
                                   <topic id="ft-birth-date" types="tt-time">
                                        <topname>
                                             <basename>Birthdate</basename>
                                        </topname>
                                        <topname>
                                             <basename>Date of birth</basename>
                                        </topname>
                                   </topic>
                                   <facet type="ft-birth-date">
                                        <fvalue type="t-1940-09-10">t-lennon-john</fvalue>
                                        <fvalue type="t-1942-06-18">t-mccartney-paul</fvalue>
                                        <fvalue type="t-1943-02-25">t-harrison-george</fvalue>
                                        <fvalue type="t-1940-07-07">t-starr-ringo</fvalue>
                                   </facet>
                                   <topic id="t-1940-09-10" type="tt-julian-date">
                                        <topname>
                                             <basename>September 10th 1940</basename>
                                        </topname>
                                   </topic>
                                   <topic id="t-1942-06-18" type="tt-julian-date">
                                        <topname>
                                             <basename>June 6th 1942</basename>
                                        </topname>
                                   </topic>
                                   <topic id="t-1943-02-25" type="tt-julian-date">
                                        <topname>
                                             <basename>February 25th 1943</basename>
                                        </topname>
                                   </topic>
                                   <topic id="t-1940-07-07" type="tt-julian-date">
                                        <topname>
                                             <basename>July 7th 1940</basename>
                                        </topname>
                                   </topic>
                              </dc:Title>
                              <dc:Creator>Alfred Newman</dc:Creator>
                         </rdf:Description>
                         <rdf:Description rdf:about="http://myfoo.com/metadata/TM/tmbase2"/>
                         <rdf:Description about="#object5">
                              <s:Creator>Moe</s:Creator>
                         </rdf:Description>
                         <rdf:Description about="#object6">
                              <s:Creator>Larry</s:Creator>
                         </rdf:Description>
                         <rdf:Description about="#object7">
                              <s:Creator>Curly</s:Creator>
                         </rdf:Description>
                         <rdf:Description aboutEach="#docpages">
                      &n