Chilkat Examples

ChilkatHOME.NET Core C#Android™AutoItCC#C++Chilkat2-PythonCkPythonClassic ASPDataFlexDelphi ActiveXDelphi DLLGoJavaLianjaMono C#Node.jsObjective-CPHP ActiveXPHP ExtensionPerlPowerBuilderPowerShellPureBasicRubySQL ServerSwift 2Swift 3,4,5...TclUnicode CUnicode C++VB.NETVBScriptVisual Basic 6.0Visual FoxProXojo Plugin

PowerBuilder Examples

Web API Categories

ASN.1
AWS KMS
AWS Misc
Amazon EC2
Amazon Glacier
Amazon S3
Amazon S3 (new)
Amazon SES
Amazon SNS
Amazon SQS
Async
Azure Cloud Storage
Azure Key Vault
Azure Service Bus
Azure Table Service
Base64
Bounced Email
Box
CAdES
CSR
CSV
Certificates
Cloud Signature CSC
Code Signing
Compression
DKIM / DomainKey
DNS
DSA
Diffie-Hellman
Digital Signatures
Dropbox
Dynamics CRM
EBICS
ECC
Ed25519
Email Object
Encryption
FTP
FileAccess
Firebase
GMail REST API
GMail SMTP/IMAP/POP
Geolocation
Google APIs
Google Calendar
Google Cloud SQL
Google Cloud Storage
Google Drive
Google Photos
Google Sheets
Google Tasks
Gzip
HTML-to-XML/Text
HTTP

HTTP Misc
IMAP
JSON
JSON Web Encryption (JWE)
JSON Web Signatures (JWS)
JSON Web Token (JWT)
Java KeyStore (JKS)
MHT / HTML Email
MIME
MS Storage Providers
Microsoft Graph
Misc
NTLM
OAuth1
OAuth2
OIDC
Office365
OneDrive
OpenSSL
Outlook
Outlook Calendar
Outlook Contact
PDF Signatures
PEM
PFX/P12
PKCS11
POP3
PRNG
REST
REST Misc
RSA
SCP
SCard
SFTP
SMTP
SSH
SSH Key
SSH Tunnel
ScMinidriver
SharePoint
SharePoint Online
Signing in the Cloud
Socket/SSL/TLS
Spider
Stream
Tar Archive
ULID/UUID
Upload
WebSocket
XAdES
XML
XML Digital Signatures
XMP
Zip
curl
uncategorized

 

 

 

(PowerBuilder) Extract XMP MetaData as XML

Demonstrates how to open a JPG or TIF image file and extract the XMP metadata as XML.

Chilkat ActiveX Downloads

ActiveX for 32-bit and 64-bit Windows

integer li_rc
oleobject loo_Xmp
integer li_Success
oleobject loo_Xml
string ls_Rdf_Description_rdf_about
string ls_Rdf_Description_xmlns_xmpPLUS
string ls_Rdf_Description_xmlns_Iptc4xmpCore
string ls_Rdf_Description_xmlns_exif
string ls_Rdf_Description_xmlns_pdf
string ls_Rdf_Description_xmlns_photoshop
string ls_Rdf_Description_xmlns_tiff
string ls_Rdf_Description_xmlns_xap
string ls_Rdf_Description_xmlns_stRef
string ls_Rdf_Description_xmlns_xapMM
string ls_Rdf_Description_xmlns_xapRights
string ls_Rdf_Description_xmlns_dc
string ls_XmpPLUS_CreditLineReq
string ls_XmpPLUS_ReuseAllowed
string ls_Iptc4xmpCore_IntellectualGenre
string ls_Iptc4xmpCore_Location
string ls_Iptc4xmpCore_CountryCode
string ls_Iptc4xmpCore_CreatorContactInfo_rdf_parseType
string ls_Iptc4xmpCore_CiAdrExtadr
string ls_Iptc4xmpCore_CiAdrCity
string ls_Iptc4xmpCore_CiAdrRegion
integer li_Iptc4xmpCore_CiAdrPcode
string ls_Iptc4xmpCore_CiAdrCtry
string ls_Iptc4xmpCore_CiTelWork
string ls_Iptc4xmpCore_CiEmailWork
string ls_Iptc4xmpCore_CiUrlWork
integer li_Rdf_li
integer li_Exif_ColorSpace
integer li_Exif_PixelXDimension
integer li_Exif_PixelYDimension
string ls_Photoshop_AuthorsPosition
string ls_Photoshop_Headline
string ls_Photoshop_CaptionWriter
string ls_Photoshop_DateCreated
string ls_Photoshop_City
string ls_Photoshop_State
string ls_Photoshop_Country
string ls_Photoshop_TransmissionReference
string ls_Photoshop_Instructions
string ls_Photoshop_Credit
string ls_Photoshop_Source
string ls_Tiff_XResolution
string ls_Tiff_YResolution
integer li_Tiff_ResolutionUnit
integer li_Tiff_Orientation
string ls_Xap_CreateDate
string ls_Xap_ModifyDate
string ls_Xap_MetadataDate
string ls_Xap_CreatorTool
string ls_XapMM_DerivedFrom_rdf_parseType
string ls_StRef_instanceID
string ls_StRef_documentID
string ls_XapMM_DocumentID
string ls_XapRights_Marked
string ls_XapRights_WebStatement
string ls_Rdf_li_xml_lang
string ls_StrRdf_li
string ls_Dc_format
integer j
integer li_Count_j
string ls_X_xmpmeta_xmlns_x
string ls_X_xmpmeta_x_xmptk
string ls_Rdf_RDF_xmlns_rdf
string ls_Rdf_RDF_xmlns_iX
integer i
integer li_Count_i

// This requires the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.

loo_Xmp = create oleobject
// Use "Chilkat_9_5_0.Xmp" for versions of Chilkat < 10.0.0
li_rc = loo_Xmp.ConnectToNewObject("Chilkat.Xmp")
if li_rc < 0 then
    destroy loo_Xmp
    MessageBox("Error","Connecting to COM object failed")
    return
end if

// Load a JPG or TIF image file.
// Sample JPG's with XMP metadata may be found at:
// https://www.chilkatsoft.com/testData/xmp/sample1.jpg
// https://www.chilkatsoft.com/testData/xmp/sample2.jpg
// https://www.chilkatsoft.com/testData/xmp/sample3.jpg
li_Success = loo_Xmp.LoadAppFile("qa_data/xmp/sample1.jpg")
if li_Success <> 1 then
    Write-Debug loo_Xmp.LastErrorText
    destroy loo_Xmp
    return
end if

Write-Debug "Num embedded XMP docs: " + string(loo_Xmp.NumEmbedded)

// Assuming there is at least one, get the 1st.
// (There is typically never more than one, but theoretically it's possible.)
loo_Xml = loo_Xmp.GetEmbedded(0)
if loo_Xmp.LastMethodSuccess = 0 then
    Write-Debug "No XMP metadata found."
    destroy loo_Xmp
    return
end if

Write-Debug loo_Xml.GetXml()

// Sample output:

// <?xml version="1.0" encoding="utf-8"?>
// <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP toolkit 3.0-28, 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:0f410648-9396-11d9-bb8e-a67e6693b6e9" xmlns:xmpPLUS="XMP Photographic Licensing Universal System (xmpPLUS, http://ns.adobe.com/xap/1.0/PLUS/)">
//             <xmpPLUS:CreditLineReq>False</xmpPLUS:CreditLineReq>
//             <xmpPLUS:ReuseAllowed>False</xmpPLUS:ReuseAllowed>
//         </rdf:Description>
//         <rdf:Description rdf:about="uuid:0f410648-9396-11d9-bb8e-a67e6693b6e9" xmlns:Iptc4xmpCore="http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/">
//             <Iptc4xmpCore:IntellectualGenre>Profile</Iptc4xmpCore:IntellectualGenre>
//             <Iptc4xmpCore:Location>Lake Superior</Iptc4xmpCore:Location>
//             <Iptc4xmpCore:CountryCode>US</Iptc4xmpCore:CountryCode>
//             <Iptc4xmpCore:CreatorContactInfo rdf:parseType="Resource">
//                 <Iptc4xmpCore:CiAdrExtadr>John Doe Photography, 123 Maple Lane</Iptc4xmpCore:CiAdrExtadr>
//                 <Iptc4xmpCore:CiAdrCity>Champaign</Iptc4xmpCore:CiAdrCity>
//                 <Iptc4xmpCore:CiAdrRegion>Illinois</Iptc4xmpCore:CiAdrRegion>
//                 <Iptc4xmpCore:CiAdrPcode>61820</Iptc4xmpCore:CiAdrPcode>
//                 <Iptc4xmpCore:CiAdrCtry>USA</Iptc4xmpCore:CiAdrCtry>
//                 <Iptc4xmpCore:CiTelWork>+1 (217) 1234567</Iptc4xmpCore:CiTelWork>
//                 <Iptc4xmpCore:CiEmailWork>john@doe.com</Iptc4xmpCore:CiEmailWork>
//                 <Iptc4xmpCore:CiUrlWork>www.doe.com</Iptc4xmpCore:CiUrlWork>
//             </Iptc4xmpCore:CreatorContactInfo>
//             <Iptc4xmpCore:SubjectCode>
//                 <rdf:Bag>
//                     <rdf:li>14024001</rdf:li>
//                 </rdf:Bag>
//             </Iptc4xmpCore:SubjectCode>
//             <Iptc4xmpCore:Scene>
//                 <rdf:Bag>
//                     <rdf:li>012300</rdf:li>
//                 </rdf:Bag>
//             </Iptc4xmpCore:Scene>
//         </rdf:Description>
//         <rdf:Description rdf:about="uuid:0f410648-9396-11d9-bb8e-a67e6693b6e9" xmlns:exif="http://ns.adobe.com/exif/1.0/">
//             <exif:ColorSpace>1</exif:ColorSpace>
//             <exif:PixelXDimension>288</exif:PixelXDimension>
//             <exif:PixelYDimension>432</exif:PixelYDimension>
//         </rdf:Description>
//         <rdf:Description rdf:about="uuid:0f410648-9396-11d9-bb8e-a67e6693b6e9" xmlns:pdf="http://ns.adobe.com/pdf/1.3/"/>
//         <rdf:Description rdf:about="uuid:0f410648-9396-11d9-bb8e-a67e6693b6e9" xmlns:photoshop="http://ns.adobe.com/photoshop/1.0/">
//             <photoshop:AuthorsPosition>Photographer</photoshop:AuthorsPosition>
//             <photoshop:Headline>Young boy yelling</photoshop:Headline>
//             <photoshop:CaptionWriter>John Doe</photoshop:CaptionWriter>
//             <photoshop:DateCreated>2004-08-19</photoshop:DateCreated>
//             <photoshop:City>Marquette</photoshop:City>
//             <photoshop:State>Michigan</photoshop:State>
//             <photoshop:Country>United States</photoshop:Country>
//             <photoshop:TransmissionReference>PO 34567</photoshop:TransmissionReference>
//             <photoshop:Instructions>Original RAW capture Nikon D2X, Adobe RGB 1998.</photoshop:Instructions>
//             <photoshop:Credit>John Doe Photography</photoshop:Credit>
//             <photoshop:Source>John Doe Photography</photoshop:Source>
//             <photoshop:History/>
//         </rdf:Description>
//         <rdf:Description rdf:about="uuid:0f410648-9396-11d9-bb8e-a67e6693b6e9" xmlns:tiff="http://ns.adobe.com/tiff/1.0/">
//             <tiff:XResolution>72/1</tiff:XResolution>
//             <tiff:YResolution>72/1</tiff:YResolution>
//             <tiff:ResolutionUnit>2</tiff:ResolutionUnit>
//             <tiff:Orientation>1</tiff:Orientation>
//         </rdf:Description>
//         <rdf:Description rdf:about="uuid:0f410648-9396-11d9-bb8e-a67e6693b6e9" xmlns:xap="http://ns.adobe.com/xap/1.0/">
//             <xap:CreateDate>2005-03-13T02:02:29-06:00</xap:CreateDate>
//             <xap:ModifyDate>2005-03-13T02:02:29-06:00</xap:ModifyDate>
//             <xap:MetadataDate>2005-03-13T02:02:29-06:00</xap:MetadataDate>
//             <xap:CreatorTool>Adobe Photoshop CS Windows</xap:CreatorTool>
//         </rdf:Description>
//         <rdf:Description rdf:about="uuid:0f410648-9396-11d9-bb8e-a67e6693b6e9" xmlns:stRef="http://ns.adobe.com/xap/1.0/sType/ResourceRef#" xmlns:xapMM="http://ns.adobe.com/xap/1.0/mm/">
//             <xapMM:DerivedFrom rdf:parseType="Resource">
//                 <stRef:instanceID>uuid:f5b64171-9394-11d9-bb8e-a67e6693b6e9</stRef:instanceID>
//                 <stRef:documentID>adobe:docid:photoshop:e4d002a4-9392-11d9-bb8e-a67e6693b6e9</stRef:documentID>
//             </xapMM:DerivedFrom>
//             <xapMM:DocumentID>adobe:docid:photoshop:0f410647-9396-11d9-bb8e-a67e6693b6e9</xapMM:DocumentID>
//         </rdf:Description>
//         <rdf:Description rdf:about="uuid:0f410648-9396-11d9-bb8e-a67e6693b6e9" xmlns:xapRights="http://ns.adobe.com/xap/1.0/rights/">
//             <xapRights:Marked>True</xapRights:Marked>
//             <xapRights:WebStatement>http://www.doe.com</xapRights:WebStatement>
//             <xapRights:RightsUsageTerms>
//                 <rdf:Alt>
//                     <rdf:li xml:lang="x-default">For consideration only, no reproduction without prior permission</rdf:li>
//                 </rdf:Alt>
//             </xapRights:RightsUsageTerms>
//             <xapRights:UsageTerms>
//                 <rdf:Alt>
//                     <rdf:li xml:lang="x-default">For consideration only, no reproduction without prior permission</rdf:li>
//                 </rdf:Alt>
//             </xapRights:UsageTerms>
//         </rdf:Description>
//         <rdf:Description rdf:about="uuid:0f410648-9396-11d9-bb8e-a67e6693b6e9" xmlns:dc="http://purl.org/dc/elements/1.1/">
//             <dc:format>image/jpeg</dc:format>
//             <dc:description>
//                 <rdf:Alt>
//                     <rdf:li xml:lang="x-default">Three year old African American boy yells with joy on beach during vacation.</rdf:li>
//                 </rdf:Alt>
//             </dc:description>
//             <dc:title>
//                 <rdf:Alt>
//                     <rdf:li xml:lang="x-default">20040819_pe_014578d.nef</rdf:li>
//                 </rdf:Alt>
//             </dc:title>
//             <dc:rights>
//                 <rdf:Alt>
//                     <rdf:li xml:lang="x-default">�2004 John Doe, all rights reserved</rdf:li>
//                 </rdf:Alt>
//             </dc:rights>
//             <dc:creator>
//                 <rdf:Seq>
//                     <rdf:li>John Doe</rdf:li>
//                 </rdf:Seq>
//             </dc:creator>
//             <dc:subject>
//                 <rdf:Bag>
//                     <rdf:li>boy</rdf:li>
//                     <rdf:li>gender</rdf:li>
//                     <rdf:li>human beings</rdf:li>
//                     <rdf:li>humans</rdf:li>
//                     <rdf:li>lad</rdf:li>
//                     <rdf:li>male</rdf:li>
//                     <rdf:li>people</rdf:li>
//                     <rdf:li>3-12 years old</rdf:li>
//                     <rdf:li>age</rdf:li>
//                     <rdf:li>child</rdf:li>
//                     <rdf:li>youth</rdf:li>
//                     <rdf:li>african american</rdf:li>
//                     <rdf:li>african-american</rdf:li>
//                     <rdf:li>black</rdf:li>
//                     <rdf:li>ethnic</rdf:li>
//                     <rdf:li>ethnicity</rdf:li>
//                     <rdf:li>people of color</rdf:li>
//                     <rdf:li>race</rdf:li>
//                     <rdf:li>beach</rdf:li>
//                     <rdf:li>nature</rdf:li>
//                     <rdf:li>scenery</rdf:li>
//                     <rdf:li>emotion</rdf:li>
//                     <rdf:li>emotional</rdf:li>
//                     <rdf:li>emotions</rdf:li>
//                     <rdf:li>happiness</rdf:li>
//                     <rdf:li>happy</rdf:li>
//                     <rdf:li>joy</rdf:li>
//                     <rdf:li>joyful</rdf:li>
//                     <rdf:li>joyous</rdf:li>
//                 </rdf:Bag>
//             </dc:subject>
//         </rdf:Description>
//     </rdf:RDF>
// </x:xmpmeta>

// You can generate parsing code using Chilkat's online tool : 
// Generate Parsing Code from XML

ls_X_xmpmeta_xmlns_x = loo_Xml.GetAttrValue("xmlns:x")
ls_X_xmpmeta_x_xmptk = loo_Xml.GetAttrValue("x:xmptk")
ls_Rdf_RDF_xmlns_rdf = loo_Xml.ChilkatPath("rdf:RDF|(xmlns:rdf)")
ls_Rdf_RDF_xmlns_iX = loo_Xml.ChilkatPath("rdf:RDF|(xmlns:iX)")
i = 0
li_Count_i = loo_Xml.NumChildrenHavingTag("rdf:RDF|rdf:Description")
do while i < li_Count_i
    loo_Xml.I = i
    ls_Rdf_Description_rdf_about = loo_Xml.ChilkatPath("rdf:RDF|rdf:Description[i]|(rdf:about)")
    ls_Rdf_Description_xmlns_xmpPLUS = loo_Xml.ChilkatPath("rdf:RDF|rdf:Description[i]|(xmlns:xmpPLUS)")
    ls_Rdf_Description_xmlns_Iptc4xmpCore = loo_Xml.ChilkatPath("rdf:RDF|rdf:Description[i]|(xmlns:Iptc4xmpCore)")
    ls_Rdf_Description_xmlns_exif = loo_Xml.ChilkatPath("rdf:RDF|rdf:Description[i]|(xmlns:exif)")
    ls_Rdf_Description_xmlns_pdf = loo_Xml.ChilkatPath("rdf:RDF|rdf:Description[i]|(xmlns:pdf)")
    ls_Rdf_Description_xmlns_photoshop = loo_Xml.ChilkatPath("rdf:RDF|rdf:Description[i]|(xmlns:photoshop)")
    ls_Rdf_Description_xmlns_tiff = loo_Xml.ChilkatPath("rdf:RDF|rdf:Description[i]|(xmlns:tiff)")
    ls_Rdf_Description_xmlns_xap = loo_Xml.ChilkatPath("rdf:RDF|rdf:Description[i]|(xmlns:xap)")
    ls_Rdf_Description_xmlns_stRef = loo_Xml.ChilkatPath("rdf:RDF|rdf:Description[i]|(xmlns:stRef)")
    ls_Rdf_Description_xmlns_xapMM = loo_Xml.ChilkatPath("rdf:RDF|rdf:Description[i]|(xmlns:xapMM)")
    ls_Rdf_Description_xmlns_xapRights = loo_Xml.ChilkatPath("rdf:RDF|rdf:Description[i]|(xmlns:xapRights)")
    ls_Rdf_Description_xmlns_dc = loo_Xml.ChilkatPath("rdf:RDF|rdf:Description[i]|(xmlns:dc)")
    ls_XmpPLUS_CreditLineReq = loo_Xml.GetChildContent("rdf:RDF|rdf:Description[i]|xmpPLUS:CreditLineReq")
    ls_XmpPLUS_ReuseAllowed = loo_Xml.GetChildContent("rdf:RDF|rdf:Description[i]|xmpPLUS:ReuseAllowed")
    ls_Iptc4xmpCore_IntellectualGenre = loo_Xml.GetChildContent("rdf:RDF|rdf:Description[i]|Iptc4xmpCore:IntellectualGenre")
    ls_Iptc4xmpCore_Location = loo_Xml.GetChildContent("rdf:RDF|rdf:Description[i]|Iptc4xmpCore:Location")
    ls_Iptc4xmpCore_CountryCode = loo_Xml.GetChildContent("rdf:RDF|rdf:Description[i]|Iptc4xmpCore:CountryCode")
    ls_Iptc4xmpCore_CreatorContactInfo_rdf_parseType = loo_Xml.ChilkatPath("rdf:RDF|rdf:Description[i]|Iptc4xmpCore:CreatorContactInfo|(rdf:parseType)")
    ls_Iptc4xmpCore_CiAdrExtadr = loo_Xml.GetChildContent("rdf:RDF|rdf:Description[i]|Iptc4xmpCore:CreatorContactInfo|Iptc4xmpCore:CiAdrExtadr")
    ls_Iptc4xmpCore_CiAdrCity = loo_Xml.GetChildContent("rdf:RDF|rdf:Description[i]|Iptc4xmpCore:CreatorContactInfo|Iptc4xmpCore:CiAdrCity")
    ls_Iptc4xmpCore_CiAdrRegion = loo_Xml.GetChildContent("rdf:RDF|rdf:Description[i]|Iptc4xmpCore:CreatorContactInfo|Iptc4xmpCore:CiAdrRegion")
    li_Iptc4xmpCore_CiAdrPcode = loo_Xml.GetChildIntValue("rdf:RDF|rdf:Description[i]|Iptc4xmpCore:CreatorContactInfo|Iptc4xmpCore:CiAdrPcode")
    ls_Iptc4xmpCore_CiAdrCtry = loo_Xml.GetChildContent("rdf:RDF|rdf:Description[i]|Iptc4xmpCore:CreatorContactInfo|Iptc4xmpCore:CiAdrCtry")
    ls_Iptc4xmpCore_CiTelWork = loo_Xml.GetChildContent("rdf:RDF|rdf:Description[i]|Iptc4xmpCore:CreatorContactInfo|Iptc4xmpCore:CiTelWork")
    ls_Iptc4xmpCore_CiEmailWork = loo_Xml.GetChildContent("rdf:RDF|rdf:Description[i]|Iptc4xmpCore:CreatorContactInfo|Iptc4xmpCore:CiEmailWork")
    ls_Iptc4xmpCore_CiUrlWork = loo_Xml.GetChildContent("rdf:RDF|rdf:Description[i]|Iptc4xmpCore:CreatorContactInfo|Iptc4xmpCore:CiUrlWork")
    li_Rdf_li = loo_Xml.GetChildIntValue("rdf:RDF|rdf:Description[i]|Iptc4xmpCore:SubjectCode|rdf:Bag|rdf:li")
    li_Rdf_li = loo_Xml.GetChildIntValue("rdf:RDF|rdf:Description[i]|Iptc4xmpCore:Scene|rdf:Bag|rdf:li")
    li_Exif_ColorSpace = loo_Xml.GetChildIntValue("rdf:RDF|rdf:Description[i]|exif:ColorSpace")
    li_Exif_PixelXDimension = loo_Xml.GetChildIntValue("rdf:RDF|rdf:Description[i]|exif:PixelXDimension")
    li_Exif_PixelYDimension = loo_Xml.GetChildIntValue("rdf:RDF|rdf:Description[i]|exif:PixelYDimension")
    ls_Photoshop_AuthorsPosition = loo_Xml.GetChildContent("rdf:RDF|rdf:Description[i]|photoshop:AuthorsPosition")
    ls_Photoshop_Headline = loo_Xml.GetChildContent("rdf:RDF|rdf:Description[i]|photoshop:Headline")
    ls_Photoshop_CaptionWriter = loo_Xml.GetChildContent("rdf:RDF|rdf:Description[i]|photoshop:CaptionWriter")
    ls_Photoshop_DateCreated = loo_Xml.GetChildContent("rdf:RDF|rdf:Description[i]|photoshop:DateCreated")
    ls_Photoshop_City = loo_Xml.GetChildContent("rdf:RDF|rdf:Description[i]|photoshop:City")
    ls_Photoshop_State = loo_Xml.GetChildContent("rdf:RDF|rdf:Description[i]|photoshop:State")
    ls_Photoshop_Country = loo_Xml.GetChildContent("rdf:RDF|rdf:Description[i]|photoshop:Country")
    ls_Photoshop_TransmissionReference = loo_Xml.GetChildContent("rdf:RDF|rdf:Description[i]|photoshop:TransmissionReference")
    ls_Photoshop_Instructions = loo_Xml.GetChildContent("rdf:RDF|rdf:Description[i]|photoshop:Instructions")
    ls_Photoshop_Credit = loo_Xml.GetChildContent("rdf:RDF|rdf:Description[i]|photoshop:Credit")
    ls_Photoshop_Source = loo_Xml.GetChildContent("rdf:RDF|rdf:Description[i]|photoshop:Source")
    ls_Tiff_XResolution = loo_Xml.GetChildContent("rdf:RDF|rdf:Description[i]|tiff:XResolution")
    ls_Tiff_YResolution = loo_Xml.GetChildContent("rdf:RDF|rdf:Description[i]|tiff:YResolution")
    li_Tiff_ResolutionUnit = loo_Xml.GetChildIntValue("rdf:RDF|rdf:Description[i]|tiff:ResolutionUnit")
    li_Tiff_Orientation = loo_Xml.GetChildIntValue("rdf:RDF|rdf:Description[i]|tiff:Orientation")
    ls_Xap_CreateDate = loo_Xml.GetChildContent("rdf:RDF|rdf:Description[i]|xap:CreateDate")
    ls_Xap_ModifyDate = loo_Xml.GetChildContent("rdf:RDF|rdf:Description[i]|xap:ModifyDate")
    ls_Xap_MetadataDate = loo_Xml.GetChildContent("rdf:RDF|rdf:Description[i]|xap:MetadataDate")
    ls_Xap_CreatorTool = loo_Xml.GetChildContent("rdf:RDF|rdf:Description[i]|xap:CreatorTool")
    ls_XapMM_DerivedFrom_rdf_parseType = loo_Xml.ChilkatPath("rdf:RDF|rdf:Description[i]|xapMM:DerivedFrom|(rdf:parseType)")
    ls_StRef_instanceID = loo_Xml.GetChildContent("rdf:RDF|rdf:Description[i]|xapMM:DerivedFrom|stRef:instanceID")
    ls_StRef_documentID = loo_Xml.GetChildContent("rdf:RDF|rdf:Description[i]|xapMM:DerivedFrom|stRef:documentID")
    ls_XapMM_DocumentID = loo_Xml.GetChildContent("rdf:RDF|rdf:Description[i]|xapMM:DocumentID")
    ls_XapRights_Marked = loo_Xml.GetChildContent("rdf:RDF|rdf:Description[i]|xapRights:Marked")
    ls_XapRights_WebStatement = loo_Xml.GetChildContent("rdf:RDF|rdf:Description[i]|xapRights:WebStatement")
    ls_Rdf_li_xml_lang = loo_Xml.ChilkatPath("rdf:RDF|rdf:Description[i]|xapRights:RightsUsageTerms|rdf:Alt|rdf:li|(xml:lang)")
    ls_StrRdf_li = loo_Xml.GetChildContent("rdf:RDF|rdf:Description[i]|xapRights:RightsUsageTerms|rdf:Alt|rdf:li")
    ls_Rdf_li_xml_lang = loo_Xml.ChilkatPath("rdf:RDF|rdf:Description[i]|xapRights:UsageTerms|rdf:Alt|rdf:li|(xml:lang)")
    ls_StrRdf_li = loo_Xml.GetChildContent("rdf:RDF|rdf:Description[i]|xapRights:UsageTerms|rdf:Alt|rdf:li")
    ls_Dc_format = loo_Xml.GetChildContent("rdf:RDF|rdf:Description[i]|dc:format")
    ls_Rdf_li_xml_lang = loo_Xml.ChilkatPath("rdf:RDF|rdf:Description[i]|dc:description|rdf:Alt|rdf:li|(xml:lang)")
    ls_StrRdf_li = loo_Xml.GetChildContent("rdf:RDF|rdf:Description[i]|dc:description|rdf:Alt|rdf:li")
    ls_Rdf_li_xml_lang = loo_Xml.ChilkatPath("rdf:RDF|rdf:Description[i]|dc:title|rdf:Alt|rdf:li|(xml:lang)")
    ls_StrRdf_li = loo_Xml.GetChildContent("rdf:RDF|rdf:Description[i]|dc:title|rdf:Alt|rdf:li")
    ls_Rdf_li_xml_lang = loo_Xml.ChilkatPath("rdf:RDF|rdf:Description[i]|dc:rights|rdf:Alt|rdf:li|(xml:lang)")
    ls_StrRdf_li = loo_Xml.GetChildContent("rdf:RDF|rdf:Description[i]|dc:rights|rdf:Alt|rdf:li")
    ls_StrRdf_li = loo_Xml.GetChildContent("rdf:RDF|rdf:Description[i]|dc:creator|rdf:Seq|rdf:li")
    j = 0
    li_Count_j = loo_Xml.NumChildrenHavingTag("rdf:RDF|rdf:Description[i]|dc:subject|rdf:Bag|rdf:li")
    do while j < li_Count_j
        loo_Xml.J = j
        ls_StrRdf_li = loo_Xml.GetChildContent("rdf:RDF|rdf:Description[i]|dc:subject|rdf:Bag|rdf:li[j]")
        j = j + 1
    loop
    i = i + 1
loop

destroy loo_Xml


destroy loo_Xmp

 

© 2000-2024 Chilkat Software, Inc. All Rights Reserved.