<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">El 12/3/25 a las 12:00, H. Hirzel
escribió:<br>
</div>
<blockquote type="cite"
cite="mid:4fdbd44c-9213-483a-881e-b4dda5c47b5a@gmail.com">On
11/03/2025 3:28 pm, Mariano Montone via Cuis-dev wrote:
<br>
<br>
<blockquote type="cite">Btw, last time I looked at DocBook, I
didn't find it extensible the way I would have liked.
<br>
<br>
In my opinion, we should have an XML standard that is easily
extensible, and that completely separates semantic elements from
its rendering.
<br>
<br>
That would make it possible to manipulate documents and extract
information from them in a powerful way, without losing
information. And also render the documents for different mediums
in a correct way.
<br>
<br>
I don't understand why there's not something like that. I don't
think DocBook is that, but it should have been.
<br>
</blockquote>
Could you please elaborate on this? For my purposes it seems to be
good enough. Or do you specifically mean the handling of the
embedded code expressions?
<br>
</blockquote>
<p>When I checked, DocBook schemas were not good enough for what I
wanted. What I have in mind is extensible document elements, and
the book pointing to needed extensions.</p>
<p>Let's say you want a book that shows Smalltalk code and also
display plots, then you could have something like this:</p>
<pre><book>
<schemas>
<schema src="smalltalk.schema"/>
<schema src="plots.schema"/>
</schemas>
<section title="My section">
<smalltalk>
Object inspect
</smalltalk>
<plot> ... </plot>
</section>
</book>
</pre>
<p>with smalltalk and plot elements specified in the schemas, and
they can be specified via inheritance, smalltalk element
inheriting from code element, etc.</p>
<p>I think DocBook schemas supports this to some extent, but they
are either too complicated, or they don't support inheritance, or
I am wrong. <br>
</p>
<blockquote type="cite"
cite="mid:4fdbd44c-9213-483a-881e-b4dda5c47b5a@gmail.com">
<blockquote type="cite">
<br>
That's what XMLEruditeBook is about.
<br>
</blockquote>
<br>
I have seen the start of that class in the code. It uses HTML
code. This is good if applied in a structured way. It is a huge
standard an may be adapted in may ways to suit a specific purpose.
Do you have plans to contine to work on this?
<br>
</blockquote>
<p>I would like to if I think the result may be valuable.<br>
</p>
<p> Mariano<br>
</p>
</body>
</html>