My application access DB for content(Using SQL Transformer) which later
gets transformed into HTML via xml2html transformer.
For example, I have following sniippet in my xml2html transformer:
<xsl:variable name="welcome_title"
select="//welcome/sql:rowset/sql:row/sql:title"/>
<p>
<xsl:value-of select="$welcome_title"/>
</p>
This works fine.
If the welcome_title was "<b> Hello. Welcome to Acme, Inc. </b>"
Then the embeded HTML code is not interperted as HTML tags.
Regardless of how it's embeded in the data(as <b> or as <b>) it is
included as it was embeded.
What I like to do is to dynamically evaluate the content of
$welcome_title so that embeded HTML tags are detected and parsed as:
<p>
<b>
Hello. Welcome to Acme, Inc.
</b>
</p>
Even better would be to be able to include any XML tags and have it
dynamically evaluated by the xml2html transformer.
Any one have any ideas?
Thanks for your help.
-Yatin
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>
- Too much java in xsp Lionel Crine
- Re: Too much java in xsp Robert Simmons
- Re: Too much java in xsp Lionel Crine
- RE: Too much java in xsp Ray Martin
- RE: Dynamic XSL evaluation Yatin Shah
- RE: Dynamic XSL evaluation Idhaya Chandran
- Re: Dynamic XSL evaluation J.Pietschmann
- Re: Dynamic XSL evaluation Yatin Shah
- RE: Too much java in xsp Geoff Howard
- RE: Too much java in xsp Lionel Crine
- RE: Too much java in xsp Geoff Howard
- RE: Too much java in xsp Lionel Crine
- RE: Too much java in xsp Lionel Crine
- RE: Too much java in xsp Geoff Howard
- RE: Too much java in xsp Lionel Crine