Gazebo | Ignition | Community
Ask Your Question

How to comment an SDF?

asked 2013-01-21 19:40:30 -0600

Ben B gravatar image

Is there a way to add comments that aren't parsed to an SDF?

If so, perhaps this should be added to the SDF 1.3 documentation.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-01-21 19:55:53 -0600

ThomasK gravatar image

The first line of the SDF documentation tells you that SDF is an XML file format ("The Simulation Description Format (SDF) is an XML file format"), hence you can comment it like any other XML file, i.e. using <!-- comment -->

edit flag offensive delete link more



Ben B gravatar imageBen B ( 2013-01-21 19:59:35 -0600 )edit
Login/Signup to Answer

Question Tools


Asked: 2013-01-21 19:40:30 -0600

Seen: 25,428 times

Last updated: Jan 21 '13