UDDI Drill Down Example

"; } var depth = 0; function StrChar(ch, len) { var s = ""; var i; for (i = 0; i < len; i++) { s = s + ch; } return s; } function HasChildElements(node) { if (node.hasChildNodes) { var kids = node.childNodes; var n = kids.nextNode(); while (n) { if (n.nodeType == 1) { return true; } n = kids.nextNode(); } } else return false; } function Indent(node) { depth++; return StrChar(" ", depth-1); } function UnIndent(node) { depth--; if (HasChildElements(node)) { return StrChar(" ", depth); } else { return ""; } } function StartLine(node) { if (HasChildElements(node)) { return "\n"; } else { return ""; } } function EndLine(node) { return "\n"; } ]]> ="" Indent(this);lt();gt();StartLine(this);UnIndent(this);lt();/gt();EndLine(this); Select UDDI Node: