L_JP2_XML_BOX

typedef struct _tagL_JP2_XML_BOX
{
   L_UINT32 uStructSize;
   L_UINT8 * pData;
   L_SIZE_T uDataSize;
}L_JP2_XML_BOX,   *pL_JP2_XML_BOX;

The L_JP2_XML_BOX structure provides information for an XML box.

Member

Description

uStructSize

Size of this structure, in bytes. Use the sizeof operator to calculate this value.

pData

XML data that contain a well-formed XML document as defined in REC-xml-19980210.

uDataSize

The size of XML data.

Comments

An XML box contains vendor-specific information (in XML format). There may be multiple XML boxes within the file. This box is defined in JP2 and above file formats.

The L_JP2_XML_BOX structure is used in the following functions:

LJp2FileFormat::ReadBox

LJp2FileFormat::AppendBoxesMemory

LJp2FileFormat::ReadBoxMemory

LJp2FileFormat::AppendBoxesMemory

LJp2FileFormat::FreeBoxes

LJp2FileFormat::SetBoxes

LJp2FileFormat::GetBoxes