Skip to main content
Inspiring
Feb 28, 2008 8:23 AM UTC
Question

Xref resolving problem when making book from XML

Hi,

I cannot get cross references to work between book components when I import an xml instance to frame. The book components are created by PI's in xml. Book itself and components gets created ok and also xrefs within a component are ok, but xrefs between components creates "unresolved cross references".. Not even update book commands help.

Also, if I import the xml as a big, single fm file, all xrefs are ok, so attributation in xml is ok.

xml uses the id/idref attributes for xrefs.

I tried to use the "srcfile" approach by adding the srcfile value to xref element with XSLT -> did not help.

Any hints how to proceed, dev guide ran out of ammo here..

BR, Martti
This topic is closed to new replies. Start a new post to keep the conversation going.

1 reply

MarttiPAuthor
Inspiring
Feb 28, 2008 11:14 AM UTC
This looks really weird..

I got the srcfile approach working after using absolute paths in URI for the attribute value. Works, but nasty since the user must save the final book to same folder that is specified in xml.

Then I changed the process to let frame generate the component file names (no PI's). Without srcfile in xref frame was still unable to resolve xrefs between book components.

I could swear that old versions of frame were able to do this.

The source XML is Composite DITA-based XML, ordinary stuff..

Has anyone had the same?..Any solutions..

Martti
Translate