These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

xmp

fursten
Registered: Feb 14 2007
Posts: 14

Hello,
 
I would like to use xmp to store de indexes of a pdf file. In order words, I would like to create a structure/sub structure in the xmp data with this kind of xml:
    
.........

 
My questions are:
  
1 - Is this structure agains the xmp rules?
 
2 - Where can it be created in the default xmp data on a pdf?
 
3 - What tool can I use to write to it, using Adobe tools?
 
Thank you

My Product Information:
Reader 8, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
You can use javaScript to manipulate the XMP metadata. Take a look in the Acrobat JavaScript reference. The document object has a property called "metadata" this is the XMP in string form. Use the "XMLData" object to parse and manipulate it. The XMP is very flexible, however, when modifying it you should stick within the XMP schema.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script