#!/usr/bin/python
import re
import sys
# Convert word from foo-bar to FooBar
# words begining with a digit will be converted to _digit
def to_enum(s):
if s[0].isdigit():
s = "_" + s
else:
s = s[0].upper() + s[1:]
return re.sub(r'(?!^)-([a-zA-Z])', lambda m: m.group(1).upper(), s)
leaf = ""
val = ""
li = []
if len(sys.argv) < 3:
print 'yang2props.py