Open elipousson opened 1 year ago
Making progress on this although I need to tweak what level of detail the data.frame includes and whether it would be better to include nested data.frame list columns to avoid duplicative rows. get_idml_spreads()
for example returns multiple rows for each spread because it returns a data frame with the information contained in the xml document for each spread. There probably should be a list_idml_spreads()
and get_idml_spread()
singular function to go along with the plural version.
I started looking at this as an example: https://rud.is/rpubs/xml2power/
Here is the code I started working on based on that blog post:
I need to review the IDML specs to figure out when/what info is stored in attributes or tag names and when/what info is stored in text and what flags I can use to determine how deeply nested the XML structure is for a given node.