[
Lists Home |
Date Index |
Thread Index
]
How does one go about getting information on how to process a RDF XML document? I have google searched this subject for a couple of hours and I have came up with no valid solutions.
I have this document in the form of a file, and I would like to parse (sax?) and gather certain information.
Any information on how to accomplish this with Java or Perl would be appreciated.
Scott
<?xpacket begin='' id='W5M0MpCehiHzreSzNTczkc9d'?>
<?adobe-xap-filters esc="CRLF"?>
<x:xmpmeta xmlns:x='adobe:ns:meta/' x:xmptk='XMP toolkit 2.9-8, framework 1.6'>
<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:iX='http://ns.adobe.com/iX/1.0/'>
<rdf:Description rdf:about='uuid:ab32596c-114e-11d8-8d81-c325f376efe4'
xmlns:exif='http://ns.adobe.com/exif/1.0/'>
<!-- exif:UserComment is aliased to dc:description -->
<exif:ColorSpace>65535</exif:ColorSpace>
<!-- exif:PixelXDimension is aliased to stDim:w -->
<!-- exif:PixelYDimension is aliased to stDim:h -->
</rdf:Description>
<rdf:Description rdf:about='uuid:ab32596c-114e-11d8-8d81-c325f376efe4'
xmlns:pdf='http://ns.adobe.com/pdf/1.3/'>
<!-- pdf:Subject is aliased to dc:description/*[@xml:lang='x-default'] -->
<!-- pdf:Author is aliased to dc:creator/*[1] -->
<!-- pdf:Title is aliased to dc:title/*[@xml:lang='x-default'] -->
<!-- pdf:CreationDate is aliased to xap:CreateDate -->
<!-- pdf:Creator is aliased to xap:CreatorTool -->
<!-- pdf:ModDate is aliased to xap:ModifyDate -->
</rdf:Description>
<rdf:Description rdf:about='uuid:ab32596c-114e-11d8-8d81-c325f376efe4'
xmlns:photoshop='http://ns.adobe.com/photoshop/1.0/'>
<photoshop:CaptionWriter>Caption writer field</photoshop:CaptionWriter>
<photoshop:AuthorsPosition>Author's position scott position</photoshop:AuthorsPosition>
<!-- photoshop:WebStatement is aliased to xapRights:WebStatement -->
<!-- photoshop:Caption is aliased to dc:description/*[@xml:lang='x-default'] -->
<!-- photoshop:Author is aliased to dc:creator/*[1] -->
<!-- photoshop:Title is aliased to dc:title/*[@xml:lang='x-default'] -->
<!-- photoshop:Copyright is aliased to dc:rights/*[@xml:lang='x-default'] -->
<!-- photoshop:Marked is aliased to xapRights:Marked -->
<photoshop:scottpurcllpath>myaddresssomewhere</photoshop:scottpurcllpath>
</rdf:Description>
<rdf:Description rdf:about='uuid:ab32596c-114e-11d8-8d81-c325f376efe4'
xmlns:tiff='http://ns.adobe.com/tiff/1.0/'>
<!-- tiff:Artist is aliased to dc:creator/*[1] -->
<!-- tiff:ImageDescription is aliased to dc:title -->
<!-- tiff:Copyright is aliased to dc:rights -->
<!-- tiff:ImageWidth is aliased to stDim:w -->
<!-- tiff:ImageLength is aliased to stDim:h -->
<!-- tiff:DateTime is aliased to xap:CreateDate -->
<!-- tiff:Software is aliased to xap:CreatorTool -->
<tiff:Compression>6</tiff:Compression>
<tiff:JPEGInterchangeFormat>394</tiff:JPEGInterchangeFormat>
<tiff:JPEGInterchangeFormatLength>0</tiff:JPEGInterchangeFormatLength>
<tiff:Orientation>1</tiff:Orientation>
<tiff:ResolutionUnit>2</tiff:ResolutionUnit>
<tiff:XResolution>72/1</tiff:XResolution>
<tiff:YResolution>72/1</tiff:YResolution>
<tiff:SamplesPerPixel>3</tiff:SamplesPerPixel>
<tiff:ColorSpace>1</tiff:ColorSpace>
<tiff:BitsPerSample>
<rdf:Seq>
<rdf:li>8</rdf:li>
<rdf:li>8</rdf:li>
<rdf:li>8</rdf:li>
</rdf:Seq>
</tiff:BitsPerSample>
</rdf:Description>
<rdf:Description rdf:about='uuid:ab32596c-114e-11d8-8d81-c325f376efe4'
xmlns:xap='http://ns.adobe.com/xap/1.0/'>
<!-- xap:Description is aliased to dc:description -->
<!-- xap:Authors is aliased to dc:creator -->
<!-- xap:Author is aliased to dc:creator/*[1] -->
<!-- xap:Title is aliased to dc:title -->
<xap:CreateDate>2003:11:07 12:19:37</xap:CreateDate>
<xap:CreatorTool>Adobe Photoshop 7.0</xap:CreatorTool>
<xap:MetadataDate>2003-11-07T20:35:46Z</xap:MetadataDate>
<xap:ModifyDate>2003-11-07T20:35:46Z</xap:ModifyDate>
</rdf:Description>
<rdf:Description rdf:about='uuid:ab32596c-114e-11d8-8d81-c325f376efe4'
xmlns:stJob='http://ns.adobe.com/xap/1.0/sType/Job#'
xmlns:xapBJ='http://ns.adobe.com/xap/1.0/bj/'>
<xapBJ:JobRef>
<rdf:Bag>
<rdf:li rdf:parseType='Resource'>
<stJob:name>jobname field</stJob:name>
</rdf:li>
</rdf:Bag>
</xapBJ:JobRef>
</rdf:Description>
<rdf:Description rdf:about='uuid:ab32596c-114e-11d8-8d81-c325f376efe4'
xmlns:xapMM='http://ns.adobe.com/xap/1.0/mm/'>
<xapMM:DocumentID>adobe:docid:photoshop:ab325967-114e-11d8-8d81-c325f376efe4</xapMM:DocumentID>
</rdf:Description>
<rdf:Description rdf:about='uuid:ab32596c-114e-11d8-8d81-c325f376efe4'
xmlns:xapRights='http://ns.adobe.com/xap/1.0/rights/'>
<xapRights:WebStatement>owner url field.</xapRights:WebStatement>
<!-- xapRights:Copyright is aliased to dc:rights -->
<xapRights:Marked>False</xapRights:Marked>
</rdf:Description>
<rdf:Description rdf:about='uuid:ab32596c-114e-11d8-8d81-c325f376efe4'
xmlns:stDim='http://ns.adobe.com/xap/1.0/sType/Dimensions#'>
<stDim:w>360</stDim:w>
<stDim:h>360</stDim:h>
</rdf:Description>
<rdf:Description rdf:about='uuid:ab32596c-114e-11d8-8d81-c325f376efe4'
xmlns:dc='http://purl.org/dc/elements/1.1/'>
<dc:description>
<rdf:Alt>
<rdf:li xml:lang='x-default'>Caption scottcaption</rdf:li>
</rdf:Alt>
</dc:description>
<dc:creator>
<rdf:Seq>
<rdf:li>Author Field Scott</rdf:li>
</rdf:Seq>
</dc:creator>
<dc:title>
<rdf:Alt>
<rdf:li xml:lang='x-default'>Title Field Name of asset</rdf:li>
</rdf:Alt>
</dc:title>
<dc:rights>
<rdf:Alt>
<rdf:li xml:lang='x-default'>copyright notice field.</rdf:li>
</rdf:Alt>
</dc:rights>
</rdf:Description>
</rdf:RDF>
</x:xmpmeta>
<?xpacket end='r'?>
|