cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

atidmd markups doesn't work with an SGML document

dgopois
12-Amethyst

atidmd markups doesn't work with an SGML document

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.

2 REPLIES 2


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>

dgopois
12-Amethyst
(To:TimPhelps)

Hi Tim,

Thank you for your help but the result is the same, nothing is displayed.

Top Tags