Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. how create XMP first line?
Forum Updated to NodeBB v4.3 + New Features

how create XMP first line?

Scheduled Pinned Locked Moved Qt WebKit
3 Posts 2 Posters 1.1k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Pear
    wrote on last edited by
    #1

    Hi,
    I'm not sure if this is proper forum. Sorry if not.

    I want to create the XMP Adobe xml file.
    I got stuck on first line.
    First line should look like:

    <?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>

    last line should be:

    <?xpacket end="w"?>

    I have no idea how to use QDomElement() to create such line on output file.

    Any advice?

    p3c0P 1 Reply Last reply
    0
    • P Pear

      Hi,
      I'm not sure if this is proper forum. Sorry if not.

      I want to create the XMP Adobe xml file.
      I got stuck on first line.
      First line should look like:

      <?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>

      last line should be:

      <?xpacket end="w"?>

      I have no idea how to use QDomElement() to create such line on output file.

      Any advice?

      p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by
      #2

      Hi @Pear and Welcome,
      Create a QDomProcessingInstruction and append it to QDomDocument using appendChild.

      157

      1 Reply Last reply
      0
      • P Offline
        P Offline
        Pear
        wrote on last edited by
        #3

        Work perfectly. Thank you very much.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved