解析xml文档时,XMLEventReader实例通过它的next方法向客户传递事件对象,文档中的每个语法单位都有一个事件。
When parsing an XML document, an XMLEventReader instance delivers event objects to the client application through its next method — one for each syntactical unit in the document.
根据HL7 CDA XML模式对HL7 CDA XML文档实例进行验证的观察,正如在之前的两种方式中所展示的,都是通过一个xml解析器进行的。
Looking at the validation of HL7 CDA XML document instances against the HL7 CDA XML schema is, in both approaches illustrated, done through an XML parser.
通过在SAX2XMLReader API或DOMBuilder API中设置验证特性,可以告诉解析器如何验证一个实例文档。
You can tell the parser how to validate an instance document by setting the validation feature on a SAX2XMLReader API or a DOMBuilder API.
应用推荐