Subject: Re: [xsl] Re: XSLT for XHTML1 to XHTML2 From: Alice Wei <ajwei@xxxxxxxxxxx> Date: Tue, 1 Jan 2008 11:10:45 -0500 |
<html> <head> <!--you can insert your meta data here--> </head> <body> <xsl:apply-templates/> </body> </html>
<xsl:template match="section"> <xsl:apply-templates/> </xsl:template>
<xsl:template match="p"> <p><xsl:apply-templates/> </p> <xsl:template/>
<xsl:template match="h"> <h1><xsl:apply-templates/> </h1> </xsl:template/>
Alice Wei MIS 2008 School of Library and Information Science Indiana University Bloomington ajwei@xxxxxxxxxxx 812-856-2659
i should get something like this
<body> <h>This is a top level heading</h> <p>....</p> <section> <p>....</p> <h>This is a second-level heading</h> <p>....</p> <h>This is another second-level heading</h> <p>....</p> </section> <section> <p>....</p> <h>This is another second-level heading</h> <p>....</p> <section> <h>This is a third-level heading</h> <p>....</p> </section> </section> </body>
On Jan 1, 2008 6:23 PM, Vyacheslav Sedov <vyacheslav.sedov@xxxxxxxxx> wrote:hello,
i can`t find xslt for xhtml1 to xhtml2 convetring in www
maybe someone have this already?
i am mostly interested in automated converting flat h1..h8 structure into nested sections structure.
with best wishes, Slav
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Re: XSLT for XHTML1 to XHTML2, Vyacheslav Sedov | Thread | Re: [xsl] Re: XSLT for XHTML1 to XH, Vyacheslav Sedov |
[xsl] XSL-List Guidelines, Mulberry Technologie | Date | Re: [xsl] Re: XSLT for XHTML1 to XH, Vyacheslav Sedov |
Month |