Visual studio 2003 이상 버젼에서 다음 과정 수행
① Windows C# 프로젝트
② XML_CS 프로젝트
③ (마우스 오른쪽 버튼)새 항목 추가
④ XML 스키마 추가
※ 왼쪽 XML 스키마 창에서 element, attribute 버튼을 오른쪽 작업창으로 드래그 하면 된다.
XSLT
XML Data presentation Language
XML 을 HTML, text나 XML로 변환
템플릿 규칙을 통해 데이터를 변환
① 입력파일 : XML document(변환할 소스), XSL(변환할 방법)
② XSLT Processors(XSLT 처리기) : 웹브라우저에 내장 + Command-line방식
③ 출력파일 : 각종 Text문서.
XSLT구조
<xsl:stylesheet> : 시작
<xsl:template match="/">
XSL namespace : http://www.w3.org/1999/XSL/Transform
XML문서에서 사용할 XSL 정의
<?xml-stylesheet type="text/xsl" href="order.xsl">
'컴퓨터 공부 > XML' 카테고리의 다른 글
[5월 18일 3교시] XSLT 템플릿 (0) | 2009.05.18 |
---|---|
[5월 18일 2교시] XPath (0) | 2009.05.18 |
[5월 15일] XML schema data type + Namespace in Schema (0) | 2009.05.15 |
[5월 14일 3교시] XML schema 2 (0) | 2009.05.14 |
[5월 14일 2교시] XML namespace + XML schema 1 (0) | 2009.05.14 |