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

Automatically insert element tag around 'inline' cross-references

$
0
0

Hi all,

 

When you have a cross reference that was created around, say, just a chunk of text, Framemaker will not preserve any sort of cross-reference information on export to XML, beyond just making sure the text associated with the cross reference is exported correctly.

 

As it states in the structured application developer manual:


Whether or not the cross-reference element has an IDREF attribute, if the source of the cross-
reference is not an element, then FrameMaker exports the cross-reference element as text. That
is, the fact that an element was present in the FrameMaker document is lost; instead, the text
content provided by the cross-reference format appears in the markup document.

 

I was trying to figure out a way to use read/write rules to automatically generate a tag of some sort around such inline cross-references. I have an element for cross references in my DTD named Xref, so I tried this:

 

element "Xref" {
   is fm element "Xref";
}

Unfortunately, this didn't do anything.  This is my first day using Framemaker, so I'll readily admit I may be a little bit lost.

 

Does any one have any suggestions as to how I can preserve cross-reference information, on export to XML? I want to create an XML toolchain that reads in this XML; and currently it's not really possible to pick up cross-references.

 

Regards,

Seth


Viewing all articles
Browse latest Browse all 66580

Trending Articles



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