Skip to main content
Matt-Tech Comm Tools
Community Expert
Community Expert
May 14, 2013
Question

XRef idref attribute not recognized upon opening of XML file

  • May 14, 2013
  • 1 reply
  • 415 views

***I suspect this might be an XSL-related solution***

I've inherited a client's xml structapp that goes out to XML quite nicely, but doesn't read in the requisite idref upon opening in FM11.

The read/write rules are fairly straightforward:

element "xref"

{

  is fm cross-reference element "XRef";

  attribute "xrefstyle" is fm property cross-reference format;

  attribute "linkend"           is fm property cross-reference id;

}

However, the linkend attribute is not populated upon opening, nor is the value (which is present in the XML file) passed as the cross-ref id into FM.

Anyone have a solution?

Could this be a result of XSL parsing, and might the XSL be dropping the attribute upon import prior to application of the RWR? I haven't dug into the import XSL yet, but suspect that's where I need to go.

-Matt

This topic has been closed for replies.

1 reply

Van Kurtz
Inspiring
May 14, 2013

Matt,

I would first check the EDD to make sure it has an element named XRef with attributes xrefstyle and linkend. Ooops, rereading your message, I guess you have done this. Your RWR looks exactly as mine and I have no problems.

Then look at the XSL. The problem should be easy to spot.

Van