Quantcast
Channel: Adobe Community : Popular Discussions - FrameMaker Structured
Viewing all articles
Browse latest Browse all 66580

Graphic elements in XML

$
0
0

Guys, I guess I'm kinda stupid or blind or both, but I got this trivial issue:

 

I try to roundtrip graphics from a simple EDD to XML and back.

So I got this pretty simple rules in EDD, DTD and RWR:

 

EDD:

element (graphic): image

   attribute list

      1. Name: href          String          Optional

   Initial graphic element format

     1. In all contexts

           Insert anchored frame

 

 

DTD:

<!ELEMENT image       EMPTY>

<!ATTLIST image      href       CDATA       #IMPLIED>

 

RWR:

element "image"

{

          is fm graphic element;

 

 

          attribute "href" is fm property file;

}

 

I got a basic element as top level element defined to get the image placed...

So, what bothers me is, how the hell do I get the damn href attribute told, where the image reference is? The XML output places the image element without problems - but the ref is missing.

 

Pulling my hairs out on this one...

 

Cheers Alex


Viewing all articles
Browse latest Browse all 66580

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>