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, "/x:xmpmeta/rdf:RDF/rdf:Description/dc:description/rdf:Alt/rdf:li/")


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=""
            xmlns:dc="http://purl.org/dc/elements/1.1/";>
         <dc:description>
            <rdf:Alt>
<rdf:li xml:lang="x-default">Caption can be found here</rdf:li>
            </rdf:Alt>
         </dc:description>
      </rdf:Description>
   </rdf:RDF>
</x:xmpmeta>

In the meantime i can hack this by removing all tags as there is not data except the caption
in any of the nodes


TIA
Sivakatirswami
www.himalayanacademy.com

_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to