Visual Studio - XML
포멧을 클래스로 만들기
JSON 사이트에 있는 샘플을 클립보드에 복사합니다.
http://json.org/example
<menu>
<header>Adobe SVG
Viewer</header>
<item action="Open"
id="Open">Open</item>
<item action="OpenNew"
id="OpenNew">Open New</item>
<separator/>
<item action="ZoomIn"
id="ZoomIn">Zoom In</item>
<item action="ZoomOut"
id="ZoomOut">Zoom Out</item>
<item
action="OriginalView" id="OriginalView">Original
View</item>
<separator/>
<item action="Quality"
id="Quality">Quality</item>
<item action="Pause"
id="Pause">Pause</item>
<item action="Mute"
id="Mute">Mute</item>
<separator/>
<item action="Find"
id="Find">Find...</item>
<item
action="FindAgain" id="FindAgain">Find Again</item>
<item action="Copy"
id="Copy">Copy</item>
<item
action="CopyAgain" id="CopyAgain">Copy
Again</item>
<item action="CopySVG"
id="CopySVG">Copy SVG</item>
<item action="ViewSVG"
id="ViewSVG">View SVG</item>
<item
action="ViewSource" id="ViewSource">View
Source</item>
<item action="SaveAs"
id="SaveAs">Save As</item>
<separator/>
<item action="Help"
id="Help">Help</item>
<item action="About"
id="About">About Adobe CVG Viewer...</item>
</menu>
|
XML 포멧을 복사한 후
Visual Studio 메뉴: [Edit]
>> [Paste Special] >> [Past XML As Classes]
XML 포멧이 클래스로 붙여넣기 된 것을 확인할 수 있습니다.