<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hello Nathan,<br>
<br>
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?<br>
<br>
<br>
[1]
<a class="moz-txt-link-freetext" href="http://docs.oasis-open.org/dita/v1.2/os/spec/common/theformatattribute.html">http://docs.oasis-open.org/dita/v1.2/os/spec/common/theformatattribute.html</a><br>
<br>
<pre class="moz-signature" cols="72">Best regards,
Alex
--
Alex Jitianu
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
<a class="moz-txt-link-freetext" href="http://www.oxygenxml.com">http://www.oxygenxml.com</a> </pre>
On 29-Apr-14 12:30 AM, Nathan wrote:<br>
</div>
<blockquote
cite="mid:CAAA7NDj3Rj7dNFzzmf3V6TTfazsDK5sXBLUSMn2K_oS7a2Jb1A@mail.gmail.com"
type="cite">
<div dir="ltr">Hi,
<div> 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).</div>
<div> Am I missing any step here?</div>
<div> 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?</div>
<div><br>
</div>
<div>Thanks!</div>
<div>Nathan</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
oXygen-sdk mailing list
<a class="moz-txt-link-abbreviated" href="mailto:oXygen-sdk@oxygenxml.com">oXygen-sdk@oxygenxml.com</a>
<a class="moz-txt-link-freetext" href="http://www.oxygenxml.com/mailman/listinfo/oxygen-sdk">http://www.oxygenxml.com/mailman/listinfo/oxygen-sdk</a>
</pre>
</blockquote>
<br>
</body>
</html>