<div dir="ltr">I have this issue in all my XSLs (and resources). the property disable-escaping just does not seem to work.<div>Would be interesting if that occurs in your case too.</div><div><br></div><div>cheers, balz</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 27, 2014 at 9:49 AM, Michael Wechner <span dir="ltr"><<a href="mailto:michael.wechner@wyona.com" target="_blank">michael.wechner@wyona.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>thanks, I will try to reproduce the
problem<br>
<br>
Cheers<br>
<br>
Michi<br>
<br>
Am 27.08.14 09:36, schrieb basZero:<br>
</div><div><div class="h5">
<blockquote type="cite">
<pre>I use this:
<yanel:resource-config xmlns:yanel=<a href="http://www.wyona.org/yanel/rti/1.0" target="_blank">"http://www.wyona.org/yanel/rti/1.0"</a>>
<yanel:rti name="channel" namespace=<a href="http://zwischengas.com/yanel/resource/1.0" target="_blank">"
http://zwischengas.com/yanel/resource/1.0"</a>/>
<yanel:property name="xslt"
value="yanelrepo:zwischengas:<a>app:/channel-generic.xsl</a>"/>
<yanel:property name="mime-type" value="text/html"/>
</yanel:resource-config>
Cheers, Balz
On Wed, Aug 27, 2014 at 9:33 AM, Michael Wechner <a href="mailto:michael.wechner@wyona.com" target="_blank"><michael.wechner@wyona.com></a>
wrote:
</pre>
<blockquote type="cite">
<pre> Hi Balz
Can you send me the resource configuration, which you are using? I guess
it must be something like
<yanel:custom-config>
<views xmlns=<a href="http://www.wyona.org/yanel/rti/1.0" target="_blank">"http://www.wyona.org/yanel/rti/1.0"</a>
<a href="http://www.wyona.org/yanel/rti/1.0" target="_blank"><http://www.wyona.org/yanel/rti/1.0></a>>
<view id="default">
<xslt>/app/xslt/global.xsl</xslt>
<mime-type>text/html</mime-type>
<serializer key="HTML_TRANSITIONAL">
<indent>no</indent>
</serializer>
</view>
Thanks
Michael
Am 27.08.14 09:26, schrieb basZero:
Hi,
since I work with Yanel, sometimes I stumble across this "bug", that
somehow only occurs at the XSLT in Yanel, but not otherwise.
Maybe you also have this issue and solved it somehow?
What I want:
- 1 Resource has 1 view and 1 XSL.
- The XSL produces the final HTML.
- Parts of the HTML should be copied 1:1 from an existing XML in the Yarep
Repo.
- So the approach is to code the XSL like this:
<xsl:value-of select="//ns0:myHTMLelement" disable-output-escaping="yes"/>
- The XML has stored some escaped HTML in the node myHTMLelement:
<p>here is some text</p>
I tested a little example here:
<a href="http://xsltransform.net/jyH9rLY/3" target="_blank">http://xsltransform.net/jyH9rLY/3</a>
But when I run it on Yanel, the final HTML is not a paragraph with the text
"here is some text" but it renders "<p>here is some text</p>"
Obviously something does not work correctly in the XSLT
(BasicXMLResource.getXMLView())
Any idea?
Cheers, Balz
--
Yanel-development mailing list <a href="mailto:Yanel-development@wyona.com" target="_blank">Yanel-development@wyona.com</a>
<a href="http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development" target="_blank">http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development</a>
</pre>
</blockquote>
<pre></pre>
<br>
<fieldset></fieldset>
<br>
</blockquote>
<br>
</div></div></div>
<br>--<br>
Yanel-development mailing list <a href="mailto:Yanel-development@wyona.com">Yanel-development@wyona.com</a><br>
<a href="http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development" target="_blank">http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development</a><br></blockquote></div><br></div>