Subject: RE: [xsl] Complete newbie stupid question From: "Macaulay,Malcolm (US)" <Malcolm.Macaulay2@xxxxxxxxx> Date: Thu, 1 Aug 2002 13:30:06 -0500 |
Sandy, http://www.w3schools.com/ is very good for quick-start intro's. If you send a sample of your XML and the HTML output you are looking for, we can created a sample XSLT for you. cheers Malcolm -----Original Message----- From: Sandra Mcdonnell [mailto:smcdonnell@xxxxxxxxxxxxxx] Sent: Thursday, August 01, 2002 12:57 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: [xsl] Complete newbie stupid question Hi, I'm new to the list, to XML, to XSL, XSLT and pretty much everything related. I am trying to do what seems like a simple operation. I just want a stylesheet that calls a template in which nested templates specify formatting for specific nodes. Seems simple. Seemed simple for the first 3 days I tried to make it work. I am now a blithering idiot who can hardly spell XML. Can someone please refer me to a good source that can help me sort this out? Or better yet, show me an example? I have been attempting the following: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format"> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"/> <xsl:output method="html" version="4.0" encoding="UTF-8" indent="yes"/> <xsl:template match= "/"> </xsl:template> <xsl:template match="Head1"> <html> <font face="Arial" color="black" size="24" style="bold"/> <br/> </html> </xsl:template> <xsl:apply-templates/> </xsl:template> </xsl:stylesheet> I have tried every variation of this known to man. Sorry to waste your time and expertise, but I am getting nowhere. I appreciate your pearls of wisdom. Sandy 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] Complete newbie stupid qu, Jeff Beadle | Thread | [xsl] xsl numeric calculations-NP, NILESH PATEL |
RE: [xsl] Complete newbie stupid qu, Jeff Beadle | Date | Re: [xsl] XML to html, J.Pietschmann |
Month |