Subject: RE: [xsl] Proper way to use XSL for HTML output? From: Ben Robb <b.robb@xxxxxxxxxx> Date: Mon, 5 Feb 2001 17:53:08 -0000 |
> If I want to add more in between the <body></body>, I just do it right down > the list, as if I was doing normal HTML. I originally tried the "template" > format, where you call various templates in the main template, then define > each of those templates at the bottom of the page. I don't know which way is > best though. The way I am doing it now seems more like how HTML is usually > done (manually anyways). Is there a proper way, a "standard" way, or just do > it how I want as long as it works? It depends on the input XML and the desired output. If I want highly structured output from unstructured input, I don't use many templates. On the other hand, if I have similarly structured input and outputs, I tend to use more templates... there aren't any hard and fast rules. If it makes it more generic to use templates in an application, use them... otherwise, its personal preference. Ben XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Selecting a set of nodes, Michael Kay | Thread | [xsl] CSS and XSLT, again, Shimon Pozin |
Re: [xsl] Selecting a set of nodes, David Carlisle | Date | RE: [xsl] Selecting a set of nodes, Michael Kay |
Month |