Copy link to clipboard
Copied
Hello all,
I am saving a structured document to XML and run into an error I cannot explain - or solve: I place graphics inside an anchored frame, which is aligned right with the image centered in the frame. Saving the document to XML generates an error in the log, stating that the 'align' attribute is already used in the image element. The XML shows the following:
<figure Language = "en-US">
<image entity = "image5" impsize = "1.289in 1.478in" impby = "ref"
sideways = "0" impang = "0.000" xoffset = "2.111in"
yoffset = "0.000in" position = "below" align = "aright"
cropped = "1" float = "0" width = "5.512in" height = "1.479in"
angle = "0.000" nsoffset = "0.000in" align = "left"/>
Does anyone know where the second align attribute (align = "left") comes from ? The Structure Application Developer Guide clearly states that the 'align' attribute is the frame alignment on the page, so the first align attribute is in fact the correct one.
Thanks for any help - I would hate to ship my stuff to my clients when they get ugly errors on saving to XML.
Jang
Copy link to clipboard
Copied
Hi again,
Disregard the previous post. I found the mistake: the image that was inserted in the anchored frame had an invalid attribute 'align' - that is where the second attribute came from in the XML. Oh well, I should learn to check all options before shooting off a post on this forum. Sorry for the interruption.
Thanks anyway
Jang
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more