Subject: RE: [xsl] I'm really annoyed!!!! From: "Chris Bayes" <Chris@xxxxxxxxxxx> Date: Tue, 27 Feb 2001 12:29:22 -0000 |
Daniel, Then you aren't for some reason using MSXML3. What progid are you using in your Serve.CreateObject? XML/XSL Portal http://www.bayes.co.uk/xml >-----Original Message----- >From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx >[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Daniel Newman >Sent: 27 February 2001 11:56 >To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx >Subject: RE: [xsl] I'm really annoyed!!!! > > >OK, I've swapped the namespace over, but now my results page (the ASP one) >contains the following code: > ><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> ><xsl:output method="html" /> ><xsl:template match="/"> ><html> ><xsl:apply-templates select="DOCUMENT" /> ><body bgcolor="#FFFFFF" link="#0033CC" text="#000000" topmargin="0" >marginheight="0"> ><A NAME="top"></A> ><xsl:apply-templates select="DOCUMENT/COMPANYINFO" /> ><P></P> ><xsl:apply-templates select="DOCUMENT/ESTIMATES" /> ></body> ></html> ></xsl:template> ><xsl:template match="DOCUMENT"> ><head> ><meta> ><xsl:attribute name="name">description</xsl:attribute> ><xsl:attribute name="content"> > Broker Forecast for > <xsl:value-of select="COMPANYINFO/COMPANYNAME" /> ></xsl:attribute> ></meta> ><meta> ><xsl:attribute name="keywords">description</xsl:attribute> ><xsl:attribute name="content"> > Broker Forecast for > <xsl:value-of select="COMPANYINFO/COMPANYNAME" /> ></xsl:attribute> ></meta> ><meta> ><xsl:attribute name="http-equiv">Content-Type</xsl:attribute> ><xsl:attribute name="content"> > text/html; charset=iso-8859-1 > </xsl:attribute> ></meta> ><title> > Broker Forecast for > <xsl:value-of select="COMPANYINFO/COMPANYNAME" /> ></title> ></head> ></xsl:template> ><xsl:template match="DOCUMENT/COMPANYINFO"> ><table border="0" width="98%" bgcolor="#FFFFFF" cellpadding="2" >cellspacing="0"> ><tr> ><td colspan="2" height="6" bgcolor="#000000"> ><font face="Arial" size="4" color="#FFFFFF"> ><b><xsl:value-of select="COMPANYNAME" /></b> ></font> ></td> ></tr> ><tr> ><td bgcolor="#336633" colspan="2"><b> ><font face="Arial" size="2" color="#FFFFFF"> ><xsl:value-of select="COMPANYDETAIL" /> ></font></b> ></td> ></tr> ><tr> ><td colspan="2" bgcolor="669966"> ></td> ></tr> ><tr> ><td colspan="2"> ></td> ></tr> ><tr> ><td colspan="2"> ><font face="Arial" size="2"> ><b>Sector: <xsl:value-of select="SECTOR" /></b> ></font> ></td> ></tr> ><tr> ><td colspan="2"><br /></td> ></tr> ></table> ></xsl:template> ><xsl:template match="DOCUMENT/ESTIMATES"> ><table cellspacing="0" width="98%" border="0"> ><tr> ><td align="center" width="20%" bgcolor="669966"> ><font size="2" face="Arial" color="000066"> ><b>Broker</b> ></font> ></td> ><td align="center" width="9%" bgcolor="669966"> ><font size="2" face="Arial" color="000066"> ><b>Rec</b> ></font> ></td> ><td align="center" width="9%" bgcolor="669966"> ><font size="2" face="Arial" color="000066"> ><b>Note</b> ></font> ></td> ><td align="center" width="9%" bgcolor="669966"> ><font size="2" face="Arial" color="000066"> ><b>Forecast Date</b> ></font> ></td> ><td align="center" bgcolor="669966"> ><br /> ></td> ><td align="center" width="9%" bgcolor="669966"> ><font size="2" face="Arial" color="000066"> ><b>Sales</b> ></font> ></td> ><td align="center" bgcolor="669966"> ><br /> ></td> ><td align="center" bgcolor="669966"> ><br /> ></td> ><td align="center" width="9%" bgcolor="669966"> ><font size="2" face="Arial" color="000066"> ><b>PROFIT</b> ></font> ></td> ><td align="center" width="9%" bgcolor="669966"> ><font size="2" face="Arial" color="000066"> ><b>EPS</b> ></font> ></td> ><td align="center" width="9%" bgcolor="669966"> ><font size="2" face="Arial" color="000066"> ><b>CFPS</b> ></font> ></td> ><td align="center" width="9%" bgcolor="669966"> ><font size="2" face="Arial" color="000066"> ><b>DPS</b> ></font> ></td> ></tr> ></table> ></xsl:template> ></xsl:stylesheet> > >sorry for copying it in, but no attachment on this list. Why's it doing >this? Should it convert it to HTML? > >-----Original Message----- >From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx >[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Ben Robb >Sent: 27 February 2001 11:30 >To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx >Subject: RE: [xsl] I'm really annoyed!!!! > > >Yes - you are using a version that was released in December 1998 - ie. >one which is a completely different language to the final specification >(Nov. 1999). If you have MSXML3, you should be using the following >namespace: > >http://www.w3.org/1999/XSL/Transform > >Rgs, > >Ben > > >-----Original Message----- >From: Daniel Newman [mailto:daniel.newman@xxxxxxxxxxx] >Sent: 27 February 2001 11:14 >To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx >Subject: [xsl] I'm really annoyed!!!! > > >I'm currently using the latest version of Microsoft's XMLDOM object >MSXML3 >on our server, but for some reason, whenever I try to use any function >that's a little bit away from the complete basic, my ASP page (this is >how >I'm displaying the transformation) complains about exception errors, so >guessing that must mean I'm limited to certain functions. I can't seem >to >use <xsl:text>, or even <xsl:call-template>. Now I can get by without >the >text command, but there's no way I can not use the call-template. I'm >using >the http://www.w3.org/TR/WD-xsl namespace. Is this wrong? I'm getting >very >fed up with this language, so can anyone please help????? and quickly, >before I burn the server.. > >Daniel Newman. > >Bis-Web Ltd. >Tel: 01993 880614 >Fax: 01993 881625 > >************************************************************************ >**** >The information transmitted is intended only for the person or entity to >which it is addressed and may contain confidential and/or privileged >material. Any review, retransmission, dissemination or other use of, or >taking of any action in reliance upon, this information by persons or >entities other than the intended recipient is prohibited. If you >received >this in error, please contact the sender and delete the >material from any computer. >************************************************************************ >**** > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > > 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: [xsl] I'm really annoyed!!!!, Daniel Newman | Thread | RE: [xsl] I'm really annoyed!!!!, Daniel Newman |
Re: [xsl] Using xsl:include when co, Jeni Tennison | Date | Re: [xsl] XSLT 2.0 Grouping Use Cas, Alexey Gokhberg |
Month |