Subject: Re: [xsl] WYM editor From: Senthilukvelaan <skumaravelan@xxxxxxxxxxxxxx> Date: Fri, 23 Oct 2009 10:49:11 -0700 |
Hi, What I am looking for is that edit HTML embeeded style sheet to edit only the text content only. Hidling all the XSLT syntax information from the user. User can make changes to the text conetnt only like "(common to every page of the site)". <?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <html> <head> <!-- Get the head values here... --> <xsl:apply-templates select="/html/head/*" /> </head> <body> <table width="100%" border="1" bgcolor="LemonChiffon"> <tr> <td colspan="2" width="100%"> <h1>Header</h1> (common to every page of the site)</td> </tr> <tr height="300" valign="top"> <td width="75%" bgcolor="Aqua"> <!-- Get the body here --> <xsl:apply-templates select="/html/body/*"/> </td> <td width="25%"> <h1>Headlines</h1> (common to every page of the site)</td> </tr> </table> </body> </html> </xsl:template> <!-- Identity transformation --> <xsl:template match="@*|*"> <xsl:copy> <xsl:apply-templates select="@*|node()"/> </xsl:copy> </xsl:template> </xsl:stylesheet> On Fri, Oct 23, 2009 at 10:33 AM, ac <ac@xxxxxxxxxxxxx> wrote: > Google confirms that WYM is an xhtml editor, providing many reference links. > Since xhtml is XML, you can use XSLT to transform it. > What are you looking for? > ac > > > >> Hi Team, >> I would like to know is there any online working sample >> available for WYMEDITOR for XSLT. >> >> Any input would be appreciated. >> Thanks, >> Sen
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] WYM editor, ac | Thread | Re: RE: [xsl] Assistance with posi, James A. Robinson |
Re: [xsl] WYM editor, ac | Date | Re: RE: [xsl] Assistance with posi, James A. Robinson |
Month |