<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi François,<br>
We know about this issue for a long time (we have a JIRA task on a
sub-project asking for this tag).<br>
I ran some tests and found a way to add it :<br>
<br>
patch the file :
modules/metadata/geotk-metadata-fra/src/main/java/org/geotoolkit/metadata/fra/FRA_DataIdentification.java<br>
<br>
by adding :<br>
<br>
@XmlAttribute(name = "isoType", namespace= Namespaces.GCO)<br>
public QName getIsoType() {<br>
return new QName(Namespaces.GMD, "MD_DataIdentification");<br>
}<br>
<br>
<br>
I think we'll add this tag for all sub-classes of FRA profile in
the geotk trunk soon.<br>
<br>
Guilhem Legal<br>
<br>
<br>
<br>
Le 18/10/2012 17:54, François ANDRE a écrit :<br>
</div>
<blockquote
cite="mid:CALpWNKs92RML27v4k=TWP42oJcxMAKS1G9su_ziN+vf=E4YUBg@mail.gmail.com"
type="cite">Hi all,
<div><br>
</div>
<div>I'd like to insert a custom tag during the marshalling of my
metadata for Geonetwork to be able to autodetect it and liking
it to a special schema plugin.</div>
<div><br>
</div>
<div>For example, I'd like to be able to add my tag after "<span
style="background-color:rgb(255,255,255);font-family:tahoma,arial,helvetica,sans-serif;font-size:11px">gmd:identificationInfo"
just like it's done with </span><span
style="background-color:rgb(255,255,255);font-family:tahoma,arial,helvetica,sans-serif;font-size:11px">ISO19139.FRA
:</span></div>
<div><br>
</div>
<div><span class="xmltag"
style="font-family:tahoma,arial,helvetica,sans-serif;font-size:11px;background-color:rgb(255,255,255)"><gmd:identificationInfo></span>
<dl class="xml" style="margin:0px;padding:0px 0px 0px
2px;font-family:tahoma,arial,helvetica,sans-serif;font-size:11px;background-color:rgb(255,255,255)">
<dd style="margin:0px;padding:0px 0px 0px 2px"><span
class="xmltag"><fra:FRA_DataIdentification <span
class="xmlatt">gco:isoType=</span><span
class="xmlattvalue" style="font-weight:bold">"gmd:MD_DataIdentification"</span>></span></dd>
<dd style="margin:0px;padding:0px 0px 0px 2px"><span
class="xmltag">...</span></dd>
<dd style="margin:0px;padding:0px 0px 0px 2px"><br>
</dd>
</dl>
</div>
<div>I've tried several things but none have worked: when I
marshall my metadata I only see the gmd:IdentificationInfo tag.</div>
<div><br>
</div>
<div>Is there a way to do that or is it such a bad idea ?</div>
<div><br>
</div>
<div>Sincerly,</div>
<div><br>
</div>
<div>François ANDRE</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Geotoolkit mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Geotoolkit@lists.osgeo.org">Geotoolkit@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/geotoolkit">http://lists.osgeo.org/mailman/listinfo/geotoolkit</a>
</pre>
</blockquote>
<br>
</body>
</html>