Subject: Re: [xsl] Hello World From: Mike Brown <mike@xxxxxxxx> Date: Wed, 19 Jun 2002 16:45:12 -0600 (MDT) |
Ingo Weiss wrote: > >try this > > > >xml file > ><?xml version="1.0"?> > ><test>test worked</test> > > > >xslt file > ><?xml version="1.0"?> > ><xsl:stylesheet version="1.0" > >xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> > > <xsl:template match="/"><xsl:value-of select="test"/></xsl:template> > ></xsl:stylesheet> > > > >cheers, jim fuller > > > Thanks! > > I am embarrassed to report that it still didn't work. Is is possible > that you omitted the stylesheet tag from the XML file? > > I added it and tried > > <?xml version="1.0" encoding="iso-8859-1"?> > <?xml-stylesheet type="text/xml" href="style.xsl"?> ^^^^^^^^ You want text/xsl here. There is no such media type registered, but it is what Microsoft started using just to differentiate from text/css, and the world has been stuck with it ever since. - Mike ____________________________________________________________________________ mike j. brown | xml/xslt: http://skew.org/xml/ denver/boulder, colorado, usa | resume: http://skew.org/~mike/resume/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xml-stylesheet p.i. and o, David Carlisle | Thread | Re: [xsl] Hello World, Thomas B. Passin |
Re: [xsl] XSLT number() problem, Jeni Tennison | Date | Re: [xsl] Multiple search, Jeni Tennison |
Month |