Which product are you using?
PDF.js Express Plus
PDF.js Express Version
8
Detailed description of issue
i have xfdf data and from xfdf data i need to extraxt name and page from that. is there any way i can get the values of name and page from the xfdf data.
const xfdfString = await instance.Core.annotationManager.exportAnnotations();
i am able to get the value of xfdfString value from above as
<?xml version="1.0" encoding="UTF-8" ?><xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve"><pdf-info xmlns="http://www.pdftron.com/pdfinfo" version="2" import-version="4" /><fields /><annots><square page="3" rect="64,311.750,317,539.750" color="#FF0000" flags="print" name="fb32b83b-7dbc-c6c0-96be-0af5284a49ee" title="admin" subject="Rectangle" date="D:20230214225127+05'30'" width="3" creationdate="D:20230214225126+05'30'"/></annots><pages><defmtx matrix="1,0,0,-1,0,792" /></pages></xfdf>
so from above output i need to extract name and page values
Expected behaviour
{Provide a screenshot or description of the expected behaviour}
i need to extract name and page from xfdfString
Does your issue happen with every document, or just one?
{Answer here}
Link to document
{Provide a link to the document in question if possible}
Code snippet
{Provide a relevant code snippet}