Subject: Re: [xsl] inheritance and encapsulation in xslt? / xslt for xlink? From: Howard Stearns <stearns@xxxxxxxxxxxx> Date: Mon, 21 Jul 2003 21:01:41 -0400 |
...
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:lsb="http://livestoryboard.com/lsb/schemas/2003/03/config" xmlns:c="http://livestoryboard.com/lsb/schemas/2003/03/content" exclude-result-prefixes="c lsb">
<xsl:template match="c:*">
<div class="{local-name()}">
<xsl:copy-of select="@*"/>
<xsl:apply-templates/>
</div>
</xsl:template>
</xsl:stylesheet>
This can get modified as needed, but it covers most (of our) needs. You would then handle your unique look and feel through CSS. Of course this type of thing just moves the problem somewhere else, but it is much easier for a client to deal with CSS than XSL.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] inheritance and encapsula, Robert Koberg | Thread | RE: [xsl] inheritance and encapsula, Robert Koberg |
Re: [xsl] inheritance and encapsula, Howard Stearns | Date | RE: [xsl] inheritance and encapsula, Robert Koberg |
Month |