Creating bookmark titles with characters like " (quot), & (amp), ' (apos)


we build ddx dynamically based on list of pdf files assembled. each file want add bookmark title based on file content's title. title may contain characters " (quot), & (amp), ' (apos). e.g. extract ddx:<br /><pdf source="rapportbok_49" bookmarktitle=""background levels": more text"><br /></pdf><br />this cause assembling fail (naturly). in case have enclosed title text apostroph instead of quotation. if title contains both characters? <br />we tried rewrite ddx (this have solved problem quot , apos):<br /><pdf source="rapportbok_49"><br />  <bookmarktitle>"background levels": more text</bookmarktitle><br /></pdf><br />however, not legal ddx syntax.<br />we tried substitute " &quot;, resulting in &quot; in output.<br />we tried escape " \", giving syntax failure.<br /><br />does have suggestion how solve our problem?

i don't know product, have tried using standard xml
escapes?

aandi inston


More discussions in LiveCycle pre-ES (6.x and 7.x) discussions


adobe

Comments