-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 / "Eric S. Raymond" <[EMAIL PROTECTED]> was heard to say: |> It's harder to write the "else" cases in this style, but I think a |> little creativity in the syntax of the condition attributes might |> alleviate some of those problems. | | Propose a syntax? All the ones I thought up were too ugly to live. If | you can come up with anything better I might implement it.
I think I'm willing to live without else. If I want else, I think the right answer is a special-purpose XML vocabulary: <chapter> <prof:choose> <prof:when condition="html"> <title>HTML Title</title> </prof:when> <prof:when condition="print"> <title>Print Title</title> </prof:when> <prof:otherwise> <title>Print and HTML Title</title> </prof:otherwise> </prof:choose> .... Where the profiling application always removes all prof: elements. Be seeing you, norm - -- Norman Walsh <[EMAIL PROTECTED]> | Time wounds all heels. http://www.oasis-open.org/docbook/ | Chair, DocBook Technical Committee | -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/> iD8DBQE9pyJoOyltUcwYWjsRAujEAJwOzcDCBvA9lCGQrDi+Q5McjZELVACfaQhn sE12FV/TkuXEf7vhMnHTO0A= =YVPW -----END PGP SIGNATURE-----