On Feb 8, 2006, at 6:12 PM, Johan Kool wrote:

Focus on getting it easily readable for your own parser, as well as the human eye. If it works for that, it works for a GUI too.

OK, then, I think that's settled.

The final issue is about the prefix/suffix thing. Should they be plain text (as they are now), or should I allow them to have formatting attached to them?

If the latter, it'd look like this:

         <type name="book">
            <author alternate="title"/>
            <year>
              <prefix> (</prefix>
              <suffix>) </suffix>
            </year>
            <title>
              <suffix>.</suffix>
            </title>
            <publisher-place/>
            <publisher>
              <prefix>:</prefix>
            </publisher>
         </type>

It's more verbose and difficult to handle, but not significantly so.

For comparison, the alternative would be:

         <type name="book">
            <author alternate="title"/>
            <year prefix=" (" suffix=") "/>
            <title suffix="."/>
            <publisher-place/>
            <publisher prefix=":"/>
         </type>

Bruce

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to