XMP Specification Part 3: Storage in Files - Adobe
XMP Specification Part 3: Storage in Files - Adobe
XMP Specification Part 3: Storage in Files - Adobe
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
XML can be embedded <strong>in</strong> a SCRIPT or XML element, placed <strong>in</strong> any legal location; the suggested location is the<br />
end of the HEAD element. The content of the SCRIPT or XML element is the <strong>XMP</strong> packet.<br />
The browser must recognize the SCRIPT or XML element so that text represent<strong>in</strong>g the value of RDF properties<br />
is not displayed as page content. Us<strong>in</strong>g the XML element is preferred unless there are known <strong>in</strong>compatibilities<br />
with older software; if so, the SCRIPT element is likely to be recognized.<br />
2.5.1.1 Embedd<strong>in</strong>g XML <strong>in</strong> HTML<br />
There are three approaches to embedd<strong>in</strong>g XML <strong>in</strong> HTML, as shown <strong>in</strong> the examples below. Two use the<br />
SCRIPT element, and the third uses the XML element.<br />
2.5.1.1.1Us<strong>in</strong>g the SCRIPT element and LANGUAGE attribute<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
NOTE <strong>Adobe</strong> has noticed problems with us<strong>in</strong>g the SCRIPT element and LANGUAGE attribute <strong>in</strong> Microsoft Word 2000<br />
runn<strong>in</strong>g under Microsoft W<strong>in</strong>dows XP: the body content cannot be displayed.<br />
2.5.1.1.2Us<strong>in</strong>g the SCRIPT element and TYPE attribute<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
2.5.1.1.3Us<strong>in</strong>g the XML element<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
42 ©<strong>Adobe</strong> Systems Incorporated, 2010