XML Export: do not export "unimplemented" link sets, so that the resulting output can be used as sample data in the setup

SVN:trunk[2106]
This commit is contained in:
Romain Quetiez
2012-06-14 09:26:23 +00:00
parent 51ba8df159
commit dc90de5a2b

View File

@@ -1479,8 +1479,11 @@ EOF
{
if ($oAttDef->IsWritable())
{
$sValue = $oObj->GetAsXML($sAttCode);
$oPage->add("<$sAttCode>$sValue</$sAttCode>\n");
if (!$oAttDef->IsLinkSet())
{
$sValue = $oObj->GetAsXML($sAttCode);
$oPage->add("<$sAttCode>$sValue</$sAttCode>\n");
}
}
}
}