Chilkat HOME .NET Core C# Android™ AutoIt C C# C++ Chilkat2-Python CkPython Classic ASP DataFlex Delphi ActiveX Delphi DLL Go Java Lianja Mono C# Node.js Objective-C PHP ActiveX PHP Extension Perl PowerBuilder PowerShell PureBasic Ruby SQL Server Swift 2 Swift 3,4,5... Tcl Unicode C Unicode C++ VB.NET VBScript Visual Basic 6.0 Visual FoxPro Xojo Plugin
(DataFlex) Extract XMP MetaData as XMLDemonstrates how to open a JPG or TIF image file and extract the XMP metadata as XML.
Use ChilkatAx-win32.pkg Procedure Test Handle hoXmp Boolean iSuccess Variant vXml Handle hoXml String sRdf_Description_rdf_about String sRdf_Description_xmlns_xmpPLUS String sRdf_Description_xmlns_Iptc4xmpCore String sRdf_Description_xmlns_exif String sRdf_Description_xmlns_pdf String sRdf_Description_xmlns_photoshop String sRdf_Description_xmlns_tiff String sRdf_Description_xmlns_xap String sRdf_Description_xmlns_stRef String sRdf_Description_xmlns_xapMM String sRdf_Description_xmlns_xapRights String sRdf_Description_xmlns_dc String sXmpPLUS_CreditLineReq String sXmpPLUS_ReuseAllowed String sIptc4xmpCore_IntellectualGenre String sIptc4xmpCore_Location String sIptc4xmpCore_CountryCode String sIptc4xmpCore_CreatorContactInfo_rdf_parseType String sIptc4xmpCore_CiAdrExtadr String sIptc4xmpCore_CiAdrCity String sIptc4xmpCore_CiAdrRegion Integer iIptc4xmpCore_CiAdrPcode String sIptc4xmpCore_CiAdrCtry String sIptc4xmpCore_CiTelWork String sIptc4xmpCore_CiEmailWork String sIptc4xmpCore_CiUrlWork Integer iRdf_li Integer iExif_ColorSpace Integer iExif_PixelXDimension Integer iExif_PixelYDimension String sPhotoshop_AuthorsPosition String sPhotoshop_Headline String sPhotoshop_CaptionWriter String sPhotoshop_DateCreated String sPhotoshop_City String sPhotoshop_State String sPhotoshop_Country String sPhotoshop_TransmissionReference String sPhotoshop_Instructions String sPhotoshop_Credit String sPhotoshop_Source String sTiff_XResolution String sTiff_YResolution Integer iTiff_ResolutionUnit Integer iTiff_Orientation String sXap_CreateDate String sXap_ModifyDate String sXap_MetadataDate String sXap_CreatorTool String sXapMM_DerivedFrom_rdf_parseType String sStRef_instanceID String sStRef_documentID String sXapMM_DocumentID String sXapRights_Marked String sXapRights_WebStatement String sRdf_li_xml_lang String sStrRdf_li String sDc_format Integer j Integer iCount_j String sX_xmpmeta_xmlns_x String sX_xmpmeta_x_xmptk String sRdf_RDF_xmlns_rdf String sRdf_RDF_xmlns_iX Integer i Integer iCount_i String sTemp1 Integer iTemp1 Boolean bTemp1 // This requires the Chilkat API to have been previously unlocked. // See Global Unlock Sample for sample code. Get Create (RefClass(cComChilkatXmp)) To hoXmp If (Not(IsComObjectCreated(hoXmp))) Begin Send CreateComObject of hoXmp End // 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 Get ComLoadAppFile Of hoXmp "qa_data/xmp/sample1.jpg" To iSuccess If (iSuccess <> True) Begin Get ComLastErrorText Of hoXmp To sTemp1 Showln sTemp1 Procedure_Return End Get ComNumEmbedded Of hoXmp To iTemp1 Showln "Num embedded XMP docs: " iTemp1 // Assuming there is at least one, get the 1st. // (There is typically never more than one, but theoretically it's possible.) Get ComGetEmbedded Of hoXmp 0 To vXml If (IsComObject(vXml)) Begin Get Create (RefClass(cComChilkatXml)) To hoXml Set pvComObject Of hoXml To vXml End Get ComLastMethodSuccess Of hoXmp To bTemp1 If (bTemp1 = False) Begin Showln "No XMP metadata found." Procedure_Return End Get ComGetXml Of hoXml To sTemp1 Showln sTemp1 // 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 Get ComGetAttrValue Of hoXml "xmlns:x" To sX_xmpmeta_xmlns_x Get ComGetAttrValue Of hoXml "x:xmptk" To sX_xmpmeta_x_xmptk Get ComChilkatPath Of hoXml "rdf:RDF|(xmlns:rdf)" To sRdf_RDF_xmlns_rdf Get ComChilkatPath Of hoXml "rdf:RDF|(xmlns:iX)" To sRdf_RDF_xmlns_iX Move 0 To i Get ComNumChildrenHavingTag Of hoXml "rdf:RDF|rdf:Description" To iCount_i While (i < iCount_i) Set ComI Of hoXml To i Get ComChilkatPath Of hoXml "rdf:RDF|rdf:Description[i]|(rdf:about)" To sRdf_Description_rdf_about Get ComChilkatPath Of hoXml "rdf:RDF|rdf:Description[i]|(xmlns:xmpPLUS)" To sRdf_Description_xmlns_xmpPLUS Get ComChilkatPath Of hoXml "rdf:RDF|rdf:Description[i]|(xmlns:Iptc4xmpCore)" To sRdf_Description_xmlns_Iptc4xmpCore Get ComChilkatPath Of hoXml "rdf:RDF|rdf:Description[i]|(xmlns:exif)" To sRdf_Description_xmlns_exif Get ComChilkatPath Of hoXml "rdf:RDF|rdf:Description[i]|(xmlns:pdf)" To sRdf_Description_xmlns_pdf Get ComChilkatPath Of hoXml "rdf:RDF|rdf:Description[i]|(xmlns:photoshop)" To sRdf_Description_xmlns_photoshop Get ComChilkatPath Of hoXml "rdf:RDF|rdf:Description[i]|(xmlns:tiff)" To sRdf_Description_xmlns_tiff Get ComChilkatPath Of hoXml "rdf:RDF|rdf:Description[i]|(xmlns:xap)" To sRdf_Description_xmlns_xap Get ComChilkatPath Of hoXml "rdf:RDF|rdf:Description[i]|(xmlns:stRef)" To sRdf_Description_xmlns_stRef Get ComChilkatPath Of hoXml "rdf:RDF|rdf:Description[i]|(xmlns:xapMM)" To sRdf_Description_xmlns_xapMM Get ComChilkatPath Of hoXml "rdf:RDF|rdf:Description[i]|(xmlns:xapRights)" To sRdf_Description_xmlns_xapRights Get ComChilkatPath Of hoXml "rdf:RDF|rdf:Description[i]|(xmlns:dc)" To sRdf_Description_xmlns_dc Get ComGetChildContent Of hoXml "rdf:RDF|rdf:Description[i]|xmpPLUS:CreditLineReq" To sXmpPLUS_CreditLineReq Get ComGetChildContent Of hoXml "rdf:RDF|rdf:Description[i]|xmpPLUS:ReuseAllowed" To sXmpPLUS_ReuseAllowed Get ComGetChildContent Of hoXml "rdf:RDF|rdf:Description[i]|Iptc4xmpCore:IntellectualGenre" To sIptc4xmpCore_IntellectualGenre Get ComGetChildContent Of hoXml "rdf:RDF|rdf:Description[i]|Iptc4xmpCore:Location" To sIptc4xmpCore_Location Get ComGetChildContent Of hoXml "rdf:RDF|rdf:Description[i]|Iptc4xmpCore:CountryCode" To sIptc4xmpCore_CountryCode Get ComChilkatPath Of hoXml "rdf:RDF|rdf:Description[i]|Iptc4xmpCore:CreatorContactInfo|(rdf:parseType)" To sIptc4xmpCore_CreatorContactInfo_rdf_parseType Get ComGetChildContent Of hoXml "rdf:RDF|rdf:Description[i]|Iptc4xmpCore:CreatorContactInfo|Iptc4xmpCore:CiAdrExtadr" To sIptc4xmpCore_CiAdrExtadr Get ComGetChildContent Of hoXml "rdf:RDF|rdf:Description[i]|Iptc4xmpCore:CreatorContactInfo|Iptc4xmpCore:CiAdrCity" To sIptc4xmpCore_CiAdrCity Get ComGetChildContent Of hoXml "rdf:RDF|rdf:Description[i]|Iptc4xmpCore:CreatorContactInfo|Iptc4xmpCore:CiAdrRegion" To sIptc4xmpCore_CiAdrRegion Get ComGetChildIntValue Of hoXml "rdf:RDF|rdf:Description[i]|Iptc4xmpCore:CreatorContactInfo|Iptc4xmpCore:CiAdrPcode" To iIptc4xmpCore_CiAdrPcode Get ComGetChildContent Of hoXml "rdf:RDF|rdf:Description[i]|Iptc4xmpCore:CreatorContactInfo|Iptc4xmpCore:CiAdrCtry" To sIptc4xmpCore_CiAdrCtry Get ComGetChildContent Of hoXml "rdf:RDF|rdf:Description[i]|Iptc4xmpCore:CreatorContactInfo|Iptc4xmpCore:CiTelWork" To sIptc4xmpCore_CiTelWork Get ComGetChildContent Of hoXml "rdf:RDF|rdf:Description[i]|Iptc4xmpCore:CreatorContactInfo|Iptc4xmpCore:CiEmailWork" To sIptc4xmpCore_CiEmailWork Get ComGetChildContent Of hoXml "rdf:RDF|rdf:Description[i]|Iptc4xmpCore:CreatorContactInfo|Iptc4xmpCore:CiUrlWork" To sIptc4xmpCore_CiUrlWork Get ComGetChildIntValue Of hoXml "rdf:RDF|rdf:Description[i]|Iptc4xmpCore:SubjectCode|rdf:Bag|rdf:li" To iRdf_li Get ComGetChildIntValue Of hoXml "rdf:RDF|rdf:Description[i]|Iptc4xmpCore:Scene|rdf:Bag|rdf:li" To iRdf_li Get ComGetChildIntValue Of hoXml "rdf:RDF|rdf:Description[i]|exif:ColorSpace" To iExif_ColorSpace Get ComGetChildIntValue Of hoXml "rdf:RDF|rdf:Description[i]|exif:PixelXDimension" To iExif_PixelXDimension Get ComGetChildIntValue Of hoXml "rdf:RDF|rdf:Description[i]|exif:PixelYDimension" To iExif_PixelYDimension Get ComGetChildContent Of hoXml "rdf:RDF|rdf:Description[i]|photoshop:AuthorsPosition" To sPhotoshop_AuthorsPosition Get ComGetChildContent Of hoXml "rdf:RDF|rdf:Description[i]|photoshop:Headline" To sPhotoshop_Headline Get ComGetChildContent Of hoXml "rdf:RDF|rdf:Description[i]|photoshop:CaptionWriter" To sPhotoshop_CaptionWriter Get ComGetChildContent Of hoXml "rdf:RDF|rdf:Description[i]|photoshop:DateCreated" To sPhotoshop_DateCreated Get ComGetChildContent Of hoXml "rdf:RDF|rdf:Description[i]|photoshop:City" To sPhotoshop_City Get ComGetChildContent Of hoXml "rdf:RDF|rdf:Description[i]|photoshop:State" To sPhotoshop_State Get ComGetChildContent Of hoXml "rdf:RDF|rdf:Description[i]|photoshop:Country" To sPhotoshop_Country Get ComGetChildContent Of hoXml "rdf:RDF|rdf:Description[i]|photoshop:TransmissionReference" To sPhotoshop_TransmissionReference Get ComGetChildContent Of hoXml "rdf:RDF|rdf:Description[i]|photoshop:Instructions" To sPhotoshop_Instructions Get ComGetChildContent Of hoXml "rdf:RDF|rdf:Description[i]|photoshop:Credit" To sPhotoshop_Credit Get ComGetChildContent Of hoXml "rdf:RDF|rdf:Description[i]|photoshop:Source" To sPhotoshop_Source Get ComGetChildContent Of hoXml "rdf:RDF|rdf:Description[i]|tiff:XResolution" To sTiff_XResolution Get ComGetChildContent Of hoXml "rdf:RDF|rdf:Description[i]|tiff:YResolution" To sTiff_YResolution Get ComGetChildIntValue Of hoXml "rdf:RDF|rdf:Description[i]|tiff:ResolutionUnit" To iTiff_ResolutionUnit Get ComGetChildIntValue Of hoXml "rdf:RDF|rdf:Description[i]|tiff:Orientation" To iTiff_Orientation Get ComGetChildContent Of hoXml "rdf:RDF|rdf:Description[i]|xap:CreateDate" To sXap_CreateDate Get ComGetChildContent Of hoXml "rdf:RDF|rdf:Description[i]|xap:ModifyDate" To sXap_ModifyDate Get ComGetChildContent Of hoXml "rdf:RDF|rdf:Description[i]|xap:MetadataDate" To sXap_MetadataDate Get ComGetChildContent Of hoXml "rdf:RDF|rdf:Description[i]|xap:CreatorTool" To sXap_CreatorTool Get ComChilkatPath Of hoXml "rdf:RDF|rdf:Description[i]|xapMM:DerivedFrom|(rdf:parseType)" To sXapMM_DerivedFrom_rdf_parseType Get ComGetChildContent Of hoXml "rdf:RDF|rdf:Description[i]|xapMM:DerivedFrom|stRef:instanceID" To sStRef_instanceID Get ComGetChildContent Of hoXml "rdf:RDF|rdf:Description[i]|xapMM:DerivedFrom|stRef:documentID" To sStRef_documentID Get ComGetChildContent Of hoXml "rdf:RDF|rdf:Description[i]|xapMM:DocumentID" To sXapMM_DocumentID Get ComGetChildContent Of hoXml "rdf:RDF|rdf:Description[i]|xapRights:Marked" To sXapRights_Marked Get ComGetChildContent Of hoXml "rdf:RDF|rdf:Description[i]|xapRights:WebStatement" To sXapRights_WebStatement Get ComChilkatPath Of hoXml "rdf:RDF|rdf:Description[i]|xapRights:RightsUsageTerms|rdf:Alt|rdf:li|(xml:lang)" To sRdf_li_xml_lang Get ComGetChildContent Of hoXml "rdf:RDF|rdf:Description[i]|xapRights:RightsUsageTerms|rdf:Alt|rdf:li" To sStrRdf_li Get ComChilkatPath Of hoXml "rdf:RDF|rdf:Description[i]|xapRights:UsageTerms|rdf:Alt|rdf:li|(xml:lang)" To sRdf_li_xml_lang Get ComGetChildContent Of hoXml "rdf:RDF|rdf:Description[i]|xapRights:UsageTerms|rdf:Alt|rdf:li" To sStrRdf_li Get ComGetChildContent Of hoXml "rdf:RDF|rdf:Description[i]|dc:format" To sDc_format Get ComChilkatPath Of hoXml "rdf:RDF|rdf:Description[i]|dc:description|rdf:Alt|rdf:li|(xml:lang)" To sRdf_li_xml_lang Get ComGetChildContent Of hoXml "rdf:RDF|rdf:Description[i]|dc:description|rdf:Alt|rdf:li" To sStrRdf_li Get ComChilkatPath Of hoXml "rdf:RDF|rdf:Description[i]|dc:title|rdf:Alt|rdf:li|(xml:lang)" To sRdf_li_xml_lang Get ComGetChildContent Of hoXml "rdf:RDF|rdf:Description[i]|dc:title|rdf:Alt|rdf:li" To sStrRdf_li Get ComChilkatPath Of hoXml "rdf:RDF|rdf:Description[i]|dc:rights|rdf:Alt|rdf:li|(xml:lang)" To sRdf_li_xml_lang Get ComGetChildContent Of hoXml "rdf:RDF|rdf:Description[i]|dc:rights|rdf:Alt|rdf:li" To sStrRdf_li Get ComGetChildContent Of hoXml "rdf:RDF|rdf:Description[i]|dc:creator|rdf:Seq|rdf:li" To sStrRdf_li Move 0 To j Get ComNumChildrenHavingTag Of hoXml "rdf:RDF|rdf:Description[i]|dc:subject|rdf:Bag|rdf:li" To iCount_j While (j < iCount_j) Set ComJ Of hoXml To j Get ComGetChildContent Of hoXml "rdf:RDF|rdf:Description[i]|dc:subject|rdf:Bag|rdf:li[j]" To sStrRdf_li Move (j + 1) To j Loop Move (i + 1) To i Loop Send Destroy of hoXml End_Procedure |
© 2000-2024 Chilkat Software, Inc. All Rights Reserved.