Hello Nathan,

The format attribute is not set in this situation because it is redundant. According to the specification ,when no value is specified the processors default to "dita". There are other tests perform by the "insert.cross.reference" operation, most of them based on the extension. If the referenced file has a *.dita or *.xml extension the format is automatically considered to be "dita" and the attribute is not set at all. If the referenced file has a different extension then that extension is imposed as the format (the specification also states something on this). Does the missing "format" has any side effects, like perhaps in the output?


[1] http://docs.oasis-open.org/dita/v1.2/os/spec/common/theformatattribute.html

Best regards,
Alex
-- 
Alex Jitianu
<oXygen/>  XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com 
On 29-Apr-14 12:30 AM, Nathan wrote:
Hi,
  I am modifying the "insert.cross.reference" action in my dita framework to accept a specified format, type and scope attribute as shown in image 1 below. The type and scope attribute work fine but the format attribute is not output when I use this action after my modifications (see image 2).
  Am I missing any step here?
  Also, if I have to add these attributes when an xref is created in the Author view by drag and drop (from the ditamaps manager or project view), how would I go about doing it?

Thanks!
Nathan


_______________________________________________
oXygen-sdk mailing list
oXygen-sdk@oxygenxml.com
http://www.oxygenxml.com/mailman/listinfo/oxygen-sdk