[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [docstandards-interop-discuss] Clarifications / Scope of the intended work?
-------- Original Message --------
Specifically we want to formalize mechanisms for exchanging content between organizations or applications that are using different XML document standards - so not PDF per se, but ODF, DITA, and DocBook, for a start, and hopefully others as we progress.
<?xml version="1.0" encoding="UTF-8"?> <pdfGenXML xmlns:xmp="http://www.adobe.com/xmp"> <pdfHeader> <!-- This allows setting of various properties for the PDF document --> <pdfSettings> <pdfSet property="PageSize" value="8.5x11"/> <pdfSet property="DPI" value="72"/> </pdfSettings> <!-- Also XMP metadata tags --> <pdfXMP> <xmp:Stuff/> </pdfXMP> </pdfHeader> <pdfContent sourceURL='c:\samples\content\docs1'> <pdfDefaults> <pdfPgHdr lines="2" text="A sample generated PDF //@date()//" align="middle"/> <pdfPgFtr lines="2" text="Copyright //@char('#1234')// OASIS pdfGen TC - Page //@page()//" align="left"/> </pdfDefaults> <pdfPage> <pdfSuppress Hdr="true" Ftr="true"/> <pdfText syntax="HTML" font="Times Roman" size="3"> <br/><h1>Our Sample Document</h1> <br/><br/><h3>Generated using pdfGen XML scripting</h3> </pdfText> <pdfBarCode style="3of9" rotated="no" position="10,5" startvalue="120055544"/> </pdfPage> <pdfPage> <pdfTOC style="default"> <pdfBookMark name="Chapter 1"/> <pdfBookMark name="Chapter 2"/> <pdfBookMark name="Chapter 3"/> <pdfBookMark name="Chapter 4"/> </pdfTOC> </pdfPage> <pdfPage> <pdfSetBookMark name="Chapter 1"/> <pdfInsert type="PDF" sourceDOC='..\mydoc1.pdf' scaleContent="false"/> <pdfValidation> <pdfCheck condition="pageCount" max="1" severity="warn">WARNING: //@sourceDOC() page count more than one.</pdfCheck> <pdfCheck condition="required" severity="error">ERROR: //@sourceDOC() missing.</pdfCheck> </pdfValidation> </pdfPage> <pdfPage> <pdfSetBookMark name="Chapter 2"/> <pdfText space="preserve" syntax="text" font="Times Roman" size="3"> Sample Image of Blocked Pipe </pdfText> <pdfInsert type="JPG" sourceDOC="..\mypic1.jpg" scaleContent="fitToPage"/> </pdfPage> <pdfPage> <pdfInsert type="PDF" sourceDOC="..\mydoc2.pdf" scaleContent="false" editable="flatten" preserveNotes="true"/> </pdfPage> <pdfPage> <pdfSetBookMark name="Chapter 3"/> <pdfInsert type="PDF" sourceDOC="..\mydoc3.pdf" scaleContent="adjustPageSize" landscape="rotate"/> <pdfValidation> <pdfCheck condition="contains" value="Introduction to PDF handling">WARNING: //@sourceDOC() missing topic - 'Introduction to PDF handling'.</pdfCheck> <pdfCheck condition="required" severity="error">ERROR: //@sourceDOC() missing.</pdfCheck> </pdfValidation> </pdfPage> <pdfPage> <pdfSetBookMark name="Chapter 4"/> <pdfInsert type="XFO" sourceDOC="..\mydoc3.xml" stylesheet="..\page-layout.xsl"/> </pdfPage> </pdfContent> <pdfOnError> <pdfIfError> <pdfPage> <pdfText space="preserve" syntax="HTML" font="Times Roman" size="3"> <br/><h1>ERROR OCCURRED:</h1> <br/><br/><h3>Generation failed - reason:</h3><br/> <pre> </pdfText> <pdfErrorText/> <pdfText space="preserve" syntax="HTML" font="Times Roman" size="3"> </pre> </pdfText> </pdfPage> </pdfIfError> <pdfReport method="REST" targetURL="my.webservice.com:8044/catchit" syntax="http"> <pdfPage> <pdfIfError> <pdfText space="preserve" syntax="HTML" font="Times Roman" size="3"> <br/><h1>ERROR OCCURRED:</h1> <br/><br/><h3>Generation failed - reason:</h3><br/> <pre> </pdfText> </pdfIfError> <pdfIfWarn> <pdfText space="preserve" syntax="HTML" font="Times Roman" size="3"> <br/><h1>Warning:</h1> <br/><br/><h3>Invalid content - reason:</h3><br/> <pre> </pdfText> </pdfIfWarn> <pdfErrorText/> <pdfText space="preserve" syntax="HTML" font="Times Roman" size="3"> </pre> </pdfText> </pdfPage> </pdfReport> </pdfOnError> </pdfGenXML>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]