{RFC] XSLT for draft watermarking?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Both <book> and <article> in DocBook support a CDATA attribute called
"status".  (I.e., <book status="published"> or something like that.)
Does this mean we could have XSLT do the work of deciding which
stylesheet to use, without having to have a new "make" target?  When the
work is approved, the author or editor can add this attribute to the top
of their doc, and the next build fixes the make.  If you want to dream
really big like Karsten, then think of that status attribute being
manipulated by a XML/XSLT capable shell script that is part of a Larger
Automated Process.  For example, when the doc is published, it gets
branched and the branch gets the status="published" tag, whereas HEAD
keeps the default draft.

Is this possible?

-- 
Paul W. Frields, RHCE                          http://paul.frields.org/
  gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233  5906 ACDB C937 BD11 3717
 Fedora Documentation Project: http://fedora.redhat.com/projects/docs/

Attachment: signature.asc
Description: This is a digitally signed message part

-- 

fedora-docs-list@xxxxxxxxxx
To unsubscribe: 
https://www.redhat.com/mailman/listinfo/fedora-docs-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Red Hat 9]     [Yosemite News]     [KDE Users]

  Powered by Linux