|
Posted by universalbitmapper on 06/23/06 21:58
universalbitmapper wrote:
> Ivan Marsh wrote:
> > On Fri, 23 Jun 2006 13:59:51 -0700, universalbitmapper wrote:
> >
> > > QUOTE:
> > > <?xml version="1.0"?>
> > > <?xml-stylesheet type="text/xsl" href="letter2text.xsl" version="1.0"?>
> > > /QUOTE
> >
> > Did you remember to send the XML header? That killed me for about two
> > hours last night.
> >
> > header("Content-type: text/xml");
> >
> > --
> > The USA Patriot Act is the most unpatriotic act in American history.
> > Feingold-Obama '08 - Because the Constitution isn't history,
> > It's the law.
>
> Hi,
>
> When you write that I should send the XML header, you mean that I would
> be
> calling a .php source in IE6.
> But not at all, I'm only trying the first sample code provided in a
> manual,
> that says that xslt makes the join between the xml source and html
> output.
> I'm utterly confused, but I don't dislike it.
> It's going to be a lot of fun when I find (or most probably a generous
> nethelper finds)
> the error.
> Maybe I should skip the beginner's stuff and zero in the php/xml
> chapter;
> actually the manual is called XML Web Development with PHP (Sitepoint)
>
> thanks for your help
Hi again,
Just like I said, I ran a php source with the line
..
..
$doc->load("keyword-data.xml");
..
..
And it works fine.
I'm going to write the ultimate "Bluff your way into XML/PHP" guide ;-)
Navigation:
[Reply to this message]
|