[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: WYM editor

Subject: Re: WYM editor
From: Senthilukvelaan <skumaravelan@xxxxxxxxxxxxxx>
Date: Fri, 23 Oct 2009 10:49:11 -0700
Re:  WYM editor
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.