[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: running msxml3 from command line
Subject: RE: running msxml3 from command line From: "Chris Bayes" <Chris@xxxxxxxxxxx> Date: Tue, 1 Aug 2000 00:56:44 +0100 |
The problem is with external entities. My index.xml looks like this <?xml version="1.0"?> <!DOCTYPE page [ <!ENTITY pagehead SYSTEM "head.xml"> <!ENTITY toc SYSTEM "config/toc.xml"> <!ENTITY main SYSTEM "main.xml"> <!ENTITY right SYSTEM "right.xml"> <!ENTITY rss SYSTEM "rss/portalmdoc.xml"> <!ENTITY news SYSTEM "news/news.xml"> <!ENTITY vote SYSTEM "vote.xml"> ]> <?xml-stylesheet type="text/xsl" href="/xml/styles/toc.xsl"?> <page title="XML Main"> <pagehead> &pagehead; </pagehead> <pagetoc> &toc; </pagetoc> <pagemain> &main; </pagemain> <pageright> &right; </pageright> </page> Each of these files have a <?xml version="1.0"?> pi at the top. The new xml parser spits the dummy at this so it never even gets to the xsl processor. The stylesheet has the http://www.w3.org/TR/WD-xsl namespace but I am asured that it should be handled although I have no way of testing it at the moment. This has probably been asked before but is there a reason why the <?xml version="1.0"?> pi in external entities should cause a problem? Shouldn't they just be ignored? TIA Chris >-----Original Message----- >From: owner-xsl-list@xxxxxxxxxxxxxxxx >[mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of Sebastian Rahtz >Sent: 31 July 2000 21:55 >To: xsl-list@xxxxxxxxxxxxxxxx >Subject: RE: running msxml3 from command line > > >Chris Bayes writes: > > I can't say without seeing your docs > >sorry, maybe I wasnt clear. it was *you* doc that failed, I never made >it into your pages at all! the error came in >http://www.bayes.co.uk/xml/index.xml?/xml/utils/translate.xml > >actually, I found the thing on Ken Holman's site, pointed at the >Joshua Allen's pages, and that does the job fine. If my computer was >not still running my test files after 3 days (it sat for most of the >weekend in Sablotron :-}), I'd reboot it into Windows and get some >timings to compare MSMXSL3 to the other processors. It looks good and >fast. > >Sebastian > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: running msxml3 from command lin, Sebastian Rahtz | Thread | leading zero in my counter??, Buss, Jason A |
RE: running msxml3 from command lin, Chris Bayes | Date | RE: using <xsl:if> inside the selec, Chris Bayes |
Month |