Placing a PDF graphic into an existing XML hierarchy?
I have an existing XML hierarchy that has a picture element that looks like this:
<picture href=""></picture>
which is already placed in a TextFrame.
I'd like to place a PDF graphic at the location of this element, in essence updating it.
I'm able to update the href attribute with the correct filename, but this doesn't create a placed graphic AFAICT.
I can place a graphic in my TextFrame, but don't understand how to specify this <picture> element as its location.
Any pointers to example code, or hints/tips?
Greatly appreciated!
Charles