Parse Adobe XMP data with Rev's XML lib?
kray at sonsothunder.com
Wed Aug 22 23:51:28 CDT 2007
On Wed, 22 Aug 2007 17:49:24 -1000, Sivakatirswami wrote:
> I am unable to parse the following using rev's library.
> I'm not an xml expert... but, since several nodes all begin with
> "rdf" I assume we need to refer to a node like this:
> put revXMLNodeContents(tMetaData,
> but rev throw and error "xmlerr, can't find element"
> <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Public XMP Toolkit Core 4.0">
> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
> <rdf:Description rdf:about=""
> <rdf:li xml:lang="x-default">Caption can be found
> In the meantime i can hack this by removing all tags as there is not
> data except the caption
> in any of the nodes
It also works properly with my XML Library
(http://www.sonsothunder.com/products/xmllib/xmllib.htm), just as you'd
--> Caption can be found here
And of course being transcript only, it can be used with Rev's XML DLL
(Katir, you already have my library, but this is for anyone else
Sons of Thunder Software, Inc.
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/
More information about the use-livecode