Cover Pages Logo SEARCH
Advanced Search
ABOUT
Site Map
CP RSS Channel
Contact Us
Sponsoring CP
About Our Sponsors

NEWS
Cover Stories
Articles & Papers
Press Releases

CORE STANDARDS
XML
SGML
Schemas
XSL/XSLT/XPath
XLink
XML Query
CSS
SVG

TECHNOLOGY REPORTS
XML Applications
General Apps
Government Apps
Academic Apps

EVENTS
LIBRARY
Introductions
FAQs
Bibliography
Technology and Society
Semantics
Tech Topics
Software
Related Standards
Historic

Content Services companion workflow DTD


From: http://www.interwoven.com/company/standards/content-services/workflow.dtd. See http://www.interwoven.com/company/standards/content-services/.

<!ELEMENT workflow (description?, variables?, (usertask|submittask
                    |updatetask|externaltask|cgitask|endtask|grouptask
                    |dummytask|locktask|wftask)+)>
    <!ATTLIST workflow name ID #REQUIRED
                       owner CDATA #REQUIRED
                       creator CDATA #REQUIRED
                       description CDATA #IMPLIED>

<!ELEMENT description (#PCDATA)>

<!ELEMENT usertask (description?, areavpath, successors, timeout?,
                    files?, activation?, inactivate?, resets?, eastartop*, 
                    eafinishop*, variables?)>
    <!ATTLIST usertask owner CDATA #REQUIRED
                       name ID #REQUIRED
                       start (t|f) "f"
                       description CDATA #IMPLIED
                       lock (t|f) "f"
                       readonly (t|f) "f">

<!ELEMENT grouptask (description?, areavpath, successors, sharedby, timeout?,
                     files?, activation?, inactivate?, resets?, eastartop*, 
                     eafinishop*, variables?)>
    <!ATTLIST grouptask name ID #REQUIRED
                        start (t|f) "f"
                        description CDATA #IMPLIED
                        lock (t|f) "f"
                        retainowner (t|f) "f"
                        readonly (t|f) "f">
    <!ELEMENT sharedby (user|group)+>
        <!ELEMENT user EMPTY>
            <!ATTLIST user v CDATA #REQUIRED>
        <!ELEMENT group EMPTY>
            <!ATTLIST group v CDATA #REQUIRED>


<!ELEMENT submittask (description?, areavpath, successorset, timeout?,
                  files?, activation?, inactivate?, resets?,
                  eastartop*, eafinishop*, variables?)>
    <!ATTLIST submittask owner CDATA #REQUIRED
                         name ID #REQUIRED
                         start (t|f) "f"
                         skipconflicts (t|f) "f"
                         skiplocked (t|f) "f"
                         override (t|f) "f"
                         unlock (t|f) "f"
                         savecomments (t|f) "f"
                         description CDATA #IMPLIED>

<!ELEMENT updatetask (description?, areavpath, successorset, srcareavpath,
                      timeout?, files?, activation?, inactivate?, resets?,
                      eastartop*, eafinishop*, variables?)>
    <!ATTLIST updatetask owner CDATA #REQUIRED
                         name ID #REQUIRED
                         start (t|f) "f"
                         delete (t|f) "t"
                         overwritemod (t|f) "f"
                         description CDATA #IMPLIED
                         lock (t|f) "f">

<!ELEMENT externaltask (description?, areavpath, successors, command,
                        timeout?, files?, activation?, inactivate?, resets?, 
                        eastartop*, eafinishop*, variables?)>
    <!ATTLIST externaltask owner CDATA #REQUIRED
                           name ID #REQUIRED
                           start (t|f) "f"
                           description CDATA #IMPLIED
                           lock (t|f) "f"
                           readonly (t|f) "f"
                           retry (t|f) "t">

<!ELEMENT cgitask (description?, areavpath, successors, command,
                   timeout?, files?, activation?, inactivate?, resets?, 
                   eastartop*, eafinishop*, variables?)>
    <!ATTLIST cgitask owner CDATA #REQUIRED
                      name ID #REQUIRED
                      start (t|f) "f"
                      description CDATA #IMPLIED
                      lock (t|f) "f"
                      immediate (t|f) "f"
                      readonly (t|f) "f">

<!ELEMENT wftask (description?, areavpath, successors, jobfile|wftfile,
                  timeout?, files?, activation?, inactivate?, resets?, 
                  eastartop*, eafinishop*, variables?)>
    <!ATTLIST wftask owner CDATA #REQUIRED
                     name ID #REQUIRED
                     start (t|f) "f"
                     description CDATA #IMPLIED>

<!ELEMENT endtask (activation?, eastartop*, eafinishop*)>
    <!ATTLIST endtask name ID #REQUIRED
                      description CDATA #IMPLIED>

<!ELEMENT dummytask (description?, timeout, files?, 
                     activation?, inactivate?, resets?,
                     eastartop*, eafinishop*, variables?)>
    <!ATTLIST dummytask name ID #REQUIRED
                        start (t|f) "f"
                        description CDATA #IMPLIED>

<!ELEMENT locktask (description?, areavpath, success, failure, 
                    files?, activation?, inactivate?,
                    resets?, eastartop*, eafinishop*, variables?)>
    <!ATTLIST locktask owner CDATA #REQUIRED
                       name ID #REQUIRED
                       start (t|f) "f"
                       description CDATA #IMPLIED>
    <!-- Locking is implied -->
    <!ELEMENT success (succ+)>
    <!ELEMENT failure (succ+)>  

<!ELEMENT variables (variable+)>
    <!ELEMENT variable EMPTY>
        <!ATTLIST variable key NMTOKEN #REQUIRED
                           value CDATA #REQUIRED>


<!ELEMENT command EMPTY>
    <!ATTLIST command v CDATA #REQUIRED>

<!ELEMENT jobfile EMPTY>
    <!ATTLIST jobfile v CDATA #REQUIRED>

<!ELEMENT wftfile EMPTY>
    <!ATTLIST wftfile v CDATA #REQUIRED>

<!ELEMENT areavpath EMPTY>
    <!ATTLIST areavpath v CDATA #REQUIRED>

<!ELEMENT successors (successorset+)>

<!ELEMENT successorset (description?, succ+)>
    <!ATTLIST successorset description CDATA #IMPLIED>

<!ELEMENT succ EMPTY>
    <!ATTLIST succ v IDREF #REQUIRED>

<!ELEMENT files (file+)>

<!ELEMENT file EMPTY>
    <!ATTLIST file path CDATA #REQUIRED
                   comment CDATA #REQUIRED>

<!ELEMENT activation (and|or|not|pred)>

<!ELEMENT and (and|or|not|pred)*>

<!ELEMENT or (and|or|not|pred)*>

<!ELEMENT not (and|or|not|pred)>

<!ELEMENT pred EMPTY>
    <!ATTLIST pred v IDREF #REQUIRED>

<!ELEMENT inactivate (pred+)>

<!ELEMENT resets (reset+)>
    <!ELEMENT reset EMPTY>
        <!ATTLIST reset v IDREF #REQUIRED>

<!ELEMENT srcareavpath EMPTY>
    <!ATTLIST srcareavpath v CDATA #REQUIRED>

<!ELEMENT eastartop EMPTY>
    <!ATTLIST eastartop op (set|append|delete) #REQUIRED
                        name CDATA #REQUIRED
                        value CDATA #REQUIRED>

<!ELEMENT eafinishop EMPTY>
    <!ATTLIST eafinishop op (set|append|delete) #REQUIRED
                         name CDATA #REQUIRED
                         value CDATA #REQUIRED>

<!ELEMENT timeout (succ+)>
    <!ATTLIST timeout v CDATA #REQUIRED>
     
               

Prepared by Robin Cover for The XML Cover Pages archive.


Globe Image

Document URL: http://xml.coverpages.org/ContentServicesWorkflow-dtd.html