<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>cxml and cxml-rng folks,</div><div><br></div>I see that I can use a validator like so (from the examples):<div><br></div><div><pre class="code" style="background-color: rgb(255, 255, 255); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(208, 208, 208); border-right-color: rgb(208, 208, 208); border-bottom-color: rgb(208, 208, 208); border-left-color: rgb(208, 208, 208); border-image: initial; padding-top: 1em; padding-right: 1em; padding-bottom: 1em; padding-left: 1em; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; color: rgb(119, 119, 119); ">(cxml:parse-file "example.xml"
<span style="color: black; ">(cxml-rng:make-validator</span>
(cxml-rng:parse-schema #p"example.rng")
<span style="color: black; ">(cxml-dom:make-dom-builder))</span>)</pre><div><br></div></div><div>But is there any way I can validate an already parsed (in-memory) XML (preferably STP) document?</div><div><br></div><div>thanks,</div><div><br></div><div>Cyrus</div><div> </div></body></html>