[dev] help.xml

Jan Schneider jan at horde.org
Mon Oct 25 05:47:36 PDT 2004


Zitat von Marko Djukic <mdjukic at horde.org>:

> What is the reason behind using xml in the help file? Couldn't the same be
> achieved with just simple html markup and css?

It's cooler! :)

> eg. instead of:
> <entry id="compose-from">
>     <title>Message Composition: From</title>
>     <heading>"From"</heading>
>     <para>
>     If enabled by your administrator you can choose from a drop-down list an
> identity that you entered under &quot;Options-&gt;Personal Information&quot;,
> or you can enter the mail address in a text field that you want to use as the
> sender of this message.
>     </para>
> </entry>
>
> Use something like:
> <div id="compose-from">
>     <h1>Message Composition: From</h1>
>     <h2>"From"</h2>
>     <p>If enabled by your administrator you can choose from a 
> drop-down list an
> identity that you entered under &quot;Options-&gt;Personal Information&quot;,
> or you can enter the mail address in a text field that you want to use as the
> sender of this message.</p>
> </div>
>
> So you could still extract the right entry from the file for showing a single
> help entry or building a table of contents, and there would be no 
> need for XML
> parsing and translation to HTML.
>
>
>
> --
> Marko Djukic
> Horde Project (http://horde.org)
>
> --
> Horde developers mailing list - Join the hunt: http://horde.org/bounties/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe at lists.horde.org
>
>



Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/


More information about the dev mailing list