Hi Aiswarya,


Can you elaborate? Do you have below statements somewhere in your custom
xslt, and instead of getting evaluated, they are inserted literally
themselves into the html that is returned to the browser?



I’d recommend not using disable-output-escaping by the way. You should be
able to insert such a div element literally (I mean as so-called literal
xml within your custom xslt). But if you insist, you could have a go with
xdmp:unquote..



Kind regards,

Geert



*Van:* general-boun...@developer.marklogic.com [mailto:
general-boun...@developer.marklogic.com] *Namens *Aiswarya
*Verzonden:* dinsdag 19 juni 2012 13:40
*Aan:* general@developer.marklogic.com
*Onderwerp:* [MarkLogic Dev General] Clarification required on App builder
using Custom XSLT



Hi,



When I was trying to transform XML to HTML5 using Custom XSLT option
available in Appbuilder to display the search results of the document, I
found some of the XSL lines got printed as such. For eg: the below lines
has been printed as such in browsers.



<xsl:value-of select="concat('&lt;div class=&#34;moclass&#34;
id=&#34;mo',$number,'&#34;&gt;')"  disable-output-escaping="yes"/>

<xsl:value-of select="'&lt;/div&gt;'" disable-output-escaping="yes"/>



Is that a bug with ML or is there any work around available to accomplish
this.



Thanks

Aiswarya V

* *

*Aiswarya Venkatachalapathy*

*IPF/Authoring Environment*

Laserwords



T: +91-044-43928300 Ext : 638

aiswarya.venkatachalapa...@laserwords.com

www.laserwords.com



*Laserwords is an SPi Global company*

The contents of this email may contain legally protected confidential or
privileged information.  If you are not the intended recipient, any
dissemination, retention or use of any information contained in this email
is prohibited.  If you have received this email in error, please promptly
notify the sender by reply email and delete the original email and any
backup copies without reading them.  Thank you.

<<image002.gif>>

_______________________________________________
General mailing list
General@developer.marklogic.com
http://community.marklogic.com/mailman/listinfo/general

Reply via email to