Skip to main content
Participant
January 29, 2018
Question

SaveAsXML references

  • January 29, 2018
  • 2 replies
  • 755 views

Hi All,

If it is in wrong community, please move to correct one.

I am working on SaveAsXML by modifying an xml file based on \plug_ins\SaveAsXML\MappingTables\XML-1-0.xml.

I need to extract extra information in Table Area.

I am able to extract scope, colspan/rowspan, ID in TD/TH element. I have used following codes.

<Proc-var Pdf-var="ID" Owner="Structelem" Type="String" Has-enum="No-enum" Inherit="Not-inherited" Default="" Condition="Has-value">

<Emit-string SP-Before="No"> ID=&quot;</Emit-string>

<Proc-string/>

<Emit-string>&quot;</Emit-string>

</Proc-var>

<Proc-var Pdf-var="ColSpan" Owner="Table" Type="Int32" Inherit="Inheritable" Condition="Has-value">

<Emit-string SP-Before="Yes">colspan=&quot;</Emit-string>

<Proc-integer/>

<Emit-string>&quot;</Emit-string>

</Proc-var>

<Proc-var Pdf-var="RowSpan" Owner="Table" Type="Int32" Inherit="Inheritable" Condition="Has-value">

<Emit-string SP-Before="Yes">rowspan=&quot;</Emit-string>

<Proc-integer/>

<Emit-string>&quot;</Emit-string>

</Proc-var>

<Proc-var Pdf-var="Scope" Owner="Table" Type="String" Inherit="Inheritable" Condition="Has-value">

<Emit-string SP-Before="Yes">scope=&quot;</Emit-string>

<Proc-string/>

<Emit-string>&quot;</Emit-string>

</Proc-var>

However, I also need to extract Headers of TD element (some users use word Associate IDs of cell, callas pdfgoHTML a free plugin also export headers, but I need my own mapping also). I tried but I am not able to get by using following code.

<Proc-var Pdf-var="Headers" Owner="Table" Type="String" Inherit="Not-inherited" Condition="Has-value">

<Emit-string SP-Before="Yes">headers=&quot;</Emit-string>

<Proc-string/>

<Emit-string>&quot;</Emit-string>

</Proc-var>

Can anyone help me in this? I also need how to extract Expansion text(content tab) given for any tag.

Thanks,

Vikash Gupta

This topic has been closed for replies.

2 replies

Participant
February 5, 2018

Anyone? No Suggestion?

try67
Community Expert
Community Expert
January 29, 2018

Does your question have to do with any Adobe application? If so, which one?

Participant
January 29, 2018

Adobe Acrobat.

try67
Community Expert
Community Expert
January 29, 2018

OK. Can you explain what you're trying to achieve? Where did this XML file come from, and what do you want to do with it?