UNPKG

xmlrpc-rosnodejs

Version:

A pure JavaScript XML-RPC client and server. Patched fork from https://github.com/baalexander/node-xmlrpc.

11 lines (7 loc) 212 B
var CustomType = module.exports = function(raw) { this.raw = raw } CustomType.prototype.serialize = function(xml) { return xml.ele(this.tagName).txt(this.raw) } CustomType.prototype.tagName = 'customType'