debug Scala xml handling by SAXParser

Created by Wang, Jerry, last modified on Sep 24, 2015

debug Scala xml handling by SAXParser_第1张图片

debug Scala xml handling by SAXParser_第2张图片

debug Scala xml handling by SAXParser_第3张图片

debug Scala xml handling by SAXParser_第4张图片

debug Scala xml handling by SAXParser_第5张图片

debug Scala xml handling by SAXParser_第6张图片

debug Scala xml handling by SAXParser_第7张图片

debug Scala xml handling by SAXParser_第8张图片

debug Scala xml handling by SAXParser_第9张图片

output log:

begin to parse xml

EvElemStart: null

Start element: company - first level

Attrs:

scope:

EvText event happened:

EvElemStart: null

Start element: staff - second level

Attrs:

scope:

EvText event happened:

EvElemStart: null

Start element: firstname - third level

Attrs:

scope:

EvText event happened: yong - element value

First Name: yong

End element: firstname - tag end

EvText event happened:

EvElemStart: null

Start element: lastname - new third level

Attrs:

scope:

EvText event happened: mook kim

Last Name: mook kim

End element: lastname

EvText event happened:

EvElemStart: null

Start element: nickname

Attrs:

scope:

EvText event happened: mkyong

Nick Name: mkyong

End element: nickname

EvText event happened:

EvElemStart: null

Start element: salary

Attrs:

scope:

EvText event happened: 100000

Salary: 100000

End element: salary

EvText event happened:

End element: staff

EvText event happened:

EvElemStart: null

Start element: staff

Attrs:

scope:

EvText event happened:

EvElemStart: null

Start element: firstname

Attrs:

scope:

EvText event happened: low

First Name: low

End element: firstname

EvText event happened:

EvElemStart: null

Start element: lastname

Attrs:

scope:

EvText event happened: yin fong

Last Name: yin fong

End element: lastname

EvText event happened:

EvElemStart: null

Start element: nickname

Attrs:

scope:

EvText event happened: fong fong

Nick Name: fong fong

End element: nickname

EvText event happened:

EvElemStart: null

Start element: salary

Attrs:

scope:

EvText event happened: 200000

Salary: 200000

End element: salary

EvText event happened:

End element: staff

EvText event happened:

End element: company

你可能感兴趣的:(scala,sap,saprfc,crm,erp)