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

atidmd markups doesn't work with an SGML document

Regular Member

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='!<atidmdSmiley Very HappyocumentMetaData source="atend"><atidmdSmiley Very HappyocView mode="bookmarks" fit="fitPage" destination="1"></atidmdSmiley Very HappyocView><atidmdSmiley Very HappyocInfo><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></atidmdSmiley Very HappyocInfo></atidmdSmiley Very HappyocumentMetaData>!'

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

Re: atidmd markups doesn't work with an SGML document


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>

<atidmdSmiley Surprisedutline><atidmd:bookmark><atidmd:title>!,doc-title-bookmark.txt,!</atidmd:title>

</atidmd:bookmark>

</atidmdSmiley Surprisedutline>

</atidmd:documentmetadata>!" placemnt="after"></usetext>

Re: atidmd markups doesn't work with an SGML document

Hi Tim,

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