Title: XML Documents
Author: mitcho (Michael Yoshitaka Erlewine)
Published: <strong>2011년 5월 27일</strong>
Last modified: 2011년 5월 31일

---

플러그인 검색

이 플러그인은 **최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다**. 워드프레스의
좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 
있을 수 있습니다.

![](https://s.w.org/plugins/geopattern-icon/xml-documents.svg)

# XML Documents

 작성자: [mitcho (Michael Yoshitaka Erlewine)](https://profiles.wordpress.org/mitchoyoshitaka/)

[다운로드](https://downloads.wordpress.org/plugin/xml-documents.0.2.zip)

 * [세부사항](https://ko.wordpress.org/plugins/xml-documents/#description)
 * [평가](https://ko.wordpress.org/plugins/xml-documents/#reviews)
 *  [설치](https://ko.wordpress.org/plugins/xml-documents/#installation)
 * [개발](https://ko.wordpress.org/plugins/xml-documents/#developers)

 [지원](https://wordpress.org/support/plugin/xml-documents/)

## 설명

This plugin adds the necessary infrastructure to add a “XML Document”-type custom
post type which renders an XML document with an XSLT stylesheet in lieu of the regular
post content. This can be useful in custom applications where there is a need to
display XML documents from source, but you also want the regular benefits of WordPress
tagging, commenting, etc. for these documents.

This plugin will not work out of the box… it is an infrastructure plugin. Additional
coding (albeit minor) is necessary to get it running. See the “Installation” section
for more information and sample code.

The development of this plugin is supported by [MIT Global Shakespeares](http://globalshakespeares.org),
where it will be used to render the full text of Shakespeare plays from TEI-XML 
source.

### To-do

 * Custom stylesheets, per-document and/or custom parameters to be passed to the
   XSL transform
 * Search integration

## 스크린샷

[⌊A custom post type with XML Document support: here, "Scripts" for the display 
of Shakespeare scripts.⌉⌊A custom post type with XML Document support: here, "Scripts"
for the display of Shakespeare scripts.⌉[

A custom post type with XML Document support: here, “Scripts” for the display of
Shakespeare scripts.

[⌊Selecting an uploaded XML Document as the document to be rendered.⌉⌊Selecting 
an uploaded XML Document as the document to be rendered.⌉[

Selecting an uploaded XML Document as the document to be rendered.

## 설치

 1. Make sure you have PHP5 and [the PHP XSL module](http://us3.php.net/xsl) installed.
 2. Install and activate this plugin.
 3. Create a new custom post type with the `supports` attribute `xmldoc`. This custom
    post type will completely ignore its `post_content`, so make sure its `supports`
    statement does not include `editor`.
 4. Place your stylesheet in your current theme’s directory, named as `stylesheet.xsl`.
 5. Create a new entity of your new post type. There will be an option to upload and
    choose an XML document (see screenshots). Do that, publish it, and view it, and
    you will see the XML document rendered with the XSLT as the content of that entry.

Here’s some sample code:

    ```
    register_post_type('script',
        array(
            'label' => 'Scripts',
            'public' => true,
            'hierarchical' => false,
            'supports' => array('title', 'comments', 'xmldoc')
        )
    );
    ```

For more information on `register_post_type` and Custom Post Types, [visit the Codex](https://codex.wordpress.org/Post_Types).

## FAQ

  Your question here!

Our answer here!

## 후기

이 플러그인에 대한 평가가 없습니다.

## 기여자 & 개발자

“XML Documents”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 
기여하였습니다.

기여자

 *   [ mitcho (Michael Yoshitaka Erlewine) ](https://profiles.wordpress.org/mitchoyoshitaka/)

[자국어로 “XML Documents”(을)를 번역하세요.](https://translate.wordpress.org/projects/wp-plugins/xml-documents)

### 개발에 관심이 있으십니까?

[코드 탐색하기](https://plugins.trac.wordpress.org/browser/xml-documents/)는, [SVN 저장소](https://plugins.svn.wordpress.org/xml-documents/)
를 확인하시거나, [개발 기록](https://plugins.trac.wordpress.org/log/xml-documents/)
을 [RSS](https://plugins.trac.wordpress.org/log/xml-documents/?limit=100&mode=stop_on_copy&format=rss)
로 구독하세요.

## 변경이력

#### 0.2

 * A couple bugfixes for the admin interface.

#### 0.1

 * Initial public release.

## 기초

 *  버전 **0.2**
 *  최근 업데이트: **15년 전**
 *  활성화된 설치 **10+**
 *  워드프레스 버전 ** 3.1 또는 그 이상 **
 *  다음까지 시험됨: **3.2.1**
 *  언어
 * [English (US)](https://wordpress.org/plugins/xml-documents/)
 * 태그:
 * [cpt](https://ko.wordpress.org/plugins/tags/cpt/)[custom post type](https://ko.wordpress.org/plugins/tags/custom-post-type/)
   [tei](https://ko.wordpress.org/plugins/tags/tei/)[xml](https://ko.wordpress.org/plugins/tags/xml/)
   [xslt](https://ko.wordpress.org/plugins/tags/xslt/)
 *  [고급 보기](https://ko.wordpress.org/plugins/xml-documents/advanced/)

## 평점

아직 제출된 리뷰가 없습니다.

[Your review](https://wordpress.org/support/plugin/xml-documents/reviews/#new-post)

[모든  리뷰 보기](https://wordpress.org/support/plugin/xml-documents/reviews/)

## 기여자

 *   [ mitcho (Michael Yoshitaka Erlewine) ](https://profiles.wordpress.org/mitchoyoshitaka/)

## 지원

할 말 있으신가요? 도움이 필요하신가요?

 [지원 포럼 보기](https://wordpress.org/support/plugin/xml-documents/)