이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
구조화된 데이터와 XML 문서
readstruct
함수와 writestruct
함수를 사용하여 XML 파일로 구조화된 데이터를 쉽게 읽고 씁니다.
MAXP(MATLAB® API for XML Processing)를 사용하여 XML 문서를 생성하고 읽고 쓰고 변환하거나 쿼리하는 고급 응용 프로그램을 개발합니다. MAXP를 사용하려면 XML, DOM, XSLT, XPath 및 관련 W3C 표준에 대해 잘 알고 있어야 합니다.
함수
구조화된 데이터 읽기 및 쓰기
readstruct | Create structure from file |
writestruct | Write structure to file |
클래스
MAXP(MATLAB API for XML Processing)
XML 문서 읽기 및 쓰기
matlab.io.xml.dom.DOMWriter | Writer that serializes an XML document |
matlab.io.xml.dom.EntityResolver | Abstract base class for entity resolvers |
matlab.io.xml.dom.FileWriter | Writer that creates a text file |
matlab.io.xml.dom.Locator | Location of element in XML file |
matlab.io.xml.dom.Parser | XML markup parser |
matlab.io.xml.dom.ParserConfiguration | XML parser options |
matlab.io.xml.dom.ParseError | Specifies XML markup parse error |
matlab.io.xml.dom.ParseErrorHandler | Abstract base class for parse error handlers |
matlab.io.xml.dom.ParseErrorLocator | Specifies location of parse error |
matlab.io.xml.dom.ParseErrorSeverity | Enumeration class denoting XML markup parse error severity |
matlab.io.xml.dom.ResourceIdentifier | XML resource identifier |
matlab.io.xml.dom.ResourceIdentifierType | XML resource identifier type |
matlab.io.xml.dom.WriterConfiguration | XML DOM writer options |
W3C DOM
matlab.io.xml.dom.Attr | Attribute of XML element |
matlab.io.xml.dom.CDATASection | CDATA section |
matlab.io.xml.dom.Comment | Comment in XML document |
matlab.io.xml.dom.Document | XML Document |
matlab.io.xml.dom.DocumentConfiguration | Specify XML document normalization options |
matlab.io.xml.dom.DocumentFragment | Group of document nodes |
matlab.io.xml.dom.DocumentType | Document type |
matlab.io.xml.dom.Element | Element of XML document |
matlab.io.xml.dom.Entity | Entity defined by document type |
matlab.io.xml.dom.NamedNodeMap | Set of document nodes with names |
matlab.io.xml.dom.NodeList | List of document nodes |
matlab.io.xml.dom.Notation | Notation in document type definition |
matlab.io.xml.dom.ProcessingInstruction | XML processing instruction |
matlab.io.xml.dom.Text | Text in an XML document |
matlab.io.xml.dom.TypeInfo | Schema type information |
XML 변환
matlab.io.xml.transform.CompiledStylesheet | Compiled stylesheet |
matlab.io.xml.transform.ResultDocument | Store transformation result as document |
matlab.io.xml.transform.ResultString | Store transformation result as string |
matlab.io.xml.transform.ResultFile | Store transformation result as file |
matlab.io.xml.transform.SourceDocument | XML source document for transformation |
matlab.io.xml.transform.SourceFile | XML source file for transformation |
matlab.io.xml.transform.SourceString | XML source string for transformation |
matlab.io.xml.transform.StylesheetSourceDocument | Stylesheet source document for transformation |
matlab.io.xml.transform.StylesheetSourceFile | Stylesheet source file for transformation |
matlab.io.xml.transform.StylesheetSourceString | XSL source string for transformation |
matlab.io.xml.transform.Tracer | Trace execution of stylesheet |
matlab.io.xml.transform.Transformer | XML document transformer |
XPath 쿼리
matlab.io.xml.xpath.CompiledExpression | Compiled XPath expression |
matlab.io.xml.xpath.EvalResultType | Result type for XPath expression evaluation |
matlab.io.xml.xpath.Evaluator | XPath expression evaluator |
matlab.io.xml.xpath.PrefixResolver | Abstract base class for namespace prefix resolvers |
패키지
MAXP(MATLAB API for XML Processing)
matlab.io.xml.dom | XML 파일을 생성하고 읽고 쓸 수 있는 클래스 |
matlab.io.xml.transform | Classes for transforming XML documents |
matlab.io.xml.xpath | Classes for evaluating XPath expressions |
도움말 항목
- XML 파일을 문서 객체 모델로 가져오기
matlab.io.xml.dom.Parser
또는xmlread
를 사용하여 XML 파일을 DOM 문서 노드로 읽어 들입니다. - 문서 객체 모델을 XML 파일로 내보내기
matlab.io.xml.dom.DOMWriter
또는xmlwrite
를 사용하여 DOM 문서 노드를 XML 파일에 씁니다.
MATLAB 명령
다음 MATLAB 명령에 해당하는 링크를 클릭했습니다.
명령을 실행하려면 MATLAB 명령 창에 입력하십시오. 웹 브라우저는 MATLAB 명령을 지원하지 않습니다.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)