  | |  | Resolving a DTD in a document() reference during a transform | Resolving a DTD in a document() reference during a transform 2003-09-16 - By Rhett D. Hudson, Ph.D.
Michael Kay replied to my question:
<quote>
Your CustomURIResolver, when it sees the request for the document, should return a SAXSource containing an InputSource that wraps the unparsed resource, and an XMLReader that identifies a parser configured with an EntityResolver that will be used to locate the DTD.
Michael Kay
</quote>
That solved my issue. Thanks Michael!
--Rhett
<html>
<head> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 10 (filtered)">
<style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} p.MsoPlainText, li.MsoPlainText, div.MsoPlainText {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Courier New";} span.emailstyle17 {font-family:Arial; color:windowtext;} span.EmailStyle18 {font-family:Arial; color:navy;} @(protected) Section1 {size:8.5in 11.0in; margin:1.0in 77.95pt 1.0in 77.95pt;} div.Section1 {page:Section1;} --> </style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>Michael Kay replied to my question:</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'> </span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'><quote></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>Your CustomURIResolver, when it sees the request for the document, should return a SAXSource containing an InputSource that wraps the unparsed resource, and an XMLReader that identifies a parser configured with an EntityResolver that will be used to locate the DTD.</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'> </span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>Michael Kay</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'></quote></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'> </span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>That solved my issue. Thanks Michael!</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'> </span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'> --Rhett</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'> </span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'> </span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'> </span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'> </span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman" ><span style='font-size:12.0pt'> </span></font></p>
</div>
</body>
</html>
|
|
 |