<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">I think we need to find out whether it
is an XSLT problem of the version Yanel is using or whether the
serializer does something unexpected.<br>
<br>
Thanks<br>
<br>
Michael<br>
<br>
Am 27.08.14 09:53, schrieb basZero:<br>
</div>
<blockquote
cite="mid:CAOXzDSEb-6zO_f0utfFZdEKp91LCWNevc37Ue7rwiRv77Y2VSg@mail.gmail.com"
type="cite">
<pre wrap="">I have this issue in all my XSLs (and resources). the property
disable-escaping just does not seem to work.
Would be interesting if that occurs in your case too.
cheers, balz
On Wed, Aug 27, 2014 at 9:49 AM, Michael Wechner <a class="moz-txt-link-rfc2396E" href="mailto:michael.wechner@wyona.com"><michael.wechner@wyona.com></a>
wrote:
</pre>
<blockquote type="cite">
<pre wrap=""> thanks, I will try to reproduce the problem
Cheers
Michi
Am 27.08.14 09:36, schrieb basZero:
I use this:
<yanel:resource-config xmlns:yanel=<a class="moz-txt-link-rfc2396E" href="http://www.wyona.org/yanel/rti/1.0">"http://www.wyona.org/yanel/rti/1.0"</a> <a class="moz-txt-link-rfc2396E" href="http://www.wyona.org/yanel/rti/1.0"><http://www.wyona.org/yanel/rti/1.0></a>>
<yanel:rti name="channel" namespace=<a class="moz-txt-link-rfc2396E" href="http://zwischengas.com/yanel/resource/1.0">"
http://zwischengas.com/yanel/resource/1.0"</a> <a class="moz-txt-link-rfc2396E" href="http://zwischengas.com/yanel/resource/1.0"><http://zwischengas.com/yanel/resource/1.0></a>/>
<yanel:property name="xslt"
value="yanelrepo:zwischengas:<a class="moz-txt-link-freetext" href="app:/channel-generic.xsl">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 class="moz-txt-link-rfc2396E" href="mailto:michael.wechner@wyona.com"><michael.wechner@wyona.com></a> <a class="moz-txt-link-rfc2396E" href="mailto:michael.wechner@wyona.com"><michael.wechner@wyona.com></a>
wrote:
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 class="moz-txt-link-rfc2396E" href="http://www.wyona.org/yanel/rti/1.0">"http://www.wyona.org/yanel/rti/1.0"</a> <a class="moz-txt-link-rfc2396E" href="http://www.wyona.org/yanel/rti/1.0"><http://www.wyona.org/yanel/rti/1.0></a><a class="moz-txt-link-rfc2396E" href="http://www.wyona.org/yanel/rti/1.0"><http://www.wyona.org/yanel/rti/1.0></a> <a class="moz-txt-link-rfc2396E" href="http://www.wyona.org/yanel/rti/1.0"><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 class="moz-txt-link-freetext" href="http://xsltransform.net/jyH9rLY/3">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 class="moz-txt-link-abbreviated" href="mailto:Yanel-development@wyona.comhttp://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development">Yanel-development@wyona.comhttp://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development</a>
--
Yanel-development mailing list <a class="moz-txt-link-abbreviated" href="mailto:Yanel-development@wyona.com">Yanel-development@wyona.com</a>
<a class="moz-txt-link-freetext" href="http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development">http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development</a>
</pre>
</blockquote>
<pre wrap="">
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
</body>
</html>