QuestionQ9Verified/NETCONF/XML APICopy linkReport a problemAsk AstroTutorSave questionWhich option is an example of valid XML syntax?A<Devices><hostname>vMX1<Devices/>B<Devices><hostname>vMX1</hostname><Devices/>C<Devices><hostname>vMX1</hostname></Devices>D<Devices><hostname>vMX1<Devices/></hostname>Show AnswerAnswerExplanationValid XML requires each opened element to be closed with its corresponding end tag, with tags nested in reverse order of opening. The hostname element must close before the enclosing Devices element.Show comments3Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion