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

Cross references in custom XML

$
0
0

Hello!

 

We have a custom XML schema and a structured application that allows us to edit our XML documents in FM. The schema contains a definition for a cross reference element and a definition for a target element.

 

=============================================================

Example:

 

A cross reference element (say, documentA.xml contains this element): <cref target="documentB.xml#sect123"/>.

 

A target element (say, documentB.xml contains this element): <section id="sect123"/>.

 

Also I have a book in FM that includes both documentA.xml and documentB.xml.

=============================================================

 

FM outputs error messages when I try to save documentA.xml.

 

So, I have few questions concerning this issue.

 

How should I describe the cref element in EDD?

 

A manual says, that the @target attribute must be of the IDREF type. Sounds good but the # char is restricted for IDREF values. How can I resolve this contradiction? If I write <cref target="sect123"/> (target id without filename) FM outputs error messages when I open documentA.xml in FM.

 

Thank you!


Viewing all articles
Browse latest Browse all 23442

Trending Articles



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