300-835 · Question #10
Refer to the exhibit. The exhibit shows the XML schema to associate a device with the AddUser operation in AXL. Which XML snippet is correct to associate a device with name "SEP1515151515"?
The correct answer is D. <associatedDevices> <device>SEP1515151515</device> </associatedDevices>. Option D correctly uses <associatedDevices> as the parent element and passes the device name as text content inside <device>SEP1515151515</device>, which matches the AXL schema definition for the AddUser operation. Option A is wrong because it incorrectly uses a name="" XML attri
Question
Exhibit
Options
- A<associatedDevices> <device name="SEP1515151515"> </associatedDevices>
- B<routePartitionName> <device>SEP1515151515</device> </routePartitionName>
- C<routePartitionName> <device name="SEP1515151515"> </routePartitionName>
- D<associatedDevices> <device>SEP1515151515</device> </associatedDevices>
How the community answered
(37 responses)- B3% (1)
- C3% (1)
- D95% (35)
Explanation
Option D correctly uses <associatedDevices> as the parent element and passes the device name as text content inside <device>SEP1515151515</device>, which matches the AXL schema definition for the AddUser operation. Option A is wrong because it incorrectly uses a name="" XML attribute on the <device> element - the AXL schema expects the device name as element text, not an attribute. Options B and C are both wrong because <routePartitionName> is an entirely unrelated element used for partition assignments, not device associations. Option C compounds the error by also using the incorrect name="" attribute syntax.
Memory tip: Think "devices go in associatedDevices, and AXL uses text nodes - not attributes - for simple values." If you see a device MAC like SEP... wrapped in a tag with no =, that's AXL's style.
Topics
Community Discussion
No community discussion yet for this question.
