[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Re: XSLT for XHTML1 to XHTML2
Hi, Vyacheslav:
If you only want to convert your XML to XHTML, all you need to do is to have a lot of <xsl:apply-templates/> nested like the one following: <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/> However, I am not sure if the code here listed is XML or the intended output. There is no such thing now in the XHTML with <section>. If you want to, use something like a <div> to replace it for use in your XSLT conversion. Cheers. Alice Wei MIS 2008 School of Library and Information Science Indiana University Bloomington ajwei@xxxxxxxxxxx 812-856-2659 Quoting Vyacheslav Sedov <vyacheslav.sedov@xxxxxxxxx>: i should get something like this
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|