Re: Allow <info> as root element?
Norm Tovey-Walsh <[email protected]> Wed, 30 Nov 2022 13:02:48 +0000
| Newsgroups | gmane.text.docbook.misc |
|---|---|
| Message-ID | <[email protected]> |
--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
> On 30.11.22 01:47, David Cramer wrote:
>> I make most or all elements start elements in my DocBook variants because
>> why not?
>
> That true, this would be possible. However, that wouldn't be DocBook anym=
ore.
> Additionally, you increase your maintenance efforts if you have to create=
a
> DocBook variant just for customize the start elements.
Okay, but conversely, the position that the markup for every possible
documentation scenario must be in standard DocBook doesn=E2=80=99t scale. It
means DocBook just gets larger and looser until out of the box it has
very few constraints.
For most non-trivial documentation tasks, I end up with a bit of custom
markup and a bit of custom stylesheet processing. Sometimes I do that by
making an actual schema customization, sometimes with Schematron, and
sometimes by leveraging the new =E2=80=9Clocal-conventions=E2=80=9D transfo=
rmation in
xslTNG[1].
> Sometimes I would appreciate some more hooks to ease customization. ;)
Such as?
Be seeing you,
norm
[1] https://xsltng.docbook.org/guide/p_local-conventions.html
=2D-
Norman Tovey-Walsh <[email protected]>
https://nwalsh.com/
> Democracy consists of choosing your dictators, after they've told you
> what you think it is you want to hear.--Alan Corenk
--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEE1ury//rzuvqf7fN/hVWfHhJMAHkFAmOHVs0ACgkQhVWfHhJM
AHl/Zg//RtqW69+gLgQ1yOvQw49xkqDj5XTKmKSytMEoRXIDAE3DMqAVnfrWxDm7
0Ly5SjkaMDjTADR4mRJLn+rEgsckXcUN/URCIpswtBkz6eKWq81Ms/KVDcVbbNN1
OUkMPTY5dfgMJ5vVjgvLG3abP9dExTzLgY91MpEMgP9bJxp4LKgtFs8OYS97+nDN
z/Q0zetwpMI7OEEyREDNO7rlHA11rhNbY/MDQ8SmA5rM7YhKe19I4Q27/Jwy3P5/
u5s1NhOUaHTz3Crfb+EVWAgCenPxhhz/UA6v241HZu3oYaJO0Xw6xzi31Jlo5iMD
2tDmxhrG9FvOjNnWztQCb6hBePJ5Oilfk384EGgis3QotUUvWd+ka/tKbi4Xc6f4
dJ282qAlHgFFHHoI1fBfFKS+GN5S6SRz6jcZxGtnWahqyVH8EXLQDd6h8OhHDULV
0n7pAWSx624KN+rUbxQKOmeXl830D4P2RDkP63XBAtCZhE1HzBMyke1x3OKO/7+t
3mr8WODZkfVsE5Z2HNSWCiAoi59Ynom6bqAin1NBzRNGRX6fBrGuJUenGsl9eyAO
9OLju7XTUojd6j2Ymsu6haA+BLyetqTIhby80FU2Q32T5/ZsgObTYMl2t7OHa631
IWQiTGdotSqZdTezq/GCSJub3QAI+6j1k+p2rJ2PBXiP8l7k0wk=
=3MMs
-----END PGP SIGNATURE-----
--=-=-=--