<div dir="ltr">I use this:<div><div><yanel:resource-config xmlns:yanel="<a href="http://www.wyona.org/yanel/rti/1.0">http://www.wyona.org/yanel/rti/1.0</a>"><br></div><div> <yanel:rti name="channel" namespace="<a href="http://zwischengas.com/yanel/resource/1.0">http://zwischengas.com/yanel/resource/1.0</a>"/></div>
<div> <yanel:property name="xslt" value="yanelrepo:zwischengas:app:/channel-generic.xsl"/></div><div> <yanel:property name="mime-type" value="text/html"/></div><div></yanel:resource-config><br>
</div></div><div><br></div><div>Cheers, Balz</div><div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 27, 2014 at 9:33 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>Hi Balz<br>
<br>
Can you send me the resource configuration, which you are using? I
guess it must be something like<br>
<br>
<yanel:custom-config><br>
<views xmlns=<a href="http://www.wyona.org/yanel/rti/1.0" target="_blank">"http://www.wyona.org/yanel/rti/1.0"</a>><br>
<view id="default"><br>
<xslt>/app/xslt/global.xsl</xslt><br>
<mime-type>text/html</mime-type><br>
<serializer key="HTML_TRANSITIONAL"><br>
<indent>no</indent><br>
</serializer><br>
</view><br>
<br>
Thanks<br>
<br>
Michael<br>
<br>
Am 27.08.14 09:26, schrieb basZero:<br>
</div><div><div class="h5">
<blockquote type="cite">
<pre>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
</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></div>