Main Content

이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.

구조화된 데이터와 XML 문서

구조화된 데이터와 XML(Extensible Markup Language) 문서 사용

XML 파일로 구조화된 데이터를 읽고 씁니다. MAXP(MATLAB® API for XML Processing)를 사용하여 XML 문서를 생성하고 읽고 쓰고 변환하거나 쿼리하는 고급 응용 프로그램을 개발합니다. MAXP를 사용하려면 XML, DOM, XSLT, XPath 및 관련 W3C 표준에 대해 잘 알고 있어야 합니다.

함수

모두 확장

readstructCreate structure array from file (R2020b 이후)
writestructWrite structure array to file (R2020b 이후)
readtable파일에서 테이블 만들기
writetable파일에 테이블 쓰기
xmlreadXML 문서 읽기 및 문서 객체 모델 노드 반환
xmlwriteXML 문서 객체 모델 노드 쓰기
xsltTransform XML document using XSLT engine

클래스

모두 확장

XML 문서 읽기 및 쓰기

matlab.io.xml.dom.DOMWriterWriter that serializes an XML document (R2021a 이후)
matlab.io.xml.dom.EntityResolverAbstract base class for entity resolvers (R2021a 이후)
matlab.io.xml.dom.FileWriterWriter that creates a text file (R2021a 이후)
matlab.io.xml.dom.LocatorLocation of element in XML file (R2021a 이후)
matlab.io.xml.dom.ParserXML markup parser (R2021a 이후)
matlab.io.xml.dom.ParserConfigurationXML parser options (R2021a 이후)
matlab.io.xml.dom.ParseErrorSpecifies XML markup parse error (R2021b 이후)
matlab.io.xml.dom.ParseErrorHandlerAbstract base class for parse error handlers (R2021b 이후)
matlab.io.xml.dom.ParseErrorLocatorSpecifies location of parse error (R2021b 이후)
matlab.io.xml.dom.ParseErrorSeverityEnumeration class denoting XML markup parse error severity (R2021b 이후)
matlab.io.xml.dom.ResourceIdentifierXML resource identifier (R2021a 이후)
matlab.io.xml.dom.ResourceIdentifierTypeXML resource identifier type (R2021a 이후)
matlab.io.xml.dom.WriterConfigurationXML DOM writer options (R2021a 이후)

W3C DOM

matlab.io.xml.dom.AttrAttribute of XML element (R2021a 이후)
matlab.io.xml.dom.CDATASectionCDATA section (R2021a 이후)
matlab.io.xml.dom.CommentComment in XML document (R2021a 이후)
matlab.io.xml.dom.DocumentXML Document (R2021a 이후)
matlab.io.xml.dom.DocumentConfigurationSpecify XML document normalization options (R2022a 이후)
matlab.io.xml.dom.DocumentFragmentGroup of document nodes (R2021a 이후)
matlab.io.xml.dom.DocumentTypeDocument type (R2021a 이후)
matlab.io.xml.dom.ElementElement of XML document (R2021a 이후)
matlab.io.xml.dom.EntityEntity defined by document type (R2021a 이후)
matlab.io.xml.dom.NamedNodeMapSet of document nodes with names (R2021a 이후)
matlab.io.xml.dom.NodeListList of document nodes (R2021a 이후)
matlab.io.xml.dom.NotationNotation in document type definition (R2021a 이후)
matlab.io.xml.dom.ProcessingInstructionXML processing instruction (R2021a 이후)
matlab.io.xml.dom.TextText in an XML document (R2021a 이후)
matlab.io.xml.dom.TypeInfoSchema type information (R2021a 이후)

XML 변환

matlab.io.xml.transform.CompiledStylesheetCompiled stylesheet (R2021a 이후)
matlab.io.xml.transform.ResultDocumentStore transformation result as document (R2021a 이후)
matlab.io.xml.transform.ResultStringStore transformation result as string (R2021a 이후)
matlab.io.xml.transform.ResultFileStore transformation result as file (R2021a 이후)
matlab.io.xml.transform.SourceDocumentXML source document for transformation (R2021a 이후)
matlab.io.xml.transform.SourceFileXML source file for transformation (R2021a 이후)
matlab.io.xml.transform.SourceStringXML source string for transformation (R2021a 이후)
matlab.io.xml.transform.StylesheetSourceDocumentStylesheet source document for transformation (R2021a 이후)
matlab.io.xml.transform.StylesheetSourceFileStylesheet source file for transformation (R2021a 이후)
matlab.io.xml.transform.StylesheetSourceStringXSL source string for transformation (R2021a 이후)
matlab.io.xml.transform.TracerTrace execution of stylesheet (R2022a 이후)
matlab.io.xml.transform.TransformerXML document transformer (R2021a 이후)

XPath 쿼리

matlab.io.xml.xpath.CompiledExpressionCompiled XPath expression (R2021a 이후)
matlab.io.xml.xpath.EvalResultTypeResult type for XPath expression evaluation (R2021a 이후)
matlab.io.xml.xpath.EvaluatorXPath expression evaluator (R2021a 이후)
matlab.io.xml.xpath.PrefixResolverAbstract base class for namespace prefix resolvers (R2021a 이후)

네임스페이스

모두 확장

matlab.io.xml.domXML 파일을 생성하고 읽고 쓸 수 있는 클래스 (R2021a 이후)
matlab.io.xml.transformClasses for transforming XML documents (R2021a 이후)
matlab.io.xml.xpathClasses for evaluating XPath expressions (R2021a 이후)

도움말 항목