44                const sdf::Model &_model)
 
   46      sdf::ElementPtr modelElem = _model.Element();
 
   54      if (modelElem->HasElement(
"pose"))
 
   56        sdf::ElementPtr poseElem = modelElem->GetElement(
"pose");
 
   57        if (poseElem->GetAttribute(
"relative_to")->GetSet())
 
   66          static bool warned = 
false;
 
   69            gzwarn << 
"Skipping serialization / deserialization for models " 
   70                    << 
"with //pose/@relative_to attribute." 
   80        _out << 
"<?xml version=\"1.0\" ?>" 
   81              << 
"<sdf version='" << SDF_PROTOCOL_VERSION << 
"'>" 
   82              << modelElem->ToString(
"")