Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9007671
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T01:45:08+00:00 2026-06-16T01:45:08+00:00

When you save a Photoshop doc as a PDF it generates some XML elements

  • 0

When you save a Photoshop doc as a PDF it generates some XML elements which I assume are used by Photoshop for editing later. Anyway, a portion of these nodes look like this:

<rdf:li rdf:parseType="Resource">
    <photoshop:LayerName>Item 1</photoshop:LayerName>
    <photoshop:LayerText>Item 1</photoshop:LayerText>
</rdf:li>
<rdf:li rdf:parseType="Resource">
    <photoshop:LayerName>Item 2</photoshop:LayerName>
    <photoshop:LayerText>Item 2</photoshop:LayerText>
</rdf:li>

Obviously it’s easy to replace some of the text in the nodes, but what I’m wondering is if there is someway (a tool, library, anything) that would “refresh” or re-compile the PDF using the new data in the nodes on the server; preferably in PHP.

I need to replace some placeholder text dynamically. That’s the goal.

If I’m on the wrong track, is there any way for this to be accomplished?
I’m willing to try to edit any file (good enough for print) like this whether it’s a psd, pdf, indesign, ai, anything.

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T01:45:09+00:00Added an answer on June 16, 2026 at 1:45 am

    What you’re posting as example is probably not XML as such but part of the XMP information in the file. XMP is a metadata format designed to be put inside of many file formats (PDF, image file formats, you name it).

    The cool thing about XMP is that it was designed to be able to read it and even write it from and to file formats without actually understanding the file format. Meaning that you can scan a document and find all XMP packets without actually having to use a PDF library to parse the complete PDF file for example.

    All information about XMP is here on the Adobe web site. They have an SDK for it too and if I remember correctly they even have a free library to read and write XMP for a number of languages (but it’s been a while since I’ve used that).
    http://www.adobe.com/products/xmp/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some text in Photoshop, which I want to use in the web
I have used Photoshop CS2's Save for Web feature to create a table of
I found Layers that will save the project as a Photoshop file that can
If you Save as > jpg in Adobe Photoshop a path (selection) is stored
Every time I design websites in Photoshop, I slice up the elements I want
I've an ASP.Net MVC website which manage some business logic for an entreprise. For
I have a grayscale icon that I'm editing with Photoshop with a transparent background,
I'm hoping I can get some clarification on how to correctly implement a Photoshop
When I resize an image with photoshop's Save for Web, it looks different than
I save some values from database using this function (i've been replaced Vector, because

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.