<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[devshare.de - fehler in xml-datei]]></title>
	<link rel="self" href="http://www.devshare.de/feed/atom/topic/40023/"/>
	<updated>2004-01-09T07:40:36Z</updated>
	<generator>PunBB</generator>
	<id>http://devshare.de/topic/40023/fehler-in-xmldatei/</id>
		<entry>
			<title type="html"><![CDATA[Re: fehler in xml-datei]]></title>
			<link rel="alternate" href="http://devshare.de/post/41221/#p41221"/>
			<content type="html"><![CDATA[<p>Hi,</p><p>danke für den Hinweis. In anderen Seiten habe ich mit folgendem Code gearbeitet:<br /></p><div class="codebox"><pre><code>            
set xmldoc = server.CreateObject(&quot;msxml2.domdocument.3.0&quot;)
set xsldoc = server.Createobject(&quot;msxml2.domdocument.3.0&quot;)
set resultdoc = server.Createobject(&quot;msxml2.domdocument.3.0&quot;)
xmldoc.async = false
xmldoc.loadXML(xml)
xsldoc.async = false    
xsldoc.load &quot;htmlseite1.xsl&quot;
xmldoc.transformNodeToObject xsldoc, resultdoc
if resultdoc.parseError &lt;&gt; 0 then
    Response.Write resultdoc.parseError.reason
else
end if</code></pre></div><p>Ich bekomme so aber immer ein Fehler zurückgeliefert, obwohl in der Datei kein Fehler vorhanden ist&nbsp; <img src="http://devshare.de/img/smilies/sad.png" width="15" height="15" alt="sad" /></p>]]></content>
			<author>
				<name><![CDATA[Issy]]></name>
				<uri>http://devshare.de/user/1108/</uri>
			</author>
			<updated>2004-01-09T07:40:36Z</updated>
			<id>http://devshare.de/post/41221/#p41221</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: fehler in xml-datei]]></title>
			<link rel="alternate" href="http://devshare.de/post/41213/#p41213"/>
			<content type="html"><![CDATA[<p>Hi &#039;Issy&#039;,</p><p>vielleicht taugt der Perl-Validator[1] (u.A. für XHTML) vom W3C Validator Team?</p><p>[1] <a href="http://www.w3.org/QA/Tools/#validators">http://www.w3.org/QA/Tools/#validators</a></p><p>Basti</p>]]></content>
			<author>
				<name><![CDATA[Basti]]></name>
				<uri>http://devshare.de/user/2346/</uri>
			</author>
			<updated>2004-01-08T21:01:42Z</updated>
			<id>http://devshare.de/post/41213/#p41213</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[fehler in xml-datei]]></title>
			<link rel="alternate" href="http://devshare.de/post/41201/#p41201"/>
			<content type="html"><![CDATA[<p>Hallo NG,</p><p>ich habe folgendes Problem: In unserem Intranet werden die HTML-Seiten mittels xml-Dateien erstellt. Der User kann selber übers Intranet die xml-Datei erstellen. Bevor diese Datei gespeichert wird, soll überprüft werden, ob Fehler enthalten sind (z.B. nur &lt;br&gt; statt &lt;br/&gt;). Kann ich das irgendwie abfangen? Sonst ist die Datei kaputt und der User kann sie nicht mehr ändern&nbsp; <img src="http://devshare.de/img/smilies/sad.png" width="15" height="15" alt="sad" /> </p><p>Vielen Dank für Eure Hilfe </p><p>Issy</p>]]></content>
			<author>
				<name><![CDATA[Issy]]></name>
				<uri>http://devshare.de/user/1108/</uri>
			</author>
			<updated>2004-01-08T13:15:11Z</updated>
			<id>http://devshare.de/post/41201/#p41201</id>
		</entry>
</feed>

