<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>utopia/veritas</title>
	<atom:link href="http://jsgaviota.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://jsgaviota.wordpress.com</link>
	<description>technology and a little of philosophy</description>
	<lastBuildDate>Thu, 07 Dec 2006 18:17:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='jsgaviota.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>utopia/veritas</title>
		<link>http://jsgaviota.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://jsgaviota.wordpress.com/osd.xml" title="utopia/veritas" />
	<atom:link rel='hub' href='http://jsgaviota.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Creating New Doctypes with Apache Lenya</title>
		<link>http://jsgaviota.wordpress.com/2006/12/06/creating-new-doctypes-with-apache-lenya/</link>
		<comments>http://jsgaviota.wordpress.com/2006/12/06/creating-new-doctypes-with-apache-lenya/#comments</comments>
		<pubDate>Wed, 06 Dec 2006 15:19:58 +0000</pubDate>
		<dc:creator>jsgaviota77</dc:creator>
				<category><![CDATA[Apache Lenya]]></category>

		<guid isPermaLink="false">http://jsgaviota.wordpress.com/2006/12/06/creating-new-doctypes-with-apache-lenya/</guid>
		<description><![CDATA[Hello, This is a little tutorial about how to create a new Doctype with Apache Lenya. I have being working with this great tool 2 years now and I know the kinds of problems you kind find when creating a new Doctype. I believe that is because there is not much information on the web [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jsgaviota.wordpress.com&amp;blog=593657&amp;post=4&amp;subd=jsgaviota&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hello,<br />
This is a little tutorial about how to create a new Doctype with <a href="http://lenya.apache.org/">Apache Lenya</a>. I have being working with this great tool 2 years now and I know the kinds of problems you kind find when creating a new Doctype. I believe that is because there is not much information on the web about it. So that&#8217;s what&#8217;s this all about, a little help for Lenya users.<br />
<strong>CREATING A NEW DOCTYPE</strong><br />
First of all I will assume that you have already installed one version of Apache Lenya.<br />
Now, let&#8217;s say we want to create the doctype : <strong>basic</strong><br />
Ok then, to create a new doctype you must follow this steps:</p>
<ol>
<li>The first step is to create the xml of the doctype and name it: basic.xml and save it in the folder:&#8221;\webapps\lenya\lenya\pubs\{yourPub}\config\doctypes\samples\&#8221;<br />
I assume you know <a href="http://www.w3schools.com/xml/default.asp">XML</a>, if not there are plenty of tutorials on the Web. Anyway you can download mine in the link shown at the bottom.
</li>
<li>Place the <a href="http://www.oasis-open.org/committees/relax-ng/tutorial.html">RelaxNG </a>file with the name: &#8220;basic.rng&#8221; in the folder: &#8220;\webapps\accesible\lenya\pubs\{yourPub}\config\doctypes\schemas&#8221;<br />
I assume as well that you know how to create a RelaxNG file, if not you can use mine as I guide that&#8217;s available in the link at the bottom</li>
<li>Add your <a href="http://www.w3schools.com/xsl/">XSL</a> file with the name: &#8220;basic2xhml&#8221; in the folder: &#8220;\webapps\lenya\lenya\pubs\{yourPub}\xslt&#8221;</li>
<li>Edit the file : &#8220;doctypes.xconf&#8221; that&#8217;s in: &#8220;\webapps\lenya\lenya\pubs\{yourPub}\config\doctypes\&#8221; and add a new &#8220;doc&#8221; element with the doctype name: &#8220;basic&#8221; and the  sample-name: basic.xml.<br />
This will tell lenya there&#8217;s a new doctype available </li>
<li>Edit the file: &#8220;generic.xsp&#8221; that&#8217;s in: &#8220;webapps\lenya\lenya\pubs\{yourPub}\config\menus\&#8221; and add a new &#8220;item&#8221; element with this atributes: uc:usecase=&#8221;create&#8221; uc:step=&#8221;showscreen&#8221; href=&#8221;?doctype=basic&#8221;. And the &#8220;i18n&#8221; element with the value: &#8220;New document basic&#8221;<br />
This will add a reference to create a document with the &#8220;basic&#8221; doctype in the Edit menu.
</li>
<li>Edit the file: &#8220;parameter-doctype.xmap&#8221; that&#8217;s in: &#8220;\webapps\lenya\lenya\pubs\{yourPub}\&#8221; add a new sourcetype element with the name attribute: &#8220;basic&#8221; and a &#8220;document-element&#8221; with the namespace: &#8220;http://www.salvador.com/basic&#8221;. It is important that the namespace you add here matches the one you have in you XML an RNG file. You can guide yourself with the one that Lenya has</li>
<li>Edit the file: &#8220;content-namespaces.xml&#8221; that&#8217;s in: &#8220;\webapps\lenya\lenya\resources\misc\bxeng&#8221; and add a &#8220;xmlns&#8221; element with the value: &#8220;basic=http://www.salvador.com/basic&#8221;</li>
<li>Ok, almost over now, the next step is to create the file: &#8220;basic-namespaces.xml&#8221; with the content that has the elements:<br />
&#8220;namespaces&#8221; and inside the &#8220;xmlns&#8221; element with the value:&#8221;basic=http://www.salvador.com/basic&#8221; and save it in: &#8220;\webapps\lenya\lenya\pubs\{yourPub}\resources\misc\bxeng&#8221;</li>
<li>Finally create the:&#8221;basic-bxeng.css&#8221; file with the style you wish and save it on the same folder as above. This is jsut for the Bitflux editor.</li>
</ol>
<p>Uff that&#8217;s a full one isn&#8217;t it? Well I hope this helps somebody ! Any comment or question please let me know I will be glad to help.<br />
regards,<br />
Salvador</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/jsgaviota.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/jsgaviota.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jsgaviota.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jsgaviota.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jsgaviota.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jsgaviota.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jsgaviota.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jsgaviota.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jsgaviota.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jsgaviota.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jsgaviota.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jsgaviota.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jsgaviota.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jsgaviota.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jsgaviota.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jsgaviota.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jsgaviota.wordpress.com&amp;blog=593657&amp;post=4&amp;subd=jsgaviota&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jsgaviota.wordpress.com/2006/12/06/creating-new-doctypes-with-apache-lenya/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/68879327786a4cf4e637acf4b5583604?s=96&#38;d=identicon" medium="image">
			<media:title type="html">jsgaviota77</media:title>
		</media:content>
	</item>
		<item>
		<title>Introduction</title>
		<link>http://jsgaviota.wordpress.com/2006/12/05/hello-world/</link>
		<comments>http://jsgaviota.wordpress.com/2006/12/05/hello-world/#comments</comments>
		<pubDate>Tue, 05 Dec 2006 21:53:00 +0000</pubDate>
		<dc:creator>jsgaviota77</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Welcome to my blog ! This pretends to be a blog about a variety of information, more especificly things that have to do with this topics: Computer Science Space Science Philosophy History others As you may guess this are the topics that I&#8217;m interested about. My wish with this blog I just started is to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jsgaviota.wordpress.com&amp;blog=593657&amp;post=1&amp;subd=jsgaviota&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Welcome to my blog !<br />
This pretends to be a blog about a variety of information, more especificly things that have to do with this topics:</p>
<ul>
<li>Computer Science</li>
<li>Space Science</li>
<li>Philosophy</li>
<li>History</li>
<li>others</li>
</ul>
<p>As you may guess this are the topics that I&#8217;m interested about. My wish with this blog I just started is to share my thoughts with anybody who is interested in reading it and sharing it&#8217;s own opinion.<br />
regards,<br />
Salvador</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/jsgaviota.wordpress.com/1/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/jsgaviota.wordpress.com/1/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jsgaviota.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jsgaviota.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jsgaviota.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jsgaviota.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jsgaviota.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jsgaviota.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jsgaviota.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jsgaviota.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jsgaviota.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jsgaviota.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jsgaviota.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jsgaviota.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jsgaviota.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jsgaviota.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jsgaviota.wordpress.com&amp;blog=593657&amp;post=1&amp;subd=jsgaviota&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jsgaviota.wordpress.com/2006/12/05/hello-world/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/68879327786a4cf4e637acf4b5583604?s=96&#38;d=identicon" medium="image">
			<media:title type="html">jsgaviota77</media:title>
		</media:content>
	</item>
	</channel>
</rss>
