Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
I try to use the atidmd markup in a FOSI for an SGML document to generate metadata and genenerate PDF bookmarks, but no metadata and no bookmark is generated.
Example of code used :
<usetext
source='!<atidmd:DocumentMetaData source="atend"><atidmd:DocView mode="bookmarks" fit="fitPage" destination="1"></atidmd:DocView><atidmd:DocInfo><atidmd:Entry><atidmd:Key>Title</atidmd:Key><atidmd:Value>Title value</atidmd:Value></atidmd:Entry><atidmd:Entry><atidmd:Key>Author</atidmd:Key><atidmd:Value>Author value</atidmd:Value></atidmd:Entry><atidmd:Entry><atidmd:Key>Subject</atidmd:Key><atidmd:Value>Subject value</atidmd:Value></atidmd:Entry></atidmd:DocInfo></atidmd:DocumentMetaData>!'
placemnt="after"></usetext>
Do you know why atidmd markups doesn't work ?
I have tried this code with an XML document and It works.
I believe that SGML is case sensitive. Did you try this using all lowercase element names?
<usetext source='!<atidmd:documentmetadata source="atend">
<atidmd:docview mode="bookmarks" fit="fitPage" destination="">
</atidmd:docview>
</atidmd:documentmetadata>!' placemnt="before"></usetext>
<usetext source="!<atidmd:documentmetadata>
<atidmd:docinfo>
<atidmd:entry>
<atidmd:key>Title</atidmd:key>
<atidmd:value>!,doc-title-bookmark.txt,!</atidmd:value>
</atidmd:entry>
</atidmd:docinfo>
<atidmd:outline><atidmd:bookmark><atidmd:title>!,doc-title-bookmark.txt,!</atidmd:title>
</atidmd:bookmark>
</atidmd:outline>
</atidmd:documentmetadata>!" placemnt="after"></usetext>
Hi Tim,
Thank you for your help but the result is the same, nothing is displayed.