달력

2

« 2025/2 »

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
2007. 2. 23. 10:24

자바서비스넷의 기술자료 링크 그거/Tech2007. 2. 23. 10:24

안녕하십니까? 자바서비스넷 이원영입니다.
자바서비스넷(
http://www.javaservice.net) 커뮤너티에 올라온 글들 중 의미있는 기술자료
링크를 모아 보내드립니다.

또한 자바서비스넷이 (주)자바서비스컨설팅(
http://www.javaservice.com)으로 거듭나면서
저희들이 직접 개발한 국산 WAS성능관리툴 제니퍼 2.5를 소개드리고자 합니다. 주위에 알려주시고,
직접 사용해 보신 후 신랄한 피드백을 부탁드립니다.

[WAS 장애진단/통합성능관리툴 제니퍼 2.5 의 핵심기능]
http://www.javaservice.net/~java/bbs/read.cgi?m=resource&b=jscnews&c=r_p&n=1127241452

[자바서비스 성능진단 컨설팅 자료모음]
20  모사이트_메모리장애분석.doc
19  성능테스트단계에서의 제니퍼 활용.doc
18 [인터넷, 빈번한 Full GC로 인한 성능저하 사례]
17 [인터넷, 전반적으로 서비스 성능이 우수한 사례]
16 [인트라넷업무, 서비스 큐잉장애에 대한 병목구간 분석 사례]
15 XX사 OO시스템 개발단계에서의 장애요소분석
14 HH사 OOO시스템 성능진단 보고서
13 모모 사이트 성능진단보고서
12 모사이트 모시스템 성능 장애진단 결과보고서
11 OOO사 XXX 시스템 성능진단 결과보고서
10 BB사 XXX 시스템 성능장애진단 컨설팅 보고서
6 다운사이징 벤치마크테스트 및 플렛폼 이관 검증 컨설팅
4 성능테스트를 통한 한계 동시단말사용자 수 측정

[자바서비스넷 최근 IT 소식]
915 2010년의 기술과 산업
1071 선 "모든 SW 무료 제공" 선언
1022 CodeHaus releases Mule 1.0, an open-source ESB
953 차세대 데이터 베이스 프로그래밍 - SDO
987 티맥스, 국내 WAS 시장서 1위 차지
776 참여정부의 전자정부 로드맵

[프로젝트 실무 컨설팅]
1478 S/W아키텍트에 대한 권고
1363 긴급! 리소스 누수 현상 ㅜ.ㅜ
1341 바람직한 작명규칙법을 알고 싶습니다.
1316 [EJB]Stateless Session Bean의 갯수와 WAS 성능에 관하여
1309 EIP솔루션 선택에 대하여
1286 대용량 파일의 Sort관련
1263 웹 애플리케이션의 성능 분석
1230 웹사이트 개발시 필요한 문서 목록
1209 "MVC개발자 분리", "JUnit이용한 테스트"
1206 웹서비스(Web Service)가 뭔가요???
1174 오라클 cursor가 계속 쌓여만 갑니다. --;
1150 Unique number생성 문제점(WAS 3대 사용시)
1123 동시접속자 문제
1106 [질문] 코드성데이터의 클래스생성..
1062 OR Mapping 사례
1039 [질문] struts 프레임워크에 대해서...
997 LoadRunner 성능 테스트 방법론 자료
960 웹에서의 프레임웍 추천부탁드려요~ ^_^
933 자바의 이해하지못하는 프레임웤에 대하여
920 prepareStatement. 사용시 문제점...?
873 Hibernate?
845 리포팅툴에 관련된 질문입니다. 추천좀 해주세요.
786 인트라넷 환경 시스템 구축관련
688 여러 쇼핑몰들과의 Data교환
677 비동기 메시징과 동기 메시징에서의 queue처리방식?
644 J2EE 개발 툴, 방법론 최상의 조합은??

[성능관련 기술자 커뮤니티]
54 김균홍 대리님의 Mixed Throughput EQ.

[기술적 이슈에 대한 토론공간]
440 AJAX의 미래..
404 SOA 의 실증적인 모습이 무엇인지 궁금합니다.
397 ibatis를 대규모 프로젝트에 사용할때 문제점이 있을까요?
392 "차세대시스템"에 걸맞는 Application Architecture
342 이미 구성되어 있는 Server간(종류에 상관없이) file을 교환하게 만들기
332 Framework과 Architecture의 차이점을 설명해주세요
290 코드 인스펙션을 하시나요?
277 지능형 프로젝트 관리 시스템을 도입하려고 하는데요
218 Don't use StringBuffer!! Use String!!
199 비즈니스 컴포넌트에 대한 개인적의견
187 Re: 대량 데이타 온라인 배치성 업무
142 .NET J2EE 환경에 비하여 최대 331% 성능 입증
123 채팅서버구현 -쓰레드 동기화문제

[General Java Programming Tips]
683 실시간 접속 회원 현황 구현에 대해서...
673 이유를 모르겠습니다. (묵시적 캐스팅)
574 자바로 구현된 QuickSort 소스구합니다.
531 이런 알고리즘 아시는 분 ...
506 Generics in C#, Java and C++
503 자바 프로그램의 메모리 사용량 확인방법
496 [Book] J2EE™ Development without EJB™
495 [Book] Thinking in Java, 3rd ed. Revision 4.0
490 Functional programming in the Java language
467 자바 소스 내에서 다른 자바 소스를 컴파일 하는 방법이 궁금합니다.
453 아래 JAVA Non-blocking I/O에 관련된 자료입니다.
447 혹시 NIO에 대한 입문자료(?) 있을까요?
422 Thread Pool에 도전기
420 쉬프트 연산자 사용시의 암시적 형변환
413 길이가 2인 byte[] 에 {0x8E,0xF0} 를 담으려면?
349 시간안에 응답하지 않는함수는 에러로 뺄려면
340 new String(byte[]) 생성자의 위험성
328 TCP/IP Socket ObjectOutputStream.reset()
297 JUnit 테스트의 작성요령과 간단한 작성례
296 Design Patterns for Java
292 자바 어플리케이션 최적화
289 Effective Java Programming Language Guide -Joshua Bloch
280 OutOfMemory Error 해결방법...
276 DateFormat for Performance
269 이메일주소의 정확성 여부를 확인하는 자바 코드
260 Java Performance tip입니다.
259 Bitter Java - 안티패턴과리팩토링
248 IT Expert 자바 디자인 패턴& 리팩토링 샘플
245 DB 입출력 자동화 툴 - 피넛 0.9 공개
236 Double-checked locking과 Singleton 패턴
233 양력 <-> 음력 변환.
232 자바 소켓 및 쓰레드 정리
210 int 형 정수의 자리수 체크는???
209 *쓰레드에 안전한 싱글톤 클래스를 만드는 세가지 방법

[Java Servlet & JSP API 개발/코딩]
656 통합 게시판 Unicorn v0.9를 배포합니다
655 struts action mappings
570 Java beans에 대해...
502 JSF BOOK 1.0
494 Java Server Faces
407 이미지 섬네일(Thumbnail) 만들기
332 커넥션풀의 커넥션 갯수.
321 커넥션 객체는 사용이 완전히 끝난 후에 해제시켜라.
300 JSP/JSF와 XML/XSLT의 통합
297 OpenSymphony WebWork를 사용한 게시판
296 자카르타 Velocity를 이용한 게시판
293 JSP코드 작성요령 Code Conventions 한글판
270 EmotionalBrain.Protocol.Group1.V1 (Source v0.8)
250 [Tip] 브라우저/확장한글 인코딩(MS949, 샾햏잌)
240 HTTP POST Reqeust Java Socket Client

[EJB(Enterprise Java Beans)]
257 DDL2iBatis(Code Generator For iBatis) 프로그램 및 사용법
195 Core J2EE Patterns 컬러버젼 약간의 설명[이미지]
194 Bitter EJB
109 EJBean의 인스턴스 변수의 정보는 공유되는가?
102 CMP냐 BMP냐?

[WebService/SOAP/UDDI/WSDL/AXIS/XML]
321 SOAP 개발자를 위한 TCP Monitor
213 Tmocat Server와 XML-RPC연동 방법
111 WebService 아키텍쳐에 대해서
87 ebXML MSH 아키텍처 입니다.
77 2003년도 XML 예측 시장
66 웹서비스 적용 국책과제를 수행하려합니다.

[JDBC(Java Database Connectivity)]
400 PreparedStatement 로 실행하면 너무 느린데/분포도 (히스토그램) 문제입니다.
381 DB2/ JDBC/ PreparedStatement/ SQLCODE=-301
345 Oracle에서 executeBatch/return -2/ Re: AS400 JDBC 드라이버의 경우
339 varchar(4000) * 4 사용시 이상한점..
329 Sybase JDBC Driver PreparedStatement 메모리 증가
322 jdk1.4.2와 Microsoft SQL Server 2000 Driver for JDBC와의 문제
204 PreparedStatement 와 Statement 에 대한 고견을...
137 Oracle CLOB 긴글 입력
121 Bitmechanic 커넥션 풀 소개 문서

[Applet, SWING, AWT, SWT]
153 AIX 5.2, X-Window 상에서 Swing 컴포넌트 한글 깨짐 문제
145 Fw: 윈도우XP SP2, Applet Sign 이슈
131 자바 기술을 사용하여 사인드 애플릿 구현하기
128 Eclipse SWT GUI, 브라우져에서 구동하기
120 파일 업로드 애플릿(with Swing)
116 일본판 Windows에서 한글 문제
96 8 비트 BMP 이미지 만들기
82 import시 모든것(*) 는 어떤 의미를 가지는가?

[HTML/HTC/CSS/JavaScript]
192 Grid Control,Tree Control(JSP구현)소스공개
180 테이블 고정 어떻게 해야하나요?
155 브라우저에서 타이틀바 없애기 ..
141 자바스크립으로 디렉토리구조 트리구조 만들수있나요
130 input FileUpload시 "찾아보기.."버튼 대체 방법
125 모달 대화 상자(modalDialog) 예제
113 JavaScript로 구현한 HTML에디터...
102 Binary Behavior에 관하여..
71 HTTP QueryString의 SpecialCharacters Auto Fix
63 한글 또는 영문만이 존재하는지 체크하는 자바스크립트
56 버튼 죽여서 재전송 방지

[World Wide Web Information]
39 URLConnection에서 타임아웃을 세팅할수 있나요?
28 www.abc_def.com & Cookie/httpsession

[서블렛엔진(Tomcat, Resin, JServ, 환경설정, etc..)]
885 apache+resin jsp소스가 보여지는 현상
882 [Tomcat] 최대한 편하게 DBCP 사용해 보기
791 resin, AIX 5.2 64bit 컴파일/설치하기
787 Tomcat에서 MSSQL 2000 에 연동할때...
777 톰켓 4.1.xx 의 JSP include 한글문제 fix
784 NT Service로 기동할때 톰캣메모리설정이 안됩니다.
734 Apache2+JK2+Tomcat5 2개 로드밸런싱시키기
730 AIX 4.3.3 에서 Tomcat 자주 다운되는 현상 발생
721 Re: 톰캣 5.0 이상에서 get의 한글 문제는..
705 tomcat5 monitoring page
661 Heap Memory 늘리려면 catalina.bat의 어디를 수정해야 하나여?
652 Re: apache2.0.48 + tomcat5.0.18 + mod_jk2 완성!!!
612 tomcat4130버전 server.xml하고 web.xml파일 설정법 정리
519 JBoss 3.2.3 및 오라클 9.2연동법/다국어 코딩법

[elipse Project/Plugin]
105 [?] eclipse: 리모트 디버깅, 디플로잉...
78 이클립스에서 롬보즈(Lomboz)사용에 질문드립니다.
50 Eclipse 기능과 단축키들 정리해 보았습니다.
42 "토탈 이클립스" 미리 보기 원고(이클립스,SWT,PDE)

[Apache Struts Framework]
2 struts 프레임웍 사용의 효율성

[BEA/WebLogic Application Server]
1156 웹로직 8.1 모니터링 툴 WLMonitor 2.5 beta 입니다.

[Borland Enterprise Server]
28 J2EE/CORBA 상호 운용 Simplified IDL를 이용한 클라이언트 확장
24 [BES] BES 5.1 에서의 Clustering 관련 문서입니다

[Fujitsu Interstage Application Server]
105 [Interstage6]여러개의 머신에 EJB환경구축개요
104 Redhat 3.0 AS/ES 와 Java Thread에 관해 생각해야 할 문제
97 [ Interstage 6 ] 운영 가이드 및 TroubleShooting 가이드 자료
92 Re: Interstage V6 운영법 간단 정리 매뉴얼

[IBM WebSphere Application Server]
1537 Session Affinity,Session Persistence 와의 차이
1535 Re: Memory-to-memory 관련 문서입니다.
1516 WAS ND상에서 OS환경변수를 설정하기
1500 WSAD 5.1.2 문서 편집기 한글 문제 질문입니다.
1428 블루 스크린 뜹니다. was5.1 문의 드립니다.
1420 AS400에서 File in Use Error
1414 AIX에서 1G 이상의 힙사이즈 할당하기
1412 J2EE 어플리케이션에서 bottleneck을 검출하는 기법에 관한 문서입니다.
1406 DB Fail시 Connection Pool Failover 방안 문의
1567 Re: 웹스피어 : DB Fail-Over & Fail Back
1371 WebSphere3.5 -> 5.1 Upgrade 및 Migration 관련
1347 WAS5.0x: Function sequence error 해결
1313 WebSphere WebServices Gateway 설치 및 Deploy 동영상
1251 L4와 다수의 웹서버, 이미지 캐시 이슈
1247 "kca" for IBM JVM "core" analizing on AIX
1171 WebSphere App Server V5.1 초급 강의 자료 - 실습자료 포함
1149 Debugging WebSphere Application Server Version 5
1146 DB2 64bit Instance에대한 JDBC Driver 사용
1120 ReloadingEnabled(..ext.xmi) & Reload Enabled(console)
1092 WAS 5.x "분산가능" 옵션의 역할
1020 Re: WAS5.0 Base Edition에서 하나이상 서버만들기
969 웹스피어5.0 JNDI 캐싱 해제 옵션
934 WAS 5.0 Customized Error Reporter : error.jsp
932 JSP Re compile 설정은 어떻게 해야하는지 질문..
921 AppClient모듈에서 DataSource 사용기
890 WSAD/WAS 5.0 JSP 한글 깨짐 문제 정리
888 웹스피어 5.0 데이타베이스 연결 설정법
881 WAS5.0 관리콘솔 사용자암호 지정하기
874 WebSphere5.0 서버셋팅과 CMP Deploy방법(wsda5.0 이용하여)
122 WSAD에서의 개발 및 WAS로 deploy

[Marc Fleury's JBoss Application Server]
68 JBoss Admnin Guide 번역본
30 JBoss Guide 번역
25 Apache2.0과 Jboss3.2.x의 JK2 연동방법 및 DataSource 설정방법

[Unix/Linux/Network]
237 AIX, DNS우선순위 local->dns 설정
215 사용자별/프로세스별 시스템 자원 사용율 모니터링 쉘
202 AIX 시간 동기화
178 솔라리스 전원 자동 꺼짐 방지하기 (Solaris)
176 screen utility
174 솔라리스에서 자바 프로세스 띄우기 문의

[DataBase Management Systems]
267 oracle 10에서 정규식 사용하기
242 ORACLE RAC구성과 JDBC설정법에관한 질문

[JVM/JDK Issue]
142 Re: 요청하신 javacore분석결과 올립니다.
104 java.lang.OutOfMemoryError 의 case별 원인 파악및 해결방안 정리
102 IBM JDK HEAPDUMP가 solaris에도?
101 IBM JDK JIT 옵션
82 Re: Zip한글 해결방법
75 AIX IBM JDK 1.4.X reflection 반영시 나타나는 현상
67 IBM JAVA JDK 와 SUN JDK와의 비교되어있는거 없나요?
65 AIX JDK JNI 컴파일 옵션

[기타 자료실]
120 [AutoQuery 2005]다양한 기능을 제공하는 개발자 지원 Tool
116 SWT를 이용한 인터넷 영한사전 프로그램 JDic 0.7
109 [이클립스] 원격 또는 로컬의 로그파일 모니터링 플러그인
107 간단한 디카 사진 정리 프로그램...
98 Alzip보다 최대 2배 가까이 빠른 zip program.
95 [이클립스 플러그인] 원격 자동 업로드 FTP
64 조회,입력, 수정, 삭제 가 매우 쉬운 Grid & Sample

[자바서비스컨설팅/제니퍼 FAQ]
23 리퀘스트몬(requestmon) for Jennifer

[기타]
998 한국의 SI 수준은 이제 세계에서 경쟁력을 잃고 있다.
1050 어느 자바 개발자의 꿈...이원영 자바서비스컨설팅 대표
958 IT노동자 실태조사 자료 및 인터뷰 동영상
860 30대 은행원, 업무 스트레스 못 이겨 자살

[비기술적 이슈에 대한 토론공간]
611 돈 되는 개발이란?
350 [희승사화]여러분이 저라면 어떻게 하시겠습니까?
337 SI에서 개발자라는 것은.
328 아키텍터가 되기 위해서는 어떻게 해야 할까요?..
244 프리랜서 개발 단가..
188 용역단가에 대해서
114 IT(정보기술) 개발자들이 공무원들의 노예인가?(펌)
30 [KT목동사화] 경쟁업체 성능시험 방해 삼성SDS직원 둘 구속기소
1 프리랜서의 한계

[의견 나눔터/잡담]
1792 Object 관련 질문드립니다...(수정본)
1709 okjsp 에서 퍼온글...
1701 잡담
1690 Re: 컨설턴트가 되기 위해서는
1638 인생의, 선택의 문제앞에서. (조언을 부탁드립니다.)
1451 잠적하기 직전 개발자의 변(辨)
1446 [의중사화] Expert One-on-one J2EE 설계와 개발을 읽고 차의중씨에게...
1356 나이를 먹어가며...
1314 티맥스 소프트
1286 미국 환경은 어떤가요?.
1138 개발자의 정년
1109 [그냥 잡담]파견나간 일본회사
1093 50만원이 생긴다면 무엇을 하시겠습니까?
1002 노동자 대단결
944 고인의 명복을 빕니다.
796 추억의 놀이...
716 감동플러스..~~ㅡ_ㅜ
:
Posted by 뽀기
2007. 2. 22. 17:17

10. XML 문서의 변환과 응용 그거/Tech2007. 2. 22. 17:17

# XML 문서의 변환과 응용

# 문서 변환 방법

1. TrAX(Transformation API for XML)
  XSLT stylesheet를 이용해 문서 변환을 수행

# 데이터의 변환

1. XML의 입력
  TrAX : 여러 형태의 XML 데이터 입력을 처리할 수 있도록 고안됨

  Source interface 구현

  StreamSource source = new StreamSource("events.xml");

2. 변환 결과의 출력
  문서 변환의 결과는 문서 입력의 형식에 따라 여러 가지 형식을 가질 수 있으며,
  이러한 변환 결과의 출력을 위해 Result interface를 이용

  StreamResult result = new StreamResult("transform.html");

3. TransformerFactory
  문서의 변환을 위한 Transformer 객체를 생성하기 전에 TrasnformerFactory class를 이용한다.

  TransformerFactory transFactory = TransformerFactory.newInstance();

4. stylesheet의 선택
  Transformer 객체는 하나의 특정 stylesheet에 기반을 두고 있기 때문에,
  Transformer 객체를 생성하기 전에 문서 변환에 이용할 stylesheet를 지정해야 한다.

  StreamSource style = new StreamSource("style.xml");

  하지만, XML 문서내에 여러 종류의 stylesheet를 이용할 경우 문제가 되기 때문에 다음과 같이 수정한다.

  Source style = transFactory.getAssociatedStylesheet(source, null, null, null);

  getAssociatedStylesheet(StreamSource, media attribute, title attribute, charset attribute)
    : XML 문서 내 XSLT 처리 지시문의 media, title, charset attribute를 기반으로 stylesheet 문서를 선택할 수 있도록 한다.

5. Transformer 객체의 생성과 문서 변환
  TransformerFactory에서 Transformer 객체를 생성할 때는 문서 변환에 필요한 모든 규칙들을 포함하고 있는 stylesheet 문서를 Transformer 객체에 전달해야 한다.
  stylesheet를 지정하지 않을 경우 출력 결과는 입력 XML 문서와 동일한 문서가 된다.

  Transformer trans = transFactory.newTransformer(style);
  trans.transform(source, result);

# template과 parameter
  Templates 객체를 이용하여 여러 파일에 대해 문서 변환 수행시 Transformer를 미리 compile 시켜 두고 사용하면 처리 시간과 성능을 향상시킬 수 있다.

1. template 생성
  TrAX에서 template의 생성은 TransformerFactory와 Transformer 객체의 생성 과정 중간 단계에서 이루어진다.

  Templates template = transFactory.newTemplates(style);
  Transformer trans = template.newTransformer();

  template은 동일한 stylesheet를 이용해서 여러 번 문서 변환을 수행할 때 더 효과적이다.

2. parameter의 이용
  문서 변환 과정을 수행할 때 전달 가능한 값으로, 변환 결과에 영향을 미치게 된다.

  trans.setParameter("optionalChoice", "yes");

3. 다중 파일의 변환
  template과 parameter를 이용해서 여러 XML 파일을 효과적으로 변환하거나 하나의 XML 파일에 대해 여러 번 문서 변환을 수행할 수 있다.

  String outputFileName_opt = "transform_opt.html";
  String outputFileName_mand = "transform_mand.html";

  StreamResult result_opt = new StreamResult(outputFileName_opt);
  StreamResult result_mand = new StreamResult(outputFileName_mand);

  ...

  trans.setParameter("optionalChoice", "yes");
  trans.transform(source, result_opt);

  trans.setParameter("optionalChoice", "no");
  trans.transform(source, result_mand);

# 문서 변환과 SAX
  TrAX에서 SAX를 이용할 경우 추가적으로 고려해야 할 사항들
  - TrAX를 사용하기 전에 SAXSources와 SAXResults를 이용한다.
  - 문서 변환을 수행할 ContentsHandler를 작성하고, 이를 통해 입력 XML 문서를 파싱한다.
  - 문서 변환에 XMLFilters 객체를 사용할 수도 있다.

1. SAX 입력
  SAX 이벤트에 대한 소스를 생성하고 이를 문서 변환을 위한 입력으로 이용하기 위해 SAXSource 객체를 지정한다.

  XMLReader reader = XMLReaderFactory.createXMLReader();
  SAXSource source = new SAXSource(reader, new InputSource("inputFile.xml"));

  StreamResult result = new StreamResult("outputFile.xml");

  TransformerFactory transFactory = TransformerFactory.newInstance();
  Source style = transFactory.getAssociatedStylesheet(source, null, null, null);
  Transformer trans = transFactory.newTransformer(style);

  trans.transfor(source, result);

  입력 문서의 유효성 검증은 다음과 같이 가능하다.

  String featureId = "http://www.xml.org/sax/features/validation";
  reader.setFeature(featureId, true);

2. Transformer를 ContentsHandler로 이용
  Transformer를 Contentshandler로 명시적으로 선언

  StreamResult result = new StreamResult("outputFile.xml");

  TransformerFactory transFactory = TransformerFactory.newInstance();
  SAXTransformerFactory saxTransFactory = (SAXTransformerFactory)transFactory;

  TransformerHander trans = saxTransFactory.newTransformerHandler(style);
  trans.setResult(result);

  XMLReader reader = XMLReaderFactory.createXMLReader();

  reader.setContentHandler(trans);

3. SAX 출력
  문서 변환의 결과로 출력되는 SAX 스트림이 의미를 가지도록 하기 위해서는 이 SAX 스트림을 ContentsHandler에 전달해야 한다.

4. 연속된 문서 변환
 
  한 문서 변환 과정의 결과가 다른 문서 변환 과정의 입력으로 처리 되는 식의 연속된 처리 과정

  StreamSource style1 = new StreamSource("votes1.xsl");
  StreamSource style2 = new StreamSource("votes2.xsl");

  StreamResult result = new StreamResult("output.xml");

  TransformerFactory transFactory = TransformerFactory.newInstance();

  SAXTransformerFactory saxTransFactory = (SAXTransformerFactory)transFactory;

  TransformerHandler trans1 = saxTransFactory.newTransformerHandler(style1);
  TransformerHandler trans2 = saxTransFactory.newTransformerHandler(style2);

  trans1.setResult(new SAXResult(trans2));  // trans1에 대한 출력을 SAXResult로 trans2에 전달
  trans2.setResult(result);                 // trans2에 대한 출력을 result로 출력

  XMLReader reader = XMLReaderFactory.createXMLReader();
  reader.setContentHandler(trans1);
  reader.parse("xmlfile.xml");

5. SAX와 XMLFilter
  XMLFilter를 이용하여 연속된 문서 변환을 수행할 수도 있다.

  XMLFilter trans1 = saxTransFactory.newXMLFilter(style1);
  XMLFilter trans2 = saxTransFactory.newXMLFilter(style2)'

  TransformerHandler output = saxTransFactory.newTransformerHandler();
  output.setResult(result);

  trans1.setParent(reader);
  trans2.setParent(trans1);
  trans2.setContentHandler(output);

  trans2.parse("output.xml");

# stylesheet 문서 내에서의 프로그래밍

  stylesheet 문서 내에서 확장 함수나 element들을 생성할 수 있는 방법을 정의하고 있다.

1. 확장함수
  사용자 정의 함수를 이용하기 위해서는 새로운 namespace를 생성하여 XSLT 변환 엔진이 새로 정의된 함수를 인식할 수 있도록 해야 한다.

  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                  xmlns:lxslt="http://xml.apache.org/xslt"
      xmlns:results="http://www.example.com/results"
      extension-element-prefixes="results"
      version="1.0">
  <lxslt:component prefix="results" functions="addVote, getResults">
 <lxslt:script lang="javascript">
      var sparkle, dregraal;

   sparkle = 0;
   dregraal = 0;

   function addVote(thisVote) {
     if( thisVote.equals("Sparkle") ) {
     sparkle++;
     } else {
       dregraal++;
     }
     return null;
   }

   function getResults() {
     return "Sparkle : " + sparkle + " Dregraal : " + dregraal;
   }
    </lxslt:script>
  </lxslt:component>

'그거 > Tech' 카테고리의 다른 글

구조적 VS 객체지향적  (0) 2007.02.27
자바서비스넷의 기술자료 링크  (0) 2007.02.23
09. XSLT(eXtensible Stylesheet Language Transformations)  (0) 2007.02.20
08.XML Schema  (0) 2007.02.16
07.DTD(Document Type Definition)  (0) 2007.02.15
:
Posted by 뽀기
2007. 2. 22. 09:39

Daily English 2007.02.22 생활/영어2007. 2. 22. 09:39

전화메시지
1. 자기소개
  Hi! This is Becky calling from YBM in Korea.
2. 전화목적
  I'm calling to ask some questions concerning the program.
3. 상황설명
  We received the program last month but we found several mistakes in the program manual.
4. 요구사항
  So could you please let me know when I can get the new manual?
5. 연락처
  You can contact me from 9 to 10 by the number of 123-4567.

walk-in
=> of or pertaining to persons who walk into an office or store from the street without an appointment
=> Appointments are usually, required, but if you are injured or are too ill to wait for an appointment, you can be seen on a walk-in basis.

caterer
=> a person whose business is to provide food, supplies and service at social gatherings
=> A firm of caterers took care of her wedding party.

comparable
=> able to be compared; similar enough to allow comparison
=> If you do not handle a specific item on the list, but can provide an item comparable in color, design, and price, please provide a quote for that item.

designation
=> the act of putting a person into a non-elective position
=> A lot of cloak-and-dagger activity was involved in the designation of the director.

undoubtedly
=> Accepted as beyond question; undisputed
=> Due to the high quality of his work, Mr. Young will undoubtedly be promoted to Assitant Sales Manager next year.

occupational
=> relating of work
=> Many doctors, the report said, often have little or no experience with occupational health issues and as a result recommend that their patients take off work for longer that is necessary, which costs businesses money in lost productivity.

relish
=> a sauce or pickle which adds such a flavor to food
=> The cook is adding a relish to the dish.

comparably
=> in a comparable method
=> Oils and perfumes can be placed comparably on the skin or poured in baths.

'생활 > 영어' 카테고리의 다른 글

Daily English 2007.03.05  (0) 2007.03.05
Daily English 2007.02.28  (0) 2007.02.28
Daily English 2007.02.21  (0) 2007.02.21
Daily Englinsh 2007.02.20  (0) 2007.02.20
Daily English 2007.02.16  (0) 2007.02.16
:
Posted by 뽀기
2007. 2. 21. 16:39

Daily English 2007.02.21 생활/영어2007. 2. 21. 16:39

establishment
=> a place of business together with its employees, merchandise, equipment, etc.
=> There is an establishment where they sell used cloting Downtown.

first thing
=> before anything else
=> We were supposed to have those first thing this morning. What happend?

effortlessly
=> without effort or apparent effort
=> Sharpen your knives perfectly and effortlessly with EdgeMaster, the number one chefs' choice.

privileged
=> having a privile
=> As an ambassador, she enjoys a very privileged status.

fabricate
=> to make up something artificial or untrue. to put together out of components or parts
=> Compared to borosilicates, alumniosilicates are much more difficult to fabricate.
=> Automobiles are being fabricated in this factory.

concede
=> to admit to be true or correct
=> The government has conceded the new tax policy has been a disaster.

confide
=> to entrust someone(to someone's care). to place reliance on, trust
=> The director wants us to confide the management of our distribution network.
=> You can confide in his good faith

earnestly
=> marked by or showing deep sincerity or seiousness
=> I respect my parents earnestly.

A : Boss, actually, I didn't think it was appropriate to invite children to a New Year's party since there's alcohol and it's a school night.
B : why are you the way you are? Honestly, I try to do something fun, you always try to spoil it.
A : With all due respect, i still think I'm right on this one.
B : Good for you. I really hate your guts.

A : 사장님, 사실 아이들을 신년회에 초대하는 것은 적절하지 않다고 생각합니다.
    술도있고, 그리고 평일이라 아이들은 학교가야죠.
B : 도대체 왜 그러나? 솔직히, 내가 재미있거나 신나는 일을 하려고 할 때마다 넌 망쳐놓더라.
A : 죄송합니다만 이 문제는 제가 옳다고 생각합니다.
B : 잘났네, 당신 배짱이 정말 싫어.

Be sure to complete the last portion of the form, _______ it and keep it for future reference.
(A) write
(B) detach
(C) withdraw
(D) correspond

Because of the heavy traffic expected on the norgh-bound express way, the drivers are _____ to seek alternate routes.
(A) advising
(B) advisable
(C) advisory
(D) advised

advise : 당부하다, 권하다
  I advise you to visit the website to find out more information.
advise + 목적어 + to + V 의 수동형 => 목적어 + be advised


 

'생활 > 영어' 카테고리의 다른 글

Daily English 2007.02.28  (0) 2007.02.28
Daily English 2007.02.22  (0) 2007.02.22
Daily Englinsh 2007.02.20  (0) 2007.02.20
Daily English 2007.02.16  (0) 2007.02.16
◆ 원인/이유의 접속사  (0) 2007.02.15
:
Posted by 뽀기

# XSLT (eXtensible Stylesheet Language Transformations)
  XSL(XML Stylesheet Language)
   : CSS의 기능과 유사하게 XML 문서에 대한 style을 정의하고 적용할 때 사용하는 언어
  XSLT
   : XSL 표준을 구성하는 일부, XML 데이터를 변경할 때 필요한 '규칙'을 정의할 목적으로 고안됨.
   : 주로 XML 데이터를 HTML 페이지로 변환하여 이를 브라우저에 출력하는데 이용

# XSL, XSLT, XSL-FO
  XSLT : 문서의 변환 규칙을 정의하기 위한 언어
  XSL-FO : XSL, 즉 XML을 위한 stylesheet 정의 언어에서 이용될 formatting 객체를 정의하는 언어. 문서가 어떻게 꾸며져야 하는지 지정하기 위해 사용.

#. XSLT의 기본 구조

1. stylesheet 문서
  XSLT 문서는 transform element를 root로 하며, XSL에 대한 namespace와 하나 이상의 template 정보를 포함한다.

  <?xml version="1.0"?>
  <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  <xsl:template match="/">
    <html>
   <head><title>Thank you letter</title></head>
   <body>
   ...
   </body>
 </html>
  </xsl:template>
  </xsl:transform>

2. 값의 출력
  XSLT의 value-of element를 이용하여 프로세서를 통해 특정 정보 아이템을 출력할 수 있다.

# XPath의 개요

1. 자식과 후손 엘리먼트
  XPath는 XML 문서 내에 현재 방문중인 노드(context node)에서 이동하고자 하는 노드에 대한 위치 정보를 제공
  context node가 결정되면 다른 node로의 방문은 file system 이나 URL과 유사하다.

 <?xml version="1.0"?>
 <content>
  <events>
   <eventitem eventid="A335">
    <eventdate>6.20.3425</eventdate>
    <title>Making Friends With The Venusian Flu Virus</title>
    <description>Dr. Biff Mercury discusses his theory on coexisting with useful organism.</description>
   </eventitem>
   <eventitem eventid="B963" optional="no">
    <eventdate>6.21.3425</eventdate>
    <title>Putting the Manners in Bedside Manner</title>
    <description>Dr. Zingzowpowie, the famous xenoneurosurgen lectures on Bedside Manner and the benefits of using cold tentacles during a physical</description>
   </eventitem>
   <eventitem eventid="C934" optional="yes">
    <eventdate>6.25.3425</eventdate>
    <title>An evening of Fun</title>
    <description>This evening join us for the monthly "Identify that Food" contest.</description>
   </eventitem>
  </events>
  <news>
   <newsitem itemnum="1">
    <newsdate>6.18.3425</newsdate>
    <title>End of the line for the incumber?</title>
    <body>
     The Universal News Network is reporting that <person>His Magnificence The Supreme Leader For Life</person>
     announced today that he has decided not to be cloned for a 14th term.
    </body>
   </newsitem>
   <newsitem itemnum="2">
    <newsdate>6.19.3425</newsdate>
    <title>New Fall Lineup</title>
    <body>
     The Omega Channel has announced two new shows for its new fall lineup.
     <program>Who's Running the Galaxy?</program>
     features a team of government scientists who accidentally clone two Supreme Leaders.
     If you think you're confused, imagine what the first family must be going through.
     <program>Trading Species</program> follows two temas of aliens who trade species
     and have only 48 hours to adjust and fool their neighbors.
    </body>
   </newsitem>
  </news>
 </content>

  context node가 content node 라면
   - newsdate element로 이동하기 위한 XPath 표현식은 news/newsitem/newsdate 이다.
   - events/eventitem/eventdate와 같은 경우는 문서 내 모든 eventdate element를 지칭한다.
   - content//title 과 같은 경우는 eventitem element 또는 newsitem element의 자식 element인 title element 모두를 가리킨다.
  news node가 context node인 경우 newsdate element로 이동하기 위해서는 newsitem/newsdate 와 같이 표기할 수 있다.
  //title과 같은 경우는 root element의 모든 후손 element 중에서 title element를 가리킨다.

2. 문서의 root
  절대 경로를 지원한다.
  newsdate element는 /content/news/newsitem/newsdate 과 같이 표기할 수 있다.

  / 는 한 문서의 root 이며 content 는 이 문서의 root element 이다.

  content는 문서 root(/)의 자식 element(/content)로 표현된다.

3. attribute
  attribute를 element의 자식으로 취급하지 않는다.
  XPath에서의 attribute 표현은 @를 이용한다.

  news element가 context node일 경우 다음과 같이 표현할 수 있다.

  /content/events/eventitem@eventid
  /content//newsitem@newsid
  newsitem@newsid

4. 검색조건
  element들의 그룹에서 특정 기준을 만족하는 element만 추려낼 수 있는 필터
  XPath에서는 []를 이용하여 특정 조건을 기술할 수 있다.

  예)
  attribute 값이 C934인 eventid attribute를 가지는 eventitem element를 선택하는 경우
  /content/events/eventitem[@eventid='C934']

  [] 내의 텍스트는 검색 대상과 검색 조건을 타나내며, 검색 조건읜 괄호 내 오른쪽에 표기한다.

  이 표현식의 처리 결과는 element 목록을 반환한다.

  문서내에서 특정 element에 대한 정보의 존재 유무를 확인하려면 다음과 같이 사용한다.

  /content/events/eventitem[@eventid]

# template
  XSLT 문서에서 모든 변환 과정은 하나 이상으 template으로 정의, 실행된다.
  template은 입력 문서에서 변환할 부분을 선택하고 출력 형식을 정의한다.

1. template의 생성
 
  <?xsml version="1.0"?>
  <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  <xsl:template match="/content/events/evenetitem">
    <h2>An event title</h2>
 <h3>(Date</h3>
 <p>An event description</p>
 <hr/>
  </xsl:template>
  <xsl:template match="/content/news">
  </xsl:template>
  </xsl:transform>

  match attribute는 template이 처리할 노드나 노드들을 지정하는데 이용된다.
  eventitem element를 방문할 때 마다 정보를 변환하여 출력한다.

2. template의 적용
  stylesheet에서는 하나의 template으로 문서를 변환하는 것보다 여러 개의 template으로 입력XML 문서의 정보들을 단계적으로 처리하는 것이 더 효과적이다.

 <xsl:template match="/">
  <xsl:apply-templates/>
 </xsl:template>

 <xsl:template match="/content/events/eventitem/title">
  <h2><xsl:value-of select="."/></h2>
 </xsl:template>

 <xsl:template match="/content/events/eventitem/eventdate">
  <h3>(<xsl:value-of select="." />)</h3>
 </xsl:template>

 <xsl:template match="/content/events/eventitem/description">
  <p><xsl:value-of select="."/></p>
  <hr/>
 </xsl:template>
  apply-templates element를 이용해서 stylesheet에 정의된 다른 template을 적용할 수 있다.

  아래와 같이 하면 각 element의 순서를 입력문서에 나타나는 순서로 맞출 수 있다.

 <xsl:template match="/content/events/eventitem">
  <xsl:apply-templates select="title"/>
  <xsl:apply-templates select="eventdate"/>
  <xsl:apply-templates select="description"/>
  <hr/>
 </xsl:template>

 <xsl:template match="title">
  <h2><xsl:value-of select="."/></h2>
 </xsl:template>
 <xsl:template match="eventdate">
  <h2><xsl:value-of select="."/></h2>
 </xsl:template>
 <xsl:template match="description">
  <h2><xsl:value-of select="."/></h2>
 </xsl:template>

3. 내장 template
  template 규칙이 정의되지 않은 영역에 대해 내부적으로 적용되는 template을 내장 template으로 정의한다.

# 컨텐츠의 생성

1. 동적 element
  element element를 이용하여 생성할 수 있다.

  <xsl:template match="title">
    <xsl:element name="h2">              --+
   <xsl:value-of select="."/>           +- <h2><xsl:value-of select="title"/></h2> 와 같은 표현
 </xsl:element>                       --+
  <xsl:template>

  =>

  <h2>Making Friends with... </h2>

2. 동적 attribute
 element element로 생성한 element에 attribute를 추가하기 위해서는 attribute element를 이용한다.

  <xsl:template match="title">
    <xsl:element name="h2">
      <xsl:element name="a">
        <xsl:attribute name="href">register.php?event=<xsl:value-of select="../@eventid"/></xsl:attribute>
        <xsl:value-of select="."/>
      </xsl:element>
    </xsl:element>
  </xsl:template>

  =>

  <h2><a href="register.php?event=A335">Making Friedns ...</a></h2>

3. XML에서 XML로의 변환
  XLST는 XML 문서를 다른 문서 구조를 가지는 XML 문서로 변환하기 위해 이용할 수 있다.

  <xsl:template match="/">
    <schedule>
   <xsl:apply-templates />
 </schedule>
  </xsl:template>

  <xsl:template match="content/events/eventitem">
    <xsl:element name="action">
   <xsl:attribute name="optinal"><xsl:value-of select="@optional"/></xsl:attribute>
   <title><xsl:value-of select="title"/></title>
 </xsl:element>
  </xsl:template>

  =>

  <!-- If an event is not explicitly marked as "optional", then it's mandatory -->

4. 주석문의 추가
  comment element를 이용한다.

  <xsl:comment>If an event is not explicitly marked as "optional", then it's mandatory</xsl:comment>

5. 처리 지시문
  XSLT를 이용해 문서 변환을 수행하는 application이 처리 지시문을 보려 할 경우, 이를 template에 직접 추가할 수는 없으나 명시적으로 생성할 수는 있다.

  <xsl:template match="content/events/eventitem">
    <xsl:processing-instruction name="updateSched">id="<xsl:value-of select="@eventid"/>"</xsl:processing-instruction>
 ...
  </xsl:template>

  =>

  <?updateSched id="A335'?>

6. 데이터의 정렬
  sort element를 제공

  <xsl:template match="/">
    <schedule>
   <xsl:comment>If an event is not explicitly marked as "optional", then it's mandatory</xsl:comment>
   <xsl:apply-templates select="content/events/eventitem">
     <xsl:sort select="eventdate" order="descending"/>
   </xsl:apply-templates>
 </schedule>
  </xsl:template>

7. 반복문의 생성
  for-each element를 이용

  <xsl:template match="/">
    <xsl:for-each select="eventitem">
   <xsl:apply-templates select="title"/>
 </xsl:for-each>
  </xsl:template>

8. copy-of와 value-of
  value-of : 해당 element의 값
  copy-of : element의 값 뿐만 아니라 element나 attribute를 포함한 node 집합의 전체 구조

  노드의 복사(eventitem element 단위로 출력 문서를 작성)
    <?xml version="1.0"?>
 <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
   <xsl:template match="content/events/eventitem">
     <xsl:copy-of select="."/>
   </xsl:template>
 </xsl:trasnform>

# 변수와 파라미터

1. named template
  template을 적용할 대상을 match attribute로 지정하지 않으며, template의 이름만 지정.
  이 template은 call-template element로 직접 적용한다.

  <xsl:template match="/content/events">
    <xsl:call-template name="eventTemplate"/>
  </xsl:template>

  <xsl:template name="eventTemplate">
    <xsl:for-each select="eventitem">
   <xsl:apply-templdate select="title"/>
   <xsl:apply-templdate select="eventdate"/>
   <xsl:apply-templdate select="description"/>
 </xsl:for-eachL
  </xsl:template>

  <xsl:template match="title">
  ...
  </xsl:template>
  ...

2. parameter
  parameter를 미리 정의하고 이를 나중에 참조할 수 있다.
  param element를 이용해 parameter를 생성한다.
  문서에서 parameter를 참조할 때 parameter의 이름 앞에 $ 기호를 붙인다.

  <xsl:param name="optionalChoice" select="'no'"/>

  <xsl:for-each select="eventitem[@optional=$optionalChoice]">
  ...
  </xsl:for-each>

3. named template and parameter
  template을 호출할 때 parameter를 설정할 수 있다.

  <xsl:call-template name="eventTemplate">
    <xsl:with-param name="isOptional"><xsl:value-of select="$optionalChoice"/></xsl:with-param>
  </xsl:call-template>
  <xsl:call-template name="eventTemplate">
    <xsl:with-param name="isOptional"><xsl:value-of select="$optionalChoice"/>x</xsl:with-param>
  </xsl:call-template>

  ...

  <xsl:template name="eventTemplate">
    <xsl:param name="isOptional" select="'no'"/>
 <xsl:for-each select="eventitem[@optiona=$isOptional]">
   <xsl:apply-templates select="title"/>
   ...
 </xsl:for-each>
  </xsl:template>
  </xsl:call-template>

4. 변수
  parameter와 다르게 사용된 이후에 새로운 값으로 설정이 가능하다.

  변수 정의의 문법
  1. select attribute를 이용해 변수 값을 직접 설정할 수 있다.
  2. variable element의 contents를 설정함으로써 변수 값을 설정할 수 있다.

  <xsl:variable name="optionalChoiceValue" select="$optionalChoice"/>
  <xsl:call-template name="eventTemplate">
    <xsl:with-param name="isOptional"><xsl:value-of select="$optionalChoiceValue"/></xsl:with-param>
  </xsl:call-template>

# 흐름제어
  XSLT는 변환 엔진이 어떤 template을 처리해야 하는지 명시할 수 있도록 흐름 제어 기능을 제공한다.

1. if-then element

if element는 명령어 치리를 위한 조건을 가질 수 있도록 test attribute를 갖는다.
  <xsl:element name="div">
    <xsl:if test="$isOptional='no'">
   <xsl:attribute name="style">color:red</xsl:attribute>
    </xsl:if>
 ...
  </xsl:element>

2. choose element
  if element를 이용하여 처리할 수 없는 else 문제 해결
  choose element는 잘 구성된 element들로 표현되는 분기 조건들을 담을 수 있는 container를 제공.
  하나 이상의 when element를 포함.
  when element는 if element와 유사한 동작 수행.
  otherwise element를 통해 when 문장들을 참으로 만족시키지 않는 다른 모든 조건들을 처리할 수 있도록 함.

  <xsl:call-template name="eventTemplate">
    <xsl:with-param name="isOptional">
   <xsl:value-of select="$optionalChoice"/></xsl:with-param>
  </xsl:call-template>

  <xsl:choose>
    <xsl:when test="$optionalChoice='yes'">
   <xsl:call-template name="eventTemplate">
     <xsl:with-param name"isOptional">no</xsl:with-param>
 </xsl:when>
    <xsl:when test="$optionalChoice='no'">
   <xsl:call-template name="eventTemplate">
     <xsl:with-param name"isOptional">yes</xsl:with-param>
 </xsl:when>
 <xsl:otherwise>
   <!-- If a yes or no value was not originally specified, assume it should have been no. That means the opposite is yes. -->
   <xsl:call-template name="eventTemplate">
     <xsl:with-param name="isOptional">yes</xsl:with-param>
   </xsl:call-template>
 </xsl:otherwise>

# 출력 모드의 설정
  mode attribute를 이용하여 어떤 template이 이용되어야 하는지 그리고 어떤 template이 처리되어야 하는지 지정할 수 있다.

  ...
  <xsl:apply-templates select="eventitem[$optional='no']" mode="no"/>
  ...

  <xsl:template match="eventitem" mode="yes'>
    <xsl:element name="div">
 ...
 </xsl:element>
  </xsl:template>

  ...

'그거 > Tech' 카테고리의 다른 글

자바서비스넷의 기술자료 링크  (0) 2007.02.23
10. XML 문서의 변환과 응용  (0) 2007.02.22
08.XML Schema  (0) 2007.02.16
07.DTD(Document Type Definition)  (0) 2007.02.15
06. XML 문서에 대한 유효성 검증  (0) 2007.02.15
:
Posted by 뽀기
전기세 미납 확인 절차.

 

1.       한국전력 사이버 빌링 전화 상담번호  :  국번없이  123  통화

 

2.       “41 를 눌러  상담원 연결함.
 
음성안내가 나오지만, 세입자의 전기요금 고객번호를 알 수 없으므로  상담원과 직접   집 주소를 이용하여  미납 여부를  확인 한다.

 

3.       상담원에게  본인은 집 주인이고 세입자가 이사 예정이라고  말을 하면

무리 없이  안내 해줌. 그리고,  매월 납부한 전기세가 얼마인지도 문의 하여

세입자의 재정 상태도  조금이나마 파악 할 수 있음.

 

본인의 예) 낙찰 받은 주소의 집 주인이라고 전화하고, 확인 결과

824일날  지난 3개월치를 납부 하였다고 함.  이때 추가로, 3개월치 전기세가 얼마인지 물어 봄. 3개월치 180,300원 이라고 하니 , 2개 빌라에서 전기세를 많이 사용하고 있음을 알 수있고,  세입자의 재정 상태가 힘들어 보임.

 

    도시가스비 미납 확인 절차.

 

  1. 해당 지역 도시가스  고객 센터 전화 번호 확인 함.
           고객센터전화번호 확인방법
.
           예)  서울도시가스 고객센터 안내 전화 번호 웹사이트 주소
.
          
http://www.seoulgas.co.kr/webpage/scervice/sc_Local.jsp

    2.       통화 하여,  해당 주소로 미납 요금 확인하면 됨.

 

 

 상수도 요금 미납 확인 절차

 

1.       국번 없이 121번>16번으로 전화 하여,  상담원에게  해당 주소지 미납요금 담당자와 연결 요청함.

 

2.        해당 주소지의 상수도 요금 미납 확인함(불광1동 수도세는 2달에 한번 매달 홀수달 6일에 검침하고 난후 17~22일 사이에 고지서가 집으로 날라온다.)

:
Posted by 뽀기
2007. 2. 20. 09:50

Daily Englinsh 2007.02.20 생활/영어2007. 2. 20. 09:50

portfolio
=> a list of the investments or securities held by an individual, company, etc
=> They are with large portfolios.

trade
=> buying and selling at an international level. to buy and sell; to engage in trading
=> When you're in the kind of trade I'm in, you have to live by your wits.
=> Over-the counter stocks of our company are traded on two European exchanges at the moment.

costs
=> expenses
=> To reduce consts, the brochures will be printed on recycled paper.

corner office
=> a luxury building with a great view
=> A local real estate developer plans to break ground on a corner office building in the heart of downtown in the next sixty days.

tie-up
=> a temporary stoppage or slowing of traffic, telephone service, etc., as due to an accident of storm
=> Aubomobile accidents often cause trafic tie-ups

must-have
=> something needed or truly desirable
=> A must-have for highway engineers, roadway safety planners, and transportation officials.

outward
=> away from the centre
=> The weather during our outward journey was beautiful.

scold
=> to reprimand or rebuke
=> The women are scolding a student.

conservation
=> the act of conserving; the state of being conserved
=> The Metropolitan Wildlife Conservation Park is home to more than 4,000 animals, including some of the world's most endangered or threatened species.

다음 중 틀린 문장은?
a : Paula said that she didn't like the car.
b : Don'say you're leaving
c : Tell me about your family.
d : What did he say you?
    => What did he say to you?
e : Do you know what he did last night?
f : I don't remember whether I met him at the party.
g : Could you tell me where is she?
    => Could you tell me where she is?
h : Do you remember if he was there?

친구들로부터 들은 말을 다른 사람에게 옮긴 것이다. 틀린 것은?
a ) Rosa : I've never been to Paris.
    => Rosa said she had never been to Paris.
b ) Ben :"You look tired"
    => Ben said you look tired
 => Ben said I look tired.
c ) Mark : "My father quit smoking"
    => Mark said his father quit smoking.
d ) Kelly : I'm going to buy a car.
    => Kelly said she was going to buy a car.

The report identifies our competitors and characterizes their offerings, market share, pricing, distribution, and promotion strategies.
Officials see no reason for which the sale cannot go through as planned.
Special liners under the landfill prevent soil or groundwather comtamination.
The department will process your order in two to four weeks.

contaminate : 오염시키다
contamination : 오염
liner : (마멸 방지용)임힙쇠, 덧쇠
landfill : 쓰레기 매립지
groundwater : 지하수
go through : (일이 무사히)끝나다
as planned : 계획대로
go up : 오르다
go backward : 퇴보하다
offering : 팔 물건
distribution : (상품의)판매, 유통
substance : 물질

'생활 > 영어' 카테고리의 다른 글

Daily English 2007.02.22  (0) 2007.02.22
Daily English 2007.02.21  (0) 2007.02.21
Daily English 2007.02.16  (0) 2007.02.16
◆ 원인/이유의 접속사  (0) 2007.02.15
◆ 목적/결과/양태/제한의 접속사  (0) 2007.02.15
:
Posted by 뽀기
2007. 2. 16. 16:58

보험 - 보험업법 및 모집질서 생활/정보2007. 2. 16. 16:58

   

1. 보험사업과 보험감독

  a. 보험업의 특성
    - 공공성
 - 사후확정성
 - 복잡한 보험수리기법 사용 등의 전문성
 - 보험이익의 사후 정산
 
  b. 보험감독의 필요성
    - 보험계약자의 보호
 - 보험사업의 건전성 유지
 - 국민 경제적 기능의 확보

  c. 보험사업의 감독방법
    - 공시주의
 - 준칙주의
 - 실질적 감독주의

2. 보험업법의 성격 및 목적

  a. 목적
    - 보험계약자/피보험자등의 권익보호
 - 보험산업의 건전한 육성
 - 국민경제의 균형있는 발전
 - 보험사업의 효울적 지도 및 감독

  b. 성격
    - 보험사업의 공공성을 감안하여 특별한 규제와 감독을 하기 위한 법규

  c. 보험사업의 영위
    - 보험사업의 허가
   금융감독위원회의 허가를 받아야 한다.
 - 손해보험업과 생명보험업을 겸영하지 못한다.
   예외) 생명보험의 재보험 및 제3보험의 재보험
         연금저축손해보험, 퇴직보험
   제3보험(상해,짋령,간병보험 등)의 보험종목에 부가되는 보험
      자회사를 통한 진출은 가능함

3. 보험 모집질서
  a. 모집할 수 있는 자
    . 보험설계사
 . 보험대리점
 . 보험중개사
 . 보험회사의 임원(대표이사,사외이사,감사 및 감사위원 제외) 또는 직원
 . 보험대리점 또는 보험중개사의 임원 또는 사용인으로서 모집에 종사할 자로 신고된 자

  b. 보험설계사의 등록
    . 보험 모집에 관한 연수 과정 이수 후 손해보험협회에서 주관하는 보험설계사 자격시험에 합격한 자
 . 보험관계업무에 1년 이상 종사한 경력이 있는 자


4. 모집질서 실무
  a. 3대 기본 지키기
    - 보험 약관 교부 및 주요 내용 설명
 - 청약서 자필 서명
 - 청약서 부본 전달

  b. 부실계약의 의의
    - 작성계약 : 도명 또는 가명계약(실명 가공계약 포함)
 - 부실계약 : 작성계약 + 부실모집계약
   . 실명확인증표 미부착
   . 청약서 기재사항 누랑
   . 대필서명
   . 3대 기본질서지키기 미실시
   . 계약자 서명날인 및 실명확인필 누락

  c. 통신 수단을 통한 보험상품 판매지침
    우편, 전화, 무인자동판매기, 인터넷 등 정보통신매체를 통하여 보험상품을 판매.

 . 보험안내자료에는 해당 보험회사나 보험대리점 등의 상호, 명칭을 반드시 기재해야 함
 . 정보통신에 의한 모집을 할 수 있는 자
   보험회사 임직원, 대리점, 설계사, 중개사 등의 자격을 갖추어야 함(보험회사의 대표이사, 감사, 사외이사는 제외)

  d. 손해보험 관련 기관/단체
    - 손해보험 관련기관
   . 금융감독위원회
   . 금융감독원
 - 손해보험 관련단체
   . 손해보험협회
   . 보험개발원
   . 보험연수원
 - 보험계리 및 손해사정

:
Posted by 뽀기
2007. 2. 16. 16:30

08.XML Schema 그거/Tech2007. 2. 16. 16:30

# XML Schema의 구조
  XML Schema는 그 자체가 XML 문서이며, XML과 동일한 문법을 이용한다.

1. 기본구조
  <schema> root element와 namespace 선언을 갖는다.

  <?xml version="1.0" encoding="EUC-KR"?>
  <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  </xs:schema>

2. system에 문서 정보의 제공

  스키마에 대한 정보를 문서화하는 표준화된 방법을 제공.
  스키마를 처리하는 application이 이 정보를 처리.

  <?xml version="1.0" encoding="EUC-KR"?>
  <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:annotation>
   <xs:documentation>
     이 문서는 그룹 목록에 대한 스키마를 설명한다.
   </xs:documentation>

   <xs:appinfo>
     <config xmlns="http://www.example.com/externalapp">
    <customertype>pop culture</customertype>
    <destination id="I43"/>
  </config>
   </xs:appinfo>
 </xs:annotation>
  </xs:schema>

3. 스키마 문서의 사용

  스키마 문서(XML문서에 대한 XML Schema가 정의되어 있는 문서) - 인스턴스 문서(XML 문서)

  <?xml version="1.0" encoding="EUC-KR"?>
  <collection xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                    xsi:noNamespaceSchemaLocation="collectibles.xsd">
  </collection>

# 단순 element

  XML Schema에서는 <element> element로 element를 정의.
  element에 data type을 지원할 수 있다.(현재 44개의 내장 data type 지원)

  <xs:element name="description" type="xs:string"/>
  <xs:element name="originDate" type="xs:date"/>
  <xs:element name="numOwners" type="xs:positiveInteger"/>

1. 내장 data type
  . 문자열 : string, normalizedString, token
  . 정수   : byte, unsignedByte, integer, positiveInteger, negativeInteger, nonNegativeInter, nonPositiveInteger, int, unsignedInt, long, unsignedLong, short, unsignedShort
  . 소수   : float, double
  . boolean : Boolean
  . 날짜/시간 : gMonth, gYear, gYearMonth, gDay, gMonthDay, duration, time, dateTime, date
  . binary    : base64Binary, hexBinary
  . DTD 호환성 : attribute만 사용 가능. ID, IDREF, IDREFS, ENTITY, ENTITIES, NOTATION, NMTOKEN, NMTOKENS
  . namespace 연관 : QName, NCName
  . 그 외 : anyURI, lang, Name

2. 고정값과 기본값
 
  <xs:element name="obtainable" type="xs:string" fixed="yes"/>
  <xs:element name="originalOwner" type="xs:string" default="unknown"/>

  변환과정
    <obtainable/> => <obtainable>yes</obtainable>
    <originalOwner/> => <originalOwner>unknown</originalOwner>

  일반 entity를 대체하여 이용되는 경우
    <xs:element name="copy" fixed="@"/>

    <rights>Copyright <copy/>2003</rights>


# 복합 element
  element내에 element가 포함되는 경우를 복합 타입으로 간주.

1. 자식 element의 정의

  <?xml version="1.0" encoding="EUC-KR"?>
  <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="obtainable" type="xs:string" fixed="yes"/>
    <xs:element name="originalOwner" type="xs:string" default="unknown"/>

   <xs:element name="collection">
     <xs:complexType>
    <xs:sequence>   <- element들이 순서대로 나타나야 한다. <xs:all> 로 하면 임의의 순서로 나타난다.
      <xs:element name="toys" type="xs:string"/>
      <xs:element name="furniture" type="xs:string"/>
      <xs:element name="pottery" type="xs:string"/>
      <xs:element name="autographs" type="xs:string"/>
      <xs:element name="advertising" type="xs:string"/>
    </xs:sequence>
  </xs:complexType>
   </xs:element>
  </xs:schema>

  <?xml version="1.0" encoding="EUC-KR"?>
  <collection xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                    xsi:noNamespaceSchemaLocation="collectibles.xsd">

    <toys></toys>
 <furniture></furniture>
 <pottery></pottery>
 <autographs></autographs>
 <advertising></advertising>
  </collection>

  자식 element의 선택
    <?xml version="1.0" encoding="EUC-KR"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
      <xs:element name="obtainable" type="xs:string" fixed="yes"/>
      <xs:element name="originalOwner" type="xs:string" default="unknown"/>

        <xs:element name="collection">
          <xs:complexType>
            <xs:choice>    <- DTD에서의 '|'와 같은 기능
              <xs:element name="toys" type="xs:string"/>
              <xs:element name="furniture" type="xs:string"/>
              <xs:element name="pottery" type="xs:string"/>
              <xs:element name="autographs" type="xs:string"/>
              <xs:element name="advertising" type="xs:string"/>
            </xs:choice>
          </xs:complexType>
        </xs:element>
    </xs:schema>

2. 출연 횟수의 제어
  minOccurs와 maxOccurs attribute를 사용하여 특정 element의 출현 횟수를 제어할 수 있다.
  sequence, choice, all element와 minOccurs, maxOccurs attribute를 적절히 취합하여 구성가능

  <xs:element name="previousOwner" type="xs:string" minOccurs="0" maxOccurs="5"/>

  <xs:element name="collection">
    ...
    <xs:choice minOccurs="1" maxOccurs="unbounded">
    </xs:choice>
  </xs:element>

3. 혼합 contents
  complexType element에 mixed attribute를 사용.

  <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="collection">
    <xs:complexType mixed="false">
   <xs:choice minOccurs="1" maxOccurs="unbounded">
     <xs:element name="toys">
    <xs:complexType>
      <xs:sequence>
     <xs:element name="previousOwner" type="xs:string" minOccurs="0" maxOccurs="5"/>
     <xs:element name="description"
       <xs:complexType mixed="true">
      <xs:choice maxOccurs="unbounded">
        <xs:element name="condition" type="xs:string"/>
     <xs:element name="brand" type="xs:string"/>
     <xs:element name="tradeName" type="xs:string"/>
      </xs:choice>
    </xs:complexType>
     <xs:element>
   </xs:sequence>
    </xs:complexType>
  </xs:element>
      </xs:choice>
 </xs:complexType>
  </xs:element>
  </xs:schema>

4. anyType
  DTD의 ANY 타입 element와 동일한 기능을 수행하며, anyType으로 선언된 element는 contents model에 어떤 text 값도 가질 수 있다.

  <xs:element name="condition" type="xs:string"/>
  <xs:element name="brand" type="xs:string"/>
  <xs:element name="tradeName" type="xs:string"/>
  <xs:element name="collection">
    <xs:element name="description" type="xs:anyType"/>
  </xs:element>

  description이 anyType으로 설정되어있기 때문에
  description element 외부에 선언되어 있는 condition, brand, tradeName element를 자식 element로 가질 수 있다.

# 미리 정의된 element 들의 참조

  element에 대한 참조

  <xs:element name="condition" type="xs:string"/>

  ref attribute를 이용해서 참조
  <xs:element name="item">
    <xs:complexType>
   <xs:sequence>
     <xs:element ref="condition" minOccurs="0" maxOccurs="5"/>
   </xs:sequence>
 </xs:complexType>
  </xs:element>

  참조되는 element들의 fixed, default attribute 등은 element 선언 내에서 정의되며,
  minOccurs, maxOccurs attribute는 element를 참조하는 위치에서 정의된다.
  전역으로 정의된 element를 참조 형식으로 이용하는 경우 element 선언의 재사용이 가능하다.

1. 범위의 설정
  동일한 이름을 갖는 element는 상위 element의 범위 내에서만 유효하다.

  전역 선언된 item element와 pottery element 내부에 선언된 item element가 있을 경우
  pottery element 내부에 선언된 item element에 material 이라는 element를 하나 추가할 경우
  material element를 갖는 item element는 pottery element 내부에서만 유효하다.

2. element group의 설정
 
  <xs:group name="itemCommon">
    <xs:sequence>
   <xs:element ref="previousOwner" minOccurs="0" maxOccurs="5"/>
   <xs:element ref="description"/>
   <xs:element ref="originDate"/>
   <xs:element ref="numOwners"/>
   <xs:element ref="obtainable"/>
   <xs:element ref="originalOwner"/>
 </xs:sequence>
  </xs:group>

  <xs:element name="item">
    <xs:complexType>
   <xs:sequence>
     <xs:group ref="itemCommon"/>
   </xs:sequence>
 </xs:complexType>
  </xs:element>
  ....
  <xs:element name="pottery">
    <xs:complexType>
   <xs:sequence>
     <xs:element name="item" minOccurs="0" maxOccurs="unbounded">
    <xs:complexType>
      <xs:sequence>
     <xs:group ref="itemCommon"/>
     <xs:element name="material" type="xs:string"/>
   </xs:sequence>
    </xs:complexType>
  </xs:element>
   </xs:sequence>
 </xs:complexType>
  </xs:element>

# attribute의 정의

  attribute element를 통해 선언

  <xs:element name="item">
    <xs:complexType>
   <xs:sequence>
     <xs:group ref="itemCommon"/>
   </xs:sequence>
   <xs:attribute name="itemid" type="xs:integer"/>
   <xs:attribute name="keeper" type="xs:integer"/>
   <xs:attribute name="demand" type="xs:integer"/>
   <xs:attribute name="legal" type="xs:integer"/>
 </xs:complexType>
  </xs:element>

  XML schema의 모든 내장 data type을 이용할 수 있다.

1. attribute의 속성 결정

  DTD        : #REQUIRED #IMPLIED #FIXED
  XML schema : use, default, fixed

  <xs:attribute name="itemid" type="xs:integer" use="required"/>
  <xs:attribute name="keeper" type="xs:string" default="yes"/>
  <xs:attribute name="demand" type="xs:string" use="optional"/>
  <xs:attribute name="legal" type="xs:string" fixed="yes"/>

  use, default, fixed는 attribute 선언에서 함께 사용될 수 없다.

2. attribute의 전역 선언과 attribute group

  <xs:attribute name="itemid" type="xs:integer"/>
  <xs:attribute name="keeper" type="xs:string"/>
  <xs:attribute name="demand" type="xs:string"/>
  <xs:attribute name="legal" type="xs:string"/>

  ref를 이용하여 참조한다.
  <xs:attribute ref="itemid" use="required"/>

  attribute의 group의 선언에서 group에 포함될 attribute들은 미리 선언되어 있어야 한다.
  <xs:attribute name="itemid" type="xs:integer"/>
  <xs:attribute name="keeper" type="xs:string"/>
  <xs:attribute name="demand" type="xs:string"/>
  <xs:attribute name="legal" type="xs:string"/>

  <xs:attributeGroup name="itemAtts">
    <xs:attribute ref="itemid" use="required"/>
    <xs:attribute ref="keeper" default="yes"/>
    <xs:attribute ref="demand" use="optional"/>
    <xs:attribute ref="legal" fixed="yes"/>
  </xs:attributeGroup>

  attribute group의 사용
  <xs:element name="item">
    <xs:complexType>
   <xs:sequence>
     <xs:group ref="itemCommon"/>
   </xs:sequence>
      <xs:attributeGroup ref="itemAtts"/>
 </xs:complexType>
  </xs:element>

# 새로운 타입의 생성
  내장 data type 외에 새로운 type을 사용자가 정의할 수 있다.
  범위 값 등 단순한 것부터 element와 attribute 들을 포함하는 계층 구조 같은 복잡한 type도 가능.

1. 이름이 부여된 type
  복합 type을 선언하고, 이 선언에 대해 이름을 부여

  <xs:complexType name="itemType">
    <xs:sequence>
   <xs:group ref="itemCommon"/>
 </xs:sequence>
 <xs:attributeGroup ref="itemAtts"/>
  </xs:complexType>

  ...

  <xs:element name="item" type="itemType" minOccurs="0" maxOccurs="unbounded"/>

2. 제약 사항의 부여
  내장 data type에 여러가지 제약 사항을 추가함으로써 새로운 type을 생성할 수 있다.

  <xs:simpleType name="USCurrency">
    <xs:restriction base="xs:decimal>
   <xs:fractionDigits value="2"/>
 </xs:restriction>
  </xs:simpleType

  <xs:element name="originalPrice" type="USCurrency"/>

  XML schema에서 제공하는 facet
  minInclusive     : 수의 최소값. 이상
  minExclusive     : 초과해야 하는 최소값. 초과
  maxInclusive     : 수의 최대값
  maxExclusive     : 미만이어야 하는 최대값
  totalDigits      : 소수점 앞,뒷자리를 포함한 수의 전체 자릿수 지정
  fractionDigits   : 소수점 뒷자리 수 지정
  length           : 값의 길이 지정
  minLength        : 문자형 데이터의 최소 길이
  maxLength        : 문자형 데이터의 최대 길이
  pattern          : 문자열 정보에 대한 정규 표현식
  enumeration      : 나열형 데이터에 대한 표기
  whiteSpace       : line feed, tab, carriage return 같은 특수 문자 처리. preserve(그대로), replace(한 개의 공백으로 대체), collapse(여러 개의 공백으로 대체)

  - 나열형 타입
    element와 attribute에 대한 선택을 제한

    <xs:attribute name="demand">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="low"/>
          <xs:enumeration value="medium"/>
          <xs:enumeration value="high"/>
          <xs:enumeration value="money is no object"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>

    demand attribute의 값은 low, medium, high, money is no object 중 하나만 선택되어야 한다.

  - List 타입
    공백으로 구분되는 여러 개의 값을 포함할 수 있다.

 <xs:simpleType name="possibleOutlets">
   <xs:restriction base="xs:string">
     <xs:enumeration value="oBoy"/>
     <xs:enumeration value="YoHoo!"/>
     <xs:enumeration value="ConJunction"/>
     <xs:enumeration value="Anazone"/>
   </xs:restriction>
 </xs:simpleType>

 <xs:simpleType name="outletList">
   <xs:List itemType="possibleOutlets"/>
 </xs:simpleType>

 <xs:simpleType name="outlets">
   <xs:restriction base="outletList">
     <xs:maxLength value="3"/>
      </xs:restriction>
 </xs:simpleType>


 <item itemid="1">
   ....
   <outlets>oBoy Yoohoo!</outlets>
 </item>

3. 확장을 통해 단순 타입에 attribute 추가
 
  <xs:element name="originalOwner">
    <xs:complexType>                                            <- element를 갖고 있기 때문에 복합타입으로 contents model 선언
   <xs:simpleContent>                                        <- 자식 element 없이 text 정보만을 가는 단순 컨텐츠만 취한다
     <xs:extension base="xs:string">
    <xs:attribute name="confirmed" default="no"/>
  </xs:extension>
   </xs:simpleContent>
 </xs:complexType>
  </xs:element>

# custom type 의 유도
  custom type의 확장

  <xs:complexType name="itemType">
    <xs:sequence>
 ...
    </xs:sequence>
  </xs:complexType>

  <xs:complexType name="potteryItemType">
    <xs:complexContent>
   <xs:extension base="itemType">                           <- itemType을 상속
     <xs:sequence>
    <xs:element name="material" type="xs:string"/>       <- element 하나 추가
  </xs:sequence>
      </xs:extension>
 </xs:complexContent>
  </xs:complexType>

  ...

  <xs:element name="item" type="potteryItemType" minOccurs="0" maxOccurs="unbounded"/>

  ...

1. 제약을 통한 타입의 유도

  복합 타입에 대한 제약 사항의 부여
  <xs:complexType name="advertisingItemType">
    <xs:complexContent>
   <xs:restriction base="itemType">
     <xs:sequence>
    <xs:element href="previousOwner" minOccurs="0" maxOccurs="unbounded"/>
  </xs:sequence>
   </xs:restriction>
 </xs:complexContent>
  </xs:complexType>

  ...

  <xs:element name="item" type="advertisingItemType" minOccurs="0" maxOccurs="unbounded"/>

  ...


  제약과 확장
  <xs:complexType name="autographRestrictType">
    <xs:complexContent>
   <xs:restriction base="itemType">
     <xs:sequence>
    <xs:element ref="previousOwner" minOccurs="5" maxOccurs="5"/>
    ...
    <xs:element name="lastPrice" type="USCurrency"/>
  </xs:sequence>
   </xs:restriction>
 </xs:complexContent>
  </xs:complextType>

  <xs:complexType name="autographItemType">
    <xs:complexContent>
   <xs:extension base="autographRestrictType">                <- autographRestrictType을 상속 받음
     <xs:sequence>
    <xs:element name="description" type="xs:string"/>      <- description, personFirst element 추가
    <xs:element name="personFirst" type="xs:string"/>
  </xs:sequence>
   </xs:extension>
 </xs:complexContent>
  </xs:complexType>

  원래 있는 element를 재정의 하기 xs:restriction
  원래 있는 element에 element를 추가하기 위해서는 xs:extension 사용


# 데이터 무결성

1. 유일 키의 지원
  XML schema는 데어터 무결성을 지원한다.

  <xs:unique name="itemIdKey">
    <xs:selector xpath=".//item"/>
 <xs:field xpath="@itemid"/>
  </xs:unique>

2. key 와 keyref
  DB의 foreign key 역할
  foreign key : 한 relation에 대한 primary key로, 반드시 나타나야 하는 값이면서 다른 relation에서 이를 참조하는 키 값

  <xs:element name="onSale">
    <xs:complexType>
   <xs:sequence>
     <xs:element name="itemForSale" minOccurs="0" maxOccurs="unbounded">
    <xs:complexType>
      <xs:sequence>
     <xs:element name="outlet" type="outlets"/>
     <xs:element name="itemid" type="xs:integer"/>
   </xs:sequence>
    </xs:complexType>
    <xs:keyref name="onSaleItems" refer="existingItems">
      <xs:selector xpath="."/>
   <xs:field xpath="itemid"/>
       </xs:keyref>
  </xs:element>
   </xs:sequence>
 </xs:complexType>
  </xs:element>
  </xs:unique>

  <xs:key name="existingItems">
    <xs:selector xpath=".//item"/>
 <xs:field xpath="@itemid"/>
  </xs:key>

# namespace의 지원

1. noNamespaceSchemaLocation
  namespace 접어를 이용하지 않으려 할 경우

  <collection xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                    xsi:noNamespaceSchemaLocation="collectibles.xsd">

2. targetnamespace
  스키마 문서에서 정의하는 element가 특정 namespace에 속해야 할 필요가 있을 경우

  <schema xmlns="http://www.w3.org/2001/XMLSchema"
          xmlns:col="http://www.example.com/collection"
    targetNamespace="http://www.example.com/collection"
    elementFormDefault="qualified"
    attributeFormDefault="qualified"
  >

3. 다중 namespace

  다른 namespace에 속하는 element 정의의 이용
  <?xml version="1.0" encoding="EUC-KR"?>
  <schema xmlns="http://www.w3.org/2001/XMLSchema"
         xmlns:col="http://www.example.com/collection"
   xmlns:spec="http://www.example.com/spec"
   targetNamespace="http://www.example.com/collection"
   elementFormDefault="qualified"
   attributeFormDefault="qualified"
  >
  ...
  <complexType name="itemType">
    <sequence>
   <element ref="col:previousOwner" minOccurs="0" maxOccurs="5"/>
   <element ref="spec:specifications" minOccurs="0"/>
    </sequence>
  </complexTyhpe>
  ...

  다중 namespace의 참조
  <?xml version="1.0" encoding="EUC-KR"?>
  <c:collection xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                xmlns:c="http://www.example.com/collection"
    xmlns:s="http://www.example.com/spec"
    xsi:schemaLocation="http://www.example.com/collection collectibles.xsd
                        http://www.example.com/spec specs.xsd">
  <c:toys>
    <c:item c:itemid="1" c:demand="money is no object">
   <c:previousOwner>John Sorhed</c:previousOwner>
   <c:description>
     This piece is a genuine wooden <c:brand>Silhaven</c:brand>
  .....
   </c:description>
   <s:sepcifications>The specifications are...</s:specification>
   <c:originDate>1940</c:originDate>
 </c:item>
  </ctoys>


:
Posted by 뽀기
2007. 2. 16. 13:18

Daily English 2007.02.16 생활/영어2007. 2. 16. 13:18

follow-up
=> designed or serving follow up, esp. to increase the effectiveness of a previous action
=> When should we schedule a follow-up meeting?

disappointmenet
=> the state of failing to fulfill the hopes or expectations of someone
=> Guy has always been a source of considerable disappointment and distress to his parents.

logging
=> the work of cutting down trees for timber
=> Thre region is dependent on logging, and any regulations calling for reduced timber harvesting on public lands will cetainly increase unemploymement there.

bank fraud
=> financial deception
=> The allegations included bank fraud.

transact
=> to carry on or conduct business
=> He told them not to transact any business without him.

afloat
=> out of debt; financially secure
=> They have kept the firm afloat during the recession.

entrench
=> to provide with a trench, especially for the purpose fo fortifying or defending
=> Skeptics are everywhere in this nation where baseball, basketball, ice hockey and, of course American football are solidly entreched.

invalidity
=> the state of no effect
=> Her election is of invalidity.


A : Oh, there's the soon-to-be sweet 16 birthday girl.
B : Yeah, I'm so phyched!
A : You better get your invitation list together. It's not that far off.
B : Yeah, but I was thinking I don't really need a party.
A : What? What gir doesn't want a party for her 16th birthday?
B : I'm just worreid my party will be lame.

A : 와, 곧 16살이 되는 소녀가 여기 있네!
B : 네, 너무 신나요!
A : 초대명단을 빨리 정리하렴. 시간이 많지가 않아
B : 네, 파티 할 필요 없을 것 같아요.
A : 왜? 16살 생일 파티를 하고 싶지 않은 사람이 누가 있어?
B : 파티가 촌스러울까 봐 걱정 돼서요

Don't judge a man until you've walked in his boots.
그 사람의 입장이 되어 보기 전까지 그 사람에 대해 판단하지 마라.

The term "genius" is often ______ to anyone who expresses some form of creativity at an early age.
(A) used
(B) applied
(C) named
(D) placed

Air fares for the transcontinential flights have been drastically ______ after the terrorist attack.
(A) reducing
(B) reduce
(C) reduces
(D) reduced

transcontinental flight - 미국 대류 내 비행

'생활 > 영어' 카테고리의 다른 글

Daily English 2007.02.21  (0) 2007.02.21
Daily Englinsh 2007.02.20  (0) 2007.02.20
◆ 원인/이유의 접속사  (0) 2007.02.15
◆ 목적/결과/양태/제한의 접속사  (0) 2007.02.15
◆ 조건/양보의 접속사  (0) 2007.02.15
:
Posted by 뽀기