Main Content

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

구조화된 데이터와 XML 문서

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

readstruct 함수와 writestruct 함수를 사용하여 XML 파일로 구조화된 데이터를 쉽게 읽고 씁니다.

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

함수

모두 확장

readstructCreate structure from file
writestructWrite structure to file
xmlreadXML 문서 읽기 및 문서 객체 모델 노드 반환
xmlwriteXML 문서 객체 모델 노드 쓰기
xsltTransform XML document using XSLT engine

클래스

모두 확장

XML 문서 읽기 및 쓰기

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

W3C DOM

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

XML 변환

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

XPath 쿼리

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

패키지

모두 확장

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

도움말 항목