Tuesday, June 7, 2011

My answer to "xml markup in editor and (maybe) preview"

This is my answer to a Question on Support site for LampCMS project


There are no limitations. Your users can even use Code highleghter to treat your code snippets as XML, for examle like this: (just highlight code and select "Code style" in the editor


<xsl:template match="/">
        <xsl:element name="plaintext">
                <xsl:apply-templates />
        </xsl:element>
</xsl:template>

No comments:

Post a Comment