Difference between revisions of "Meta data"
From Apache OpenOffice Wiki
| Line 25: | Line 25: | ||
xmlns:dc="http://purl.org/dc/elements/1.1/"> | xmlns:dc="http://purl.org/dc/elements/1.1/"> | ||
<rdf:Description rdf:about="content.xml#frame01"> | <rdf:Description rdf:about="content.xml#frame01"> | ||
| + | <dc:creator>Mr. X</dc:creator> | ||
| + | </rdf:Description> | ||
| + | </pre> | ||
| + | |||
| + | <pre> | ||
| + | <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | ||
| + | xmlns:dc="http://purl.org/dc/elements/1.1/"> | ||
| + | <rdf:Description rdf:about="Pictures/samplepic.png"> | ||
<dc:creator>Mr. X</dc:creator> | <dc:creator>Mr. X</dc:creator> | ||
</rdf:Description> | </rdf:Description> | ||
Revision as of 14:24, 1 March 2007
OpenDocument and Metadata Primer
- Flat XML?
Sample adding dc:creator metadata to a frame
Sample (external RDF stream)
<office:office:document-content> <office:body> <office:text> <text:p> This <draw:frame xml:id="frame01"><draw:image xlink:href="Pictures/samplepic.png"/></draw:frame> has metadata. </text:p> </office:text> </office:body> </office:office:document-content>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<rdf:Description rdf:about="content.xml#frame01">
<dc:creator>Mr. X</dc:creator>
</rdf:Description>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<rdf:Description rdf:about="Pictures/samplepic.png">
<dc:creator>Mr. X</dc:creator>
</rdf:Description>
Sample (RDFa)
(not possible)
