Please enable JavaScript to view this site.

Manual InterForm400 English 2023

Navigation: XML output

Limitation of the XML generator

Scroll Prev Top Next More

An example of one of the limitations of the XML generator is, that you cannot build up a structure of dynamically nested nodes on a single page - only one. If you e.g. consider a spooled file looking like below, where the number of departments and products is variable:

 

 

Product        

----------------

Department 1      

PDF security1  

PDF security2    

Department 2    

PDF security3  

PDF security4  

 

Then you might want an output XML like this:

 

<Root>

 <Departments>

         <Department No=”1">

                 <Product>

                         <Desc>        PDF security1</Desc>

                 </Product>

                 <Product>

                         <Desc>PDF security2</Desc>

                 </Product>

         </Department>

         <Department No=”2">

                 <Product>

                         <Desc>        PDF security1</Desc>

                 </Product>

                 <Product>

                         <Desc>PDF security2</Desc>

                 </Product>

         </Department>

 </Departments>

</Root>

 

- but that is unfortunately not possible - unless you have a page break per department.