Skip to content

Commit

Permalink
domain fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwechner committed Dec 4, 2013
1 parent 66954af commit a2d476b
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -19,7 +19,7 @@ <h2>The "*_yanel-rc.xml" files</h2>
<h2>The "*.yanel-rc" files</h2>
<p>These are used to configure single URLs. The URL matched is the same as the file name, without the <code>.yanel-rc</code> extension. For example, the request URL <code>{realm-URL}/discoveries.html</code> will be matched to the file <code>discoveries.html.yanel-rc.</code></p>
<p><span style="text-decoration: underline;"><strong>Note 1:</strong></span> You can use a configuration file for a certain URL, while at the same time using an <a href="rc-map.html"> <code>rc-map</code></a> for a pattern of URLs.</p>
<p><span style="text-decoration: underline;"><strong>Note 2:</strong></span> These file names are a convention only. To better understand the matching mechanism, also see the page "<a href="http://yanel.wyona.org/en/documentation/how-a-request-is-being-processed.html">How a request is processed</a>".</p>
<p><span style="text-decoration: underline;"><strong>Note 2:</strong></span> These file names are a convention only. To better understand the matching mechanism, also see the page "<a href="http://www.yanel.org/en/documentation/how-a-request-is-being-processed.html">How a request is processed</a>".</p>
<h2>Example 1: An XML Resource</h2>
<p>This type of resource returns an XML snippet/document, which is usually further processed using XSLTs:</p>
<pre>&lt;yanel:resource-config xmlns:yanel="http://www.wyona.org/yanel/rti/1.0"&gt;<br />&#160; &lt;yanel:rti name="xml" namespace="http://www.wyona.org/yanel/resource/1.0"/&gt;<br />&#160; &lt;yanel:property name="mime-type" value="text/html"/&gt;<br />&#160; &lt;yanel:property name="xslt" value="/app/xslt/global.xsl"/&gt;<br />&lt;/yanel:resource-config&gt;</pre>
Expand All @@ -29,4 +29,4 @@ <h2>Example 2: A resource creator<br /></h2>
<p>&#160;</p>
</div>
</body>
</html>
</html>

0 comments on commit a2d476b

Please sign in to comment.