[MarkLogic Dev General] Clarification required on App builder using Custom XSLT
Geert Josten
geert.josten at dayon.nl
Thu Jun 21 07:40:05 PDT 2012
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-bounces at developer.marklogic.com [mailto:
general-bounces at developer.marklogic.com] *Namens *Aiswarya
*Verzonden:* dinsdag 19 juni 2012 13:40
*Aan:* general at 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('<div class="moclass"
id="mo',$number,'">')" disable-output-escaping="yes"/>
<xsl:value-of select="'</div>'" 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.venkatachalapathy at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://community.marklogic.com/pipermail/general/attachments/20120621/17acefc7/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 1089 bytes
Desc: not available
Url : http://community.marklogic.com/pipermail/general/attachments/20120621/17acefc7/attachment.gif
More information about the General
mailing list