in reply to Re^2: XML Parsing in a "mixed content" file
in thread XML Parsing in a "mixed content" file

"the source data is XML with TT instructions in the file."

That's not really the source data, since you need to create the XML. Your solution creates an XML file using Templates, I was asking what the source data was, since you obviously have it in a perl script, you could use this data to feed both the preview (one method described above) and create the Spreadsheet (Excel::Writer::XLSX). Seems illogical to create a file in a certain format only to parse it back into perl just to present a preview.

  • Comment on Re^3: XML Parsing in a "mixed content" file

Replies are listed 'Best First'.
Re^4: XML Parsing in a "mixed content" file
by llarochelle (Beadle) on Jan 11, 2019 at 17:48 UTC
    I think I'm being misunderstood. I want to show how the template is built ( showing the whole logic) without dealing with all the xml tags in that view. So I need to extract TT instructions + cell text values. Makes sense ? Luc