ePublisher Invoking Tools and Post-Processing Outputs

Slides:



Advertisements
Similar presentations
CG0119 Web Database Systems Parsing XML: using SimpleXML & XSLT.
Advertisements

Advanced XSL Learn how to use advanced XSLT techniques, EXSLT, and Xalan extensions to solve complicated problems Cascade Server User’s ConferenceAmy.
XSL XSLT and XPath 11-Apr-17.
XML: Managing Data Exchange Stylesheets. Lesson Contents CSS The basic XSL file XSL transforms Templates Sort Numbering Parameters and Variables Datatypes.
Languages for Dynamic Web Documents
XML Prashant Karmarkar Brendan Nolan Alexander Roda.
Tutorial 3: Adding and Formatting Text. 2 Objectives Session 3.1 Type text into a page Copy text from a document and paste it into a page Check for spelling.
Chapter 12 Creating and Using XML Documents HTML5 AND CSS Seventh Edition.
ASP.NET INTRODUCTION INTO وزارة التربية و التعليم العالي كلية العلوم و التكنولوجيا قسم علوم الحاسوب و تكنولوجيا المعلومات اعداد الاستاذ: عبد الله محمد.
XML Publisher How Does It Work And What Can You Do With It Paul Whitehouse.
XML eXtensible Markup Language by Darrell Payne. Experience Logicon / Sterling Federal C, C++, JavaScript/Jscript, Shell Script, Perl XML Training XML.
School of Computing and Management Sciences © Sheffield Hallam University To understand the Oracle XML notes you need to have an understanding of all these.
CIS 451: XSL Dr. Ralph Westfall February, Problems With XML no formatting capabilities contra formatting tags like, etc. in HTML CSS can be used.
A Guide to Secure Web Services with GJXML Hey I downloade d an IEPD! Cool, how do you write a web service? I use.NET Moo! I use Java.
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 Exploring Microsoft Office Word 2007 Chapter 8 Word and the Internet Robert Grauer, Keith.
XHTML,XML M.Abdullah Mrian. What is the XHTML Why XHTML ?
Peoplesoft XML Publisher Integration with PeopleTools -Jayalakshmi S.
The Information School at the University of Washington INFO 440: Information System Design Fall 2003 * Bob Boiko * MSIM Associate Chair XML Transforms.
Presentation Topic: XML and ASP Presented by Yanzhi Zhang.
XML eXtensible Markup Language. Topics  What is XML  An XML example  Why is XML important  XML introduction  XML applications  XML support CSEB.
“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”
Using XML to store Descriptive Metadata Richard Murphy Rosarie O’Riordan Central Statistics Office Ireland.
ASP (Active Server Pages) by Bülent & Resul. Presentation Outline Introduction What is an ASP file? How does ASP work? What can ASP do? Differences Between.
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
Developing SQL Server 2000 Reporting Services Applications Brian Welcker Group Program Manager SQL Server Reporting Services Microsoft Corporation.
ASP. ASP is a powerful tool for making dynamic and interactive Web pages An ASP file can contain text, HTML tags and scripts. Scripts in an ASP file are.
ASP-2-1 SERVER AND CLIENT SIDE SCRITPING Colorado Technical University IT420 Tim Peterson.
Creating PHP Pages Chapter 5 PHP Structure and Syntax.
 Before you continue you should have a basic understanding of the following:  HTML  CSS  JavaScript.
JavaScript Introduction and Background. 2 Web languages Three formal languages HTML JavaScript CSS Three different tasks Document description Client-side.
Apache Cocoon – XML Publishing Framework 데이터베이스 연구실 박사 1 학기 이 세영.
FGDC  ISO MTX (Metadata Transformation XSLT) Bruce Westcott – Geospatial Metadata Consultant.
© 2005 KPIT Cummins Infosystems Limited We value our relationship XML Publisher Prafulla Kauthalkar RJTSB – Oracle Apps Consultant We value our relationship.
CGI programming Using Apache.
Displaying XML Data with XSLT
Show Me! ePublisher & Distributed Publishing
Power Hour April 2011 DITA and ePublisher
Show Me July 2011 ePublisher Overview
Power Hour October 2010 Building Custom Formats
Responsive Design Optimizing the browsing experience
Power Hour November 2010 Implementing Context-Sensitive Help
Show Me – March 2011 ePublisher 2010 – The Year in Review
Power Hour June 2012 Usage Metrics Learning about your audience
Power Hour May 2013 XSL-FO Basic Concepts and Markup
Power Hour December 2013 Images Optimizing for online and print
Power Hour July 2013 ePublisher Hacking Primer Format Conventions
Embedding the Reporting Engine Version 3.5
Microsoft Office Illustrated
Workshop on XML-Based Library Applications 5
Prepared for Md. Zakir Hossain Lecturer, CSE, DUET Prepared by Miton Chandra Datta
Power Hour June 2010 AutoMap Scripting
A Match Made In (Ethereal) Heaven
SSIS Deployment Smackdown!
Python Map Automation – Beyond the Basics of arcpy.mapping
Show Me September 2011 ePublisher Overview
Page Templates Leveraging Page Templates for Good and Evil
Power Hour October 2013 Extending Styles Adding properties and options
Show Me June 2011 ePublisher
Show Me! Conditional Text
Show Me October 2011 ePublisher Overview
Power Hour July 2010 Deployment Clients
An Introduction to JavaScript
Building Map Books in ArcGIS
Power Hour September 2014 Dynamic Merge Multi-volume Help on the Fly
Network Analyst – Automating Workflows with Geoprocessing
SQL Server 2005 Reporting Services
Adobe Acrobat DC Accessibility: Accessibility Checker
3rd Party Widgets & Custom Code
PDFs from DITA Examining the process of DITA to XSL-FO to PDF
CUSTOMER RETENTION RATE
Presentation transcript:

ePublisher Invoking Tools and Post-Processing Outputs Conference Number: 805-309-0248 Participant Code: 880-0006 Power Hour January 2013 ePublisher Invoking Tools and Post-Processing Outputs

ePublisher Invoking Tools and Post-Processing Outputs Power Hour – January 2013 Agenda Next Month’s Topic ePublisher Invoking Tools and Post-Processing Outputs Survey Results Webinar Schedule

Power Hour – January 2013 Next Month’s Topic

PDFs from DITA Examining the process of DITA to XSL-FO to PDF Next Month’s Topic Tie vote PDFs from DITA Examining the process of DITA to XSL-FO to PDF XSLT, Part II Beyond the Basics, Applying to ePublisher

ePublisher Invoking Tools and Post-Processing Outputs Power Hour – January 2013 ePublisher Invoking Tools and Post-Processing Outputs

Invoking Tools and Post-Processing Outputs What are your goals for this session?

Invoking Tools and Post-Processing Outputs What are your goals for this session? Not familiar with external tools available to post-process generated files. We use a few scripts with customized CSS files. Each time I upgrade the projects, I have to go into the Designer and be sure that the same selections are made. Is there an easier way to do this?

Invoking Tools and Post-Processing Outputs Topics to cover Output files from an XML source Post-process generated files with an external tool Run scripts to include data in generated content Run scripts during the publishing process to integrate with other systems

Invoking Tools and Post-Processing Outputs Background Topics Using XSL to process XML and text files Invoking command-line tools from XSL Embedding scripts in XSL Adding format stages Finding files in files.info

Invoking Tools and Post-Processing Outputs Resources Document XSL Extension http://wiki.webworks.com/DevCenter/Documentation/ExtensionObjects/ePublisher/ExslDocument Exec XSL Extension http://wiki.webworks.com/DevCenter/Documentation/ExtensionObjects/ePublisher/Exec MSXSL Script Blocks http://msdn.microsoft.com/en-us/library/533texsx%28v=vs.80%29.aspx Format Definition Files http://www.webworks.com/Documentation/Reverb/#page/04.Reference%2520Information/How%2 520It%2520Works.1.15.htm Toys Transform Server + files.info http://toys.webworks.com/ files-info-reporter (Resources for this webinar)

Invoking Tools and Post-Processing Outputs Using XSL to process XML and text files Load files using standard document() function or ePublisher’s Load function <xsl:variable name="VarDocument1" select="document('file:///C:/info.xml')" /> <xsl:variable name="VarDocument2" select="wwexsldoc:LoadXMLWithoutResolver ('file:///C:/info.xml')" /> <xsl:variable name="VarDocument3" select="wwexsldoc:LoadXMLWithoutResolver ('C:\info.xml')" />

Invoking Tools and Post-Processing Outputs Using XSL to process XML and text files Write files using ePublisher Document method <xsl:variable name="VarWriteDocument" select="wwexsldoc:Document( $VarResult, 'C:\badplacefor.xml')" />

Invoking Tools and Post-Processing Outputs Using XSL to process XML and text files Replace strings in a file Formats\Microsoft HTML Help 1.x\Transforms\htmlhelp_hhp.xsl <xsl:variable name="VarEntriesAsXML"> <wwmultisere:Entry match="$DefaultTopic;" replacement="{$VarDefaultTopic}" /> <wwmultisere:Entry match="$HomePage;" replacement="{$VarHomePage}" /> </xsl:variable> <xsl:variable name="VarEntries" select="msxsl:node-set($VarEntriesAsXML)/*" /> <xsl:variable name="VarReplaceInFile" select="wwmultisere:ReplaceAllInFile( 'UTF-8', $GlobalHHPPageTemplatePath, 'UTF-8', $ParamOutPath, $VarEntries)" />

Invoking Tools and Post-Processing Outputs Using XSL to process XML and text files Read text files into an XML document Shared\common\pages\pagetemplate.xsl Use in combination with String Utilities http://wiki.webworks.com/DevCenter/Documentation/ExtensionObjects/ePublisher/StringUtilities <xsl:variable name="VarFileContents" select="wwstring:FromFile('C:\data.txt', 'UTF-8')" />

Invoking Tools and Post-Processing Outputs Invoking command-line tools from XSL Invoke Results <xsl:variable name="VarExecResult" select="wwexec:Execute('doit.exe in out')" /> <wwexec:Result version="1.0" retcode="-1"> <wwexec:Stream name="Output"> Standard output will show up here, aka stdout. </wwexec:Stream> <wwexec:Stream name="Error"> Standard error will show up here, aka stderr. </wwexec:Stream> </wwexec:Result>

Invoking Tools and Post-Processing Outputs Embedding scripts in XSL Examples in ePublisher (these use C#) Shared\common\behaviors\finalize.xsl Shared\common\index\combine.xsl Shared\common\pdf\generate.xsl WebWorks Reverb\Transforms\search-index.xsl Any .NET language is supported (C#, VB.NET, F#, Jscript, etc.)

Invoking Tools and Post-Processing Outputs Adding format stages <Format version="1.0" xmlns="urn:WebWorks-Engine-Format-Schema"> <Capabilities>...</Capabilities> <TaskGroups>...</TaskGroups> <Pipelines> ... </Pipelines> </Format>

Invoking Tools and Post-Processing Outputs Adding format stages <Pipelines> <Pipeline name="Alpha"> <Stage>...</Stage> </Pipeline> <Pipeline name="Omega"> <Depends pipeline="Alpha" /> <Stage>...</Stage> </Pipeline> <Pipelines>

Invoking Tools and Post-Processing Outputs Adding format stages <Pipeline name="Omega"> <Depends pipeline="Alpha" /> <Stage type="xsl" action="wwformat:Transforms/pages.xsl"> <Parameter name="ParameterDependsType" value="engine:wif" /> <Parameter name="ParameterType" value="page:output" /> </Stage> </Pipeline>

Invoking Tools and Post-Processing Outputs Finding files in files.info <File path="C:\Output\html\files\about-documents.html" displayname="" type="page:output" checksum="634952537864096566:6033" projectchecksum="Z3b3W8H104A" groupID="RkxF9LT9R3I" documentID="MeMtvSYl88c" pipeline="Page" actionchecksum="aNeO1hn2XvbWLGFTe/Fm+A==" category="pages" use="external" deploy="true" >

Power Hour – January 2013 Survey Results

Survey Results When to meet:

Survey Results Voice Options:

Survey Results Topics to cover:

Survey Results Show Me! Topics to cover: Working with ePublisher Designer - the basics and a bit beyond Working with page breaks, TOCs, mini-TOCs and bookmarks when generating PDF documents from Word format. Show Me!

Power Hour – January 2013 Webinar Schedule

Power Hour: Webinar Schedule February 28th at 2:00pm Central Webinar Vote PDFs from DITA Examining the process of DITA to XSL-FO to PDF XSLT, Part II Beyond the Basics, Applying to ePublisher Sign-up at www.webworks.com/eSchool/Power_Hour/

Show Me: Webinar Schedule February 21th at 1:30pm Central Learn what the ePublisher platform can do for you Repeats monthly on the 3rd Thursday Sign-up at www.webworks.com/eSchool/Show_Me/

Study Hall: Webinar Schedule February 13th at 1:00pm Central Open forum for ePublisher users Repeats monthly on the 2nd and last Wednesdays Join at www.webworks.com/eSchool/Study_Hall/

Power Hour January 2013 ePublisher Invoking Tools and Post-Processing Outputs