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

C 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
Secrets
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

 

 

 

(C) Extract XMP MetaData as XML

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

Chilkat C/C++ Library Downloads

MS Visual C/C++

Linux/CentOS C/C++

Alpine Linux C/C++

MAC OS X C/C++

armhf/aarch64 C/C++

C++ Builder

iOS C/C++

Android C/C++

Solaris C/C++

MinGW C/C++

#include <C_CkXmp.h>
#include <C_CkXml.h>

void ChilkatSample(void)
    {
    HCkXmp xmp;
    BOOL success;
    HCkXml xml;
    const char *rdf_Description_rdf_about;
    const char *rdf_Description_xmlns_xmpPLUS;
    const char *rdf_Description_xmlns_Iptc4xmpCore;
    const char *rdf_Description_xmlns_exif;
    const char *rdf_Description_xmlns_pdf;
    const char *rdf_Description_xmlns_photoshop;
    const char *rdf_Description_xmlns_tiff;
    const char *rdf_Description_xmlns_xap;
    const char *rdf_Description_xmlns_stRef;
    const char *rdf_Description_xmlns_xapMM;
    const char *rdf_Description_xmlns_xapRights;
    const char *rdf_Description_xmlns_dc;
    const char *xmpPLUS_CreditLineReq;
    const char *xmpPLUS_ReuseAllowed;
    const char *Iptc4xmpCore_IntellectualGenre;
    const char *Iptc4xmpCore_Location;
    const char *Iptc4xmpCore_CountryCode;
    const char *Iptc4xmpCore_CreatorContactInfo_rdf_parseType;
    const char *Iptc4xmpCore_CiAdrExtadr;
    const char *Iptc4xmpCore_CiAdrCity;
    const char *Iptc4xmpCore_CiAdrRegion;
    int Iptc4xmpCore_CiAdrPcode;
    const char *Iptc4xmpCore_CiAdrCtry;
    const char *Iptc4xmpCore_CiTelWork;
    const char *Iptc4xmpCore_CiEmailWork;
    const char *Iptc4xmpCore_CiUrlWork;
    int rdf_li;
    int exif_ColorSpace;
    int exif_PixelXDimension;
    int exif_PixelYDimension;
    const char *photoshop_AuthorsPosition;
    const char *photoshop_Headline;
    const char *photoshop_CaptionWriter;
    const char *photoshop_DateCreated;
    const char *photoshop_City;
    const char *photoshop_State;
    const char *photoshop_Country;
    const char *photoshop_TransmissionReference;
    const char *photoshop_Instructions;
    const char *photoshop_Credit;
    const char *photoshop_Source;
    const char *tiff_XResolution;
    const char *tiff_YResolution;
    int tiff_ResolutionUnit;
    int tiff_Orientation;
    const char *xap_CreateDate;
    const char *xap_ModifyDate;
    const char *xap_MetadataDate;
    const char *xap_CreatorTool;
    const char *xapMM_DerivedFrom_rdf_parseType;
    const char *stRef_instanceID;
    const char *stRef_documentID;
    const char *xapMM_DocumentID;
    const char *xapRights_Marked;
    const char *xapRights_WebStatement;
    const char *rdf_li_xml_lang;
    const char *strRdf_li;
    const char *dc_format;
    int j;
    int count_j;
    const char *x_xmpmeta_xmlns_x;
    const char *x_xmpmeta_x_xmptk;
    const char *rdf_RDF_xmlns_rdf;
    const char *rdf_RDF_xmlns_iX;
    int i;
    int count_i;

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

    xmp = CkXmp_Create();

    // 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
    success = CkXmp_LoadAppFile(xmp,"qa_data/xmp/sample1.jpg");
    if (success != TRUE) {
        printf("%s\n",CkXmp_lastErrorText(xmp));
        CkXmp_Dispose(xmp);
        return;
    }

    printf("Num embedded XMP docs: %d\n",CkXmp_getNumEmbedded(xmp));

    // Assuming there is at least one, get the 1st.
    // (There is typically never more than one, but theoretically it's possible.)
    xml = CkXmp_GetEmbedded(xmp,0);
    if (CkXmp_getLastMethodSuccess(xmp) == FALSE) {
        printf("No XMP metadata found.\n");
        CkXmp_Dispose(xmp);
        return;
    }

    printf("%s\n",CkXml_getXml(xml));

    // 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

    x_xmpmeta_xmlns_x = CkXml_getAttrValue(xml,"xmlns:x");
    x_xmpmeta_x_xmptk = CkXml_getAttrValue(xml,"x:xmptk");
    rdf_RDF_xmlns_rdf = CkXml_chilkatPath(xml,"rdf:RDF|(xmlns:rdf)");
    rdf_RDF_xmlns_iX = CkXml_chilkatPath(xml,"rdf:RDF|(xmlns:iX)");
    i = 0;
    count_i = CkXml_NumChildrenHavingTag(xml,"rdf:RDF|rdf:Description");
    while (i < count_i) {
        CkXml_putI(xml,i);
        rdf_Description_rdf_about = CkXml_chilkatPath(xml,"rdf:RDF|rdf:Description[i]|(rdf:about)");
        rdf_Description_xmlns_xmpPLUS = CkXml_chilkatPath(xml,"rdf:RDF|rdf:Description[i]|(xmlns:xmpPLUS)");
        rdf_Description_xmlns_Iptc4xmpCore = CkXml_chilkatPath(xml,"rdf:RDF|rdf:Description[i]|(xmlns:Iptc4xmpCore)");
        rdf_Description_xmlns_exif = CkXml_chilkatPath(xml,"rdf:RDF|rdf:Description[i]|(xmlns:exif)");
        rdf_Description_xmlns_pdf = CkXml_chilkatPath(xml,"rdf:RDF|rdf:Description[i]|(xmlns:pdf)");
        rdf_Description_xmlns_photoshop = CkXml_chilkatPath(xml,"rdf:RDF|rdf:Description[i]|(xmlns:photoshop)");
        rdf_Description_xmlns_tiff = CkXml_chilkatPath(xml,"rdf:RDF|rdf:Description[i]|(xmlns:tiff)");
        rdf_Description_xmlns_xap = CkXml_chilkatPath(xml,"rdf:RDF|rdf:Description[i]|(xmlns:xap)");
        rdf_Description_xmlns_stRef = CkXml_chilkatPath(xml,"rdf:RDF|rdf:Description[i]|(xmlns:stRef)");
        rdf_Description_xmlns_xapMM = CkXml_chilkatPath(xml,"rdf:RDF|rdf:Description[i]|(xmlns:xapMM)");
        rdf_Description_xmlns_xapRights = CkXml_chilkatPath(xml,"rdf:RDF|rdf:Description[i]|(xmlns:xapRights)");
        rdf_Description_xmlns_dc = CkXml_chilkatPath(xml,"rdf:RDF|rdf:Description[i]|(xmlns:dc)");
        xmpPLUS_CreditLineReq = CkXml_getChildContent(xml,"rdf:RDF|rdf:Description[i]|xmpPLUS:CreditLineReq");
        xmpPLUS_ReuseAllowed = CkXml_getChildContent(xml,"rdf:RDF|rdf:Description[i]|xmpPLUS:ReuseAllowed");
        Iptc4xmpCore_IntellectualGenre = CkXml_getChildContent(xml,"rdf:RDF|rdf:Description[i]|Iptc4xmpCore:IntellectualGenre");
        Iptc4xmpCore_Location = CkXml_getChildContent(xml,"rdf:RDF|rdf:Description[i]|Iptc4xmpCore:Location");
        Iptc4xmpCore_CountryCode = CkXml_getChildContent(xml,"rdf:RDF|rdf:Description[i]|Iptc4xmpCore:CountryCode");
        Iptc4xmpCore_CreatorContactInfo_rdf_parseType = CkXml_chilkatPath(xml,"rdf:RDF|rdf:Description[i]|Iptc4xmpCore:CreatorContactInfo|(rdf:parseType)");
        Iptc4xmpCore_CiAdrExtadr = CkXml_getChildContent(xml,"rdf:RDF|rdf:Description[i]|Iptc4xmpCore:CreatorContactInfo|Iptc4xmpCore:CiAdrExtadr");
        Iptc4xmpCore_CiAdrCity = CkXml_getChildContent(xml,"rdf:RDF|rdf:Description[i]|Iptc4xmpCore:CreatorContactInfo|Iptc4xmpCore:CiAdrCity");
        Iptc4xmpCore_CiAdrRegion = CkXml_getChildContent(xml,"rdf:RDF|rdf:Description[i]|Iptc4xmpCore:CreatorContactInfo|Iptc4xmpCore:CiAdrRegion");
        Iptc4xmpCore_CiAdrPcode = CkXml_GetChildIntValue(xml,"rdf:RDF|rdf:Description[i]|Iptc4xmpCore:CreatorContactInfo|Iptc4xmpCore:CiAdrPcode");
        Iptc4xmpCore_CiAdrCtry = CkXml_getChildContent(xml,"rdf:RDF|rdf:Description[i]|Iptc4xmpCore:CreatorContactInfo|Iptc4xmpCore:CiAdrCtry");
        Iptc4xmpCore_CiTelWork = CkXml_getChildContent(xml,"rdf:RDF|rdf:Description[i]|Iptc4xmpCore:CreatorContactInfo|Iptc4xmpCore:CiTelWork");
        Iptc4xmpCore_CiEmailWork = CkXml_getChildContent(xml,"rdf:RDF|rdf:Description[i]|Iptc4xmpCore:CreatorContactInfo|Iptc4xmpCore:CiEmailWork");
        Iptc4xmpCore_CiUrlWork = CkXml_getChildContent(xml,"rdf:RDF|rdf:Description[i]|Iptc4xmpCore:CreatorContactInfo|Iptc4xmpCore:CiUrlWork");
        rdf_li = CkXml_GetChildIntValue(xml,"rdf:RDF|rdf:Description[i]|Iptc4xmpCore:SubjectCode|rdf:Bag|rdf:li");
        rdf_li = CkXml_GetChildIntValue(xml,"rdf:RDF|rdf:Description[i]|Iptc4xmpCore:Scene|rdf:Bag|rdf:li");
        exif_ColorSpace = CkXml_GetChildIntValue(xml,"rdf:RDF|rdf:Description[i]|exif:ColorSpace");
        exif_PixelXDimension = CkXml_GetChildIntValue(xml,"rdf:RDF|rdf:Description[i]|exif:PixelXDimension");
        exif_PixelYDimension = CkXml_GetChildIntValue(xml,"rdf:RDF|rdf:Description[i]|exif:PixelYDimension");
        photoshop_AuthorsPosition = CkXml_getChildContent(xml,"rdf:RDF|rdf:Description[i]|photoshop:AuthorsPosition");
        photoshop_Headline = CkXml_getChildContent(xml,"rdf:RDF|rdf:Description[i]|photoshop:Headline");
        photoshop_CaptionWriter = CkXml_getChildContent(xml,"rdf:RDF|rdf:Description[i]|photoshop:CaptionWriter");
        photoshop_DateCreated = CkXml_getChildContent(xml,"rdf:RDF|rdf:Description[i]|photoshop:DateCreated");
        photoshop_City = CkXml_getChildContent(xml,"rdf:RDF|rdf:Description[i]|photoshop:City");
        photoshop_State = CkXml_getChildContent(xml,"rdf:RDF|rdf:Description[i]|photoshop:State");
        photoshop_Country = CkXml_getChildContent(xml,"rdf:RDF|rdf:Description[i]|photoshop:Country");
        photoshop_TransmissionReference = CkXml_getChildContent(xml,"rdf:RDF|rdf:Description[i]|photoshop:TransmissionReference");
        photoshop_Instructions = CkXml_getChildContent(xml,"rdf:RDF|rdf:Description[i]|photoshop:Instructions");
        photoshop_Credit = CkXml_getChildContent(xml,"rdf:RDF|rdf:Description[i]|photoshop:Credit");
        photoshop_Source = CkXml_getChildContent(xml,"rdf:RDF|rdf:Description[i]|photoshop:Source");
        tiff_XResolution = CkXml_getChildContent(xml,"rdf:RDF|rdf:Description[i]|tiff:XResolution");
        tiff_YResolution = CkXml_getChildContent(xml,"rdf:RDF|rdf:Description[i]|tiff:YResolution");
        tiff_ResolutionUnit = CkXml_GetChildIntValue(xml,"rdf:RDF|rdf:Description[i]|tiff:ResolutionUnit");
        tiff_Orientation = CkXml_GetChildIntValue(xml,"rdf:RDF|rdf:Description[i]|tiff:Orientation");
        xap_CreateDate = CkXml_getChildContent(xml,"rdf:RDF|rdf:Description[i]|xap:CreateDate");
        xap_ModifyDate = CkXml_getChildContent(xml,"rdf:RDF|rdf:Description[i]|xap:ModifyDate");
        xap_MetadataDate = CkXml_getChildContent(xml,"rdf:RDF|rdf:Description[i]|xap:MetadataDate");
        xap_CreatorTool = CkXml_getChildContent(xml,"rdf:RDF|rdf:Description[i]|xap:CreatorTool");
        xapMM_DerivedFrom_rdf_parseType = CkXml_chilkatPath(xml,"rdf:RDF|rdf:Description[i]|xapMM:DerivedFrom|(rdf:parseType)");
        stRef_instanceID = CkXml_getChildContent(xml,"rdf:RDF|rdf:Description[i]|xapMM:DerivedFrom|stRef:instanceID");
        stRef_documentID = CkXml_getChildContent(xml,"rdf:RDF|rdf:Description[i]|xapMM:DerivedFrom|stRef:documentID");
        xapMM_DocumentID = CkXml_getChildContent(xml,"rdf:RDF|rdf:Description[i]|xapMM:DocumentID");
        xapRights_Marked = CkXml_getChildContent(xml,"rdf:RDF|rdf:Description[i]|xapRights:Marked");
        xapRights_WebStatement = CkXml_getChildContent(xml,"rdf:RDF|rdf:Description[i]|xapRights:WebStatement");
        rdf_li_xml_lang = CkXml_chilkatPath(xml,"rdf:RDF|rdf:Description[i]|xapRights:RightsUsageTerms|rdf:Alt|rdf:li|(xml:lang)");
        strRdf_li = CkXml_getChildContent(xml,"rdf:RDF|rdf:Description[i]|xapRights:RightsUsageTerms|rdf:Alt|rdf:li");
        rdf_li_xml_lang = CkXml_chilkatPath(xml,"rdf:RDF|rdf:Description[i]|xapRights:UsageTerms|rdf:Alt|rdf:li|(xml:lang)");
        strRdf_li = CkXml_getChildContent(xml,"rdf:RDF|rdf:Description[i]|xapRights:UsageTerms|rdf:Alt|rdf:li");
        dc_format = CkXml_getChildContent(xml,"rdf:RDF|rdf:Description[i]|dc:format");
        rdf_li_xml_lang = CkXml_chilkatPath(xml,"rdf:RDF|rdf:Description[i]|dc:description|rdf:Alt|rdf:li|(xml:lang)");
        strRdf_li = CkXml_getChildContent(xml,"rdf:RDF|rdf:Description[i]|dc:description|rdf:Alt|rdf:li");
        rdf_li_xml_lang = CkXml_chilkatPath(xml,"rdf:RDF|rdf:Description[i]|dc:title|rdf:Alt|rdf:li|(xml:lang)");
        strRdf_li = CkXml_getChildContent(xml,"rdf:RDF|rdf:Description[i]|dc:title|rdf:Alt|rdf:li");
        rdf_li_xml_lang = CkXml_chilkatPath(xml,"rdf:RDF|rdf:Description[i]|dc:rights|rdf:Alt|rdf:li|(xml:lang)");
        strRdf_li = CkXml_getChildContent(xml,"rdf:RDF|rdf:Description[i]|dc:rights|rdf:Alt|rdf:li");
        strRdf_li = CkXml_getChildContent(xml,"rdf:RDF|rdf:Description[i]|dc:creator|rdf:Seq|rdf:li");
        j = 0;
        count_j = CkXml_NumChildrenHavingTag(xml,"rdf:RDF|rdf:Description[i]|dc:subject|rdf:Bag|rdf:li");
        while (j < count_j) {
            CkXml_putJ(xml,j);
            strRdf_li = CkXml_getChildContent(xml,"rdf:RDF|rdf:Description[i]|dc:subject|rdf:Bag|rdf:li[j]");
            j = j + 1;
        }

        i = i + 1;
    }

    CkXml_Dispose(xml);


    CkXmp_Dispose(xmp);

    }

 

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