SlideShare a Scribd company logo
1 of 28
Making WorkFlows XML Report Output
Work for You
LUC 2015
October 7-8, 2015
Natalie Palermo
LSU Law Center Library
Agenda
 Attribution
 Background
 Benefits of XML report output
 Drawbacks of XML report output in Excel
 Solution: XSLT stylesheet
 Create your own XSLT stylesheet
 Q & A
Attribution
This presentation made possible with information
posted to the SirsiDynix Symphony System-Admin
discussion list by:
Philip Gunderson, San Diego Central Library
pgunderson@sandiego.gov
Background
 XML
 Extensible Markup Language
 Markup language much like HMTL
 Designed to store and transport data
 Symphony 3.4 introduced XML output to some
reports
 Using certain print tools (e.g., prtuser)
 Come with default stylesheets
 Stylesheet name is the name of the print tool (e.g., prtuser.xsl)
 Custom stylesheets can be created and uploaded to the server
 Symphony 3.5
 Over 100 reports with XML output
Benefits of WF XML Report Output
 Often more useful than delivered report output
 Can get custom output without a custom report
 Can be exported to 3rd party programs (e.g., Excel)
Drawbacks of XML Report Output in Excel
 Unnecessary columns
 Multiple rows
 Ambiguous column labels
Solution: XSLT Stylesheet
 XSL = Extensible Stylesheet Language
 Stylesheet language for XML documents
 XSLT = Extensible Stylesheet Language
Transformations
 Stylesheet language for transforming XML documents
 XSLT stylesheet
 Expression of a transformation in XSLT
 Knowledge of XML and XSLT is not really necessary
 You will need:
 XML report output from Symphony
 Text editor that can format and indent XML
 Notepad++ with the XML Tools plugin used for this presentation
 XSLT stylesheet template
Create Your Own XSLT Stylesheet
1. Identify wanted columns from XML report output
2. Get XML report output from WorkFlows
3. Format XML report output
4. Identify nodes in XML report output
5. Create XSLT stylesheet
6. Link XSLT stylesheet to XML report output
7. Open XML report output in Excel
8. Upload stylesheet to Symphony (optional)
1. Identify Wanted Columns from XML
Output
 View finished report with XML output in Excel
 Reminder: uncheck view log
 Note the column headings you want
2. Get XML Report Output from WorkFlows
 View finished report (without log and style sheet)
 If application to view XML reports is Excel:
 Remove Excel as the application to view XML reports in Report
Session settings (remember not to save properties)
 Save the XML file in the same directory with your
XSLT template
3. Format XML Report Output
 Open file in Notepad++
 Click Plugins from the
menu
 Click XML Tools
 Click Pretty print (XML
only -- with line breaks)
Nicely Formatted XML Report Output
Closer Look
 Each user’s output includes:
 userID, name, library, address1, address2, address3, and
note extended info
4. Identify Nodes in XML Report Output
 Follow the indented hierarchy of each <tag></tag>
pair
 Each <tag></tag> pair represents a node
 Ignore the following tags:
 <?xml version="1.0" encoding="UTF-8"?>
 <title></title>
 <dateCreated></dateCreated>
 <dateFormat></dateFormat>
 <report></report> is always the highest node in the
hierarchy of WF XML report output
 A node set is a set of nodes (node within a node)
4. Identify Nodes in XML Report Output
5. Create XSLT Stylesheet
 Start with:
 Top four lines mean:
 This is an XML document
 This is an XSLT stylesheet
 The output will be XML, indented according to its hierarchy
 The rules to follow will be applied to specified node set
5. Create XSLT Stylesheet
 Name <node1></node1>
 Container for our output, like an Excel spreadsheet name
 Our example: <users></users>
 Supply the path for <xsl:for-each> select attribute
 <xsl:for-each> represents a loop
 Path is the highest XML node set that includes the data
we want included in our output
 Our example: <xsl:for-each select="report/user">
 Name <node2></node2>
 Container for each record, like an Excel row
 Our example: <userline></userline>
5. Create XSLT Stylesheet
5. Create XSLT Stylesheet
 Name <node3></node3>
 Container for each type of data, like an Excel column
 Use tag names that you see in XML (e.g., <userID>)
 Repeat and name as many times as needed
 Supply the path for each <xsl:value-of> select
attribute
 Path is the XML node or node set containing the data
 Include attributes as needed [@name="value"]
 Like an Excel cell
 Examples:
5. Create XSLT Stylesheet
 Extended info in <node3></node3>
 1st instance only
 Supply the path for <xsl:value-of> select attribute
 All instances
 Supply <xsl:for-each> loop within the main <xsl:for-each> loop
5. Create XSLT Stylesheet
 Save stylesheet with a new name (e.g., listusers.xsl)
6. Link XSLT Stylesheet to XML Report
Output
 Add the following as line 2 to the XML report output
 <?xml-stylesheet type="text/xsl" href="stylesheet.xsl"?>
 stylesheet.xsl is the name of your XSLT stylesheet
 Our example: <?xml-stylesheet type="text/xsl"
href="listusers.xsl"?>
 Save your XML report output
XML and XSLT Stylesheet Side-by-Side
 Note: this stylesheet excludes displayName, library,
address2, and address3 from original XML output
7. Open XML Report Output in Excel
 Open Excel
 Click File tab
 Click Open
 Navigate to XML file and click Open
 Click 2nd radio button option in Import XML dialog
 XSLT stylesheet will be selected
 Click OK
 Click Yes to open file (ignore different format
message)
 Click OK to open file as an XML table
 Click OK (ignore message about schema)
Your XSLT Stylesheet Works!!!
8. Upload Stylesheet to Symphony
(Optional)
 Once your stylesheet is complete, it is ready for
uploading to the Symphony server
 Allows you to select the stylesheet when the report is run
 Eliminates the need to link the XSLT stylesheet to the
XML
 Open a Footprints to request the upload
 Specify the default stylesheet upon which your custom
stylesheet was created
 Stylesheet will be uploaded to the directory for that print tool
 Limits availability of stylesheet to reports using the same print
tool
 listusers.xsl would not be available for List Bibliography report
 Now, select your custom XSLT stylesheet when
running the report and opening the XML output in
Q & A
Contact Information
Natalie Palermo
LSU Law Center Library
(225) 578-6530
natalie.palermo@law.lsu.edu

More Related Content

What's hot

Microsoft office excel 2003
Microsoft office excel 2003Microsoft office excel 2003
Microsoft office excel 2003Nisrina Khalilah
 
RDBMS Lab03 applying constraints (UIU)
RDBMS Lab03 applying constraints (UIU)RDBMS Lab03 applying constraints (UIU)
RDBMS Lab03 applying constraints (UIU)Muhammad T Q Nafis
 
Understanding spreadsheets2
Understanding spreadsheets2Understanding spreadsheets2
Understanding spreadsheets2LearnIT@UD
 
Class viii ch-4 working with queries
Class  viii ch-4 working with queriesClass  viii ch-4 working with queries
Class viii ch-4 working with queriesjessandy
 
Book HH - SQL MATERIAL
Book   HH - SQL MATERIALBook   HH - SQL MATERIAL
Book HH - SQL MATERIALSatya Harish
 
Tutorial 5: Excel Tables, PivotTables, and Pivot Charts
Tutorial 5: Excel Tables, PivotTables, and Pivot ChartsTutorial 5: Excel Tables, PivotTables, and Pivot Charts
Tutorial 5: Excel Tables, PivotTables, and Pivot Chartscios135
 

What's hot (9)

DBMS
DBMSDBMS
DBMS
 
Microsoft office excel 2003
Microsoft office excel 2003Microsoft office excel 2003
Microsoft office excel 2003
 
Quicktip excel
Quicktip excelQuicktip excel
Quicktip excel
 
RDBMS Lab03 applying constraints (UIU)
RDBMS Lab03 applying constraints (UIU)RDBMS Lab03 applying constraints (UIU)
RDBMS Lab03 applying constraints (UIU)
 
Understanding spreadsheets2
Understanding spreadsheets2Understanding spreadsheets2
Understanding spreadsheets2
 
Class viii ch-4 working with queries
Class  viii ch-4 working with queriesClass  viii ch-4 working with queries
Class viii ch-4 working with queries
 
Endnote tutorial
Endnote tutorialEndnote tutorial
Endnote tutorial
 
Book HH - SQL MATERIAL
Book   HH - SQL MATERIALBook   HH - SQL MATERIAL
Book HH - SQL MATERIAL
 
Tutorial 5: Excel Tables, PivotTables, and Pivot Charts
Tutorial 5: Excel Tables, PivotTables, and Pivot ChartsTutorial 5: Excel Tables, PivotTables, and Pivot Charts
Tutorial 5: Excel Tables, PivotTables, and Pivot Charts
 

Viewers also liked (8)

Toc
TocToc
Toc
 
Xml Presentation-1
Xml Presentation-1Xml Presentation-1
Xml Presentation-1
 
Xml Presentation-3
Xml Presentation-3Xml Presentation-3
Xml Presentation-3
 
Xml
XmlXml
Xml
 
Xml 215-presentation
Xml 215-presentationXml 215-presentation
Xml 215-presentation
 
Introduction to xml
Introduction to xmlIntroduction to xml
Introduction to xml
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
 
Ms access
Ms accessMs access
Ms access
 

Similar to Making WorkFlows XML Report Output Work For You

Similar to Making WorkFlows XML Report Output Work For You (20)

Learning XSLT
Learning XSLTLearning XSLT
Learning XSLT
 
transforming xml using xsl and xslt
transforming xml using xsl and xslttransforming xml using xsl and xslt
transforming xml using xsl and xslt
 
Xslt
XsltXslt
Xslt
 
"Getting Started with XSLT" presentation slides
"Getting Started with XSLT" presentation slides"Getting Started with XSLT" presentation slides
"Getting Started with XSLT" presentation slides
 
Xml part5
Xml part5Xml part5
Xml part5
 
Full xml
Full xmlFull xml
Full xml
 
5 xsl (formatting xml documents)
5   xsl (formatting xml documents)5   xsl (formatting xml documents)
5 xsl (formatting xml documents)
 
Introduction to xml schema
Introduction to xml schemaIntroduction to xml schema
Introduction to xml schema
 
paper about xml
paper about xmlpaper about xml
paper about xml
 
XMLPublisher
XMLPublisherXMLPublisher
XMLPublisher
 
Applied xml programming for microsoft
Applied xml programming for microsoftApplied xml programming for microsoft
Applied xml programming for microsoft
 
Introduction to XSLT
Introduction to XSLTIntroduction to XSLT
Introduction to XSLT
 
Integrative Programming and Technology Chapter 4- Dr. J. VijiPriya
Integrative Programming and Technology Chapter 4- Dr. J. VijiPriyaIntegrative Programming and Technology Chapter 4- Dr. J. VijiPriya
Integrative Programming and Technology Chapter 4- Dr. J. VijiPriya
 
XPATH_XSLT-1.pptx
XPATH_XSLT-1.pptxXPATH_XSLT-1.pptx
XPATH_XSLT-1.pptx
 
Xslt
XsltXslt
Xslt
 
Xslt
XsltXslt
Xslt
 
Xml
XmlXml
Xml
 
Day Of Dot Net Ann Arbor 2007
Day Of Dot Net Ann Arbor 2007Day Of Dot Net Ann Arbor 2007
Day Of Dot Net Ann Arbor 2007
 
Rancangan Jaringan Komputer
Rancangan Jaringan KomputerRancangan Jaringan Komputer
Rancangan Jaringan Komputer
 
Xslt
XsltXslt
Xslt
 

More from LOUIS Libraries

A Few Things You Should Know About LOUIS
A Few Things You Should Know About LOUISA Few Things You Should Know About LOUIS
A Few Things You Should Know About LOUISLOUIS Libraries
 
ROI - Investing in Our People through the Affordable Learning LOUISiana Initi...
ROI - Investing in Our People through the Affordable Learning LOUISiana Initi...ROI - Investing in Our People through the Affordable Learning LOUISiana Initi...
ROI - Investing in Our People through the Affordable Learning LOUISiana Initi...LOUIS Libraries
 
Keep Calm and Breathe During Disaster Recovery
Keep Calm and Breathe During Disaster RecoveryKeep Calm and Breathe During Disaster Recovery
Keep Calm and Breathe During Disaster RecoveryLOUIS Libraries
 
LOUIS: A Model for Consortial Collaboration
LOUIS: A Model for Consortial CollaborationLOUIS: A Model for Consortial Collaboration
LOUIS: A Model for Consortial CollaborationLOUIS Libraries
 
Socially Challenged? Not Us! Using Social Media to Advance Your Library
Socially Challenged? Not Us! Using Social Media to Advance Your LibrarySocially Challenged? Not Us! Using Social Media to Advance Your Library
Socially Challenged? Not Us! Using Social Media to Advance Your LibraryLOUIS Libraries
 
Beyond Excel: Using Access for Fun and Productivity
Beyond Excel: Using Access for Fun and ProductivityBeyond Excel: Using Access for Fun and Productivity
Beyond Excel: Using Access for Fun and ProductivityLOUIS Libraries
 
SciFinder: a Brief Overview of CAS Content, Indexing & Support
SciFinder: a Brief Overview of CAS Content, Indexing & SupportSciFinder: a Brief Overview of CAS Content, Indexing & Support
SciFinder: a Brief Overview of CAS Content, Indexing & SupportLOUIS Libraries
 
A Flickr of Metadata: Tales from a Crowdsourcing Project
A Flickr of Metadata: Tales from a Crowdsourcing ProjectA Flickr of Metadata: Tales from a Crowdsourcing Project
A Flickr of Metadata: Tales from a Crowdsourcing ProjectLOUIS Libraries
 
Showin' Your Stuff: Poster Session Success
Showin' Your Stuff: Poster Session SuccessShowin' Your Stuff: Poster Session Success
Showin' Your Stuff: Poster Session SuccessLOUIS Libraries
 
Navigating Reclassifying from Dewey to LC: Reclass Rehash
Navigating Reclassifying from Dewey to LC: Reclass RehashNavigating Reclassifying from Dewey to LC: Reclass Rehash
Navigating Reclassifying from Dewey to LC: Reclass RehashLOUIS Libraries
 
Literati Platform Training and Usage Workshop
Literati Platform Training and Usage WorkshopLiterati Platform Training and Usage Workshop
Literati Platform Training and Usage WorkshopLOUIS Libraries
 
Planning a Library-Wide Open House: Data-Driven Decision Making in Action
Planning a Library-Wide Open House: Data-Driven Decision Making in ActionPlanning a Library-Wide Open House: Data-Driven Decision Making in Action
Planning a Library-Wide Open House: Data-Driven Decision Making in ActionLOUIS Libraries
 
Adding Document Delivery Services to an Interlibrary Loan Department
Adding Document Delivery Services to an Interlibrary Loan DepartmentAdding Document Delivery Services to an Interlibrary Loan Department
Adding Document Delivery Services to an Interlibrary Loan DepartmentLOUIS Libraries
 
Data Wrangling with Open Refine
Data Wrangling with Open RefineData Wrangling with Open Refine
Data Wrangling with Open RefineLOUIS Libraries
 

More from LOUIS Libraries (15)

A Few Things You Should Know About LOUIS
A Few Things You Should Know About LOUISA Few Things You Should Know About LOUIS
A Few Things You Should Know About LOUIS
 
ROI - Investing in Our People through the Affordable Learning LOUISiana Initi...
ROI - Investing in Our People through the Affordable Learning LOUISiana Initi...ROI - Investing in Our People through the Affordable Learning LOUISiana Initi...
ROI - Investing in Our People through the Affordable Learning LOUISiana Initi...
 
Keep Calm and Breathe During Disaster Recovery
Keep Calm and Breathe During Disaster RecoveryKeep Calm and Breathe During Disaster Recovery
Keep Calm and Breathe During Disaster Recovery
 
LOUIS: A Model for Consortial Collaboration
LOUIS: A Model for Consortial CollaborationLOUIS: A Model for Consortial Collaboration
LOUIS: A Model for Consortial Collaboration
 
Socially Challenged? Not Us! Using Social Media to Advance Your Library
Socially Challenged? Not Us! Using Social Media to Advance Your LibrarySocially Challenged? Not Us! Using Social Media to Advance Your Library
Socially Challenged? Not Us! Using Social Media to Advance Your Library
 
Beyond Excel: Using Access for Fun and Productivity
Beyond Excel: Using Access for Fun and ProductivityBeyond Excel: Using Access for Fun and Productivity
Beyond Excel: Using Access for Fun and Productivity
 
SciFinder: a Brief Overview of CAS Content, Indexing & Support
SciFinder: a Brief Overview of CAS Content, Indexing & SupportSciFinder: a Brief Overview of CAS Content, Indexing & Support
SciFinder: a Brief Overview of CAS Content, Indexing & Support
 
Weeding Round-Up
Weeding Round-UpWeeding Round-Up
Weeding Round-Up
 
A Flickr of Metadata: Tales from a Crowdsourcing Project
A Flickr of Metadata: Tales from a Crowdsourcing ProjectA Flickr of Metadata: Tales from a Crowdsourcing Project
A Flickr of Metadata: Tales from a Crowdsourcing Project
 
Showin' Your Stuff: Poster Session Success
Showin' Your Stuff: Poster Session SuccessShowin' Your Stuff: Poster Session Success
Showin' Your Stuff: Poster Session Success
 
Navigating Reclassifying from Dewey to LC: Reclass Rehash
Navigating Reclassifying from Dewey to LC: Reclass RehashNavigating Reclassifying from Dewey to LC: Reclass Rehash
Navigating Reclassifying from Dewey to LC: Reclass Rehash
 
Literati Platform Training and Usage Workshop
Literati Platform Training and Usage WorkshopLiterati Platform Training and Usage Workshop
Literati Platform Training and Usage Workshop
 
Planning a Library-Wide Open House: Data-Driven Decision Making in Action
Planning a Library-Wide Open House: Data-Driven Decision Making in ActionPlanning a Library-Wide Open House: Data-Driven Decision Making in Action
Planning a Library-Wide Open House: Data-Driven Decision Making in Action
 
Adding Document Delivery Services to an Interlibrary Loan Department
Adding Document Delivery Services to an Interlibrary Loan DepartmentAdding Document Delivery Services to an Interlibrary Loan Department
Adding Document Delivery Services to an Interlibrary Loan Department
 
Data Wrangling with Open Refine
Data Wrangling with Open RefineData Wrangling with Open Refine
Data Wrangling with Open Refine
 

Recently uploaded

[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 

Recently uploaded (20)

[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 

Making WorkFlows XML Report Output Work For You

  • 1. Making WorkFlows XML Report Output Work for You LUC 2015 October 7-8, 2015 Natalie Palermo LSU Law Center Library
  • 2. Agenda  Attribution  Background  Benefits of XML report output  Drawbacks of XML report output in Excel  Solution: XSLT stylesheet  Create your own XSLT stylesheet  Q & A
  • 3. Attribution This presentation made possible with information posted to the SirsiDynix Symphony System-Admin discussion list by: Philip Gunderson, San Diego Central Library pgunderson@sandiego.gov
  • 4. Background  XML  Extensible Markup Language  Markup language much like HMTL  Designed to store and transport data  Symphony 3.4 introduced XML output to some reports  Using certain print tools (e.g., prtuser)  Come with default stylesheets  Stylesheet name is the name of the print tool (e.g., prtuser.xsl)  Custom stylesheets can be created and uploaded to the server  Symphony 3.5  Over 100 reports with XML output
  • 5. Benefits of WF XML Report Output  Often more useful than delivered report output  Can get custom output without a custom report  Can be exported to 3rd party programs (e.g., Excel)
  • 6. Drawbacks of XML Report Output in Excel  Unnecessary columns  Multiple rows  Ambiguous column labels
  • 7. Solution: XSLT Stylesheet  XSL = Extensible Stylesheet Language  Stylesheet language for XML documents  XSLT = Extensible Stylesheet Language Transformations  Stylesheet language for transforming XML documents  XSLT stylesheet  Expression of a transformation in XSLT  Knowledge of XML and XSLT is not really necessary  You will need:  XML report output from Symphony  Text editor that can format and indent XML  Notepad++ with the XML Tools plugin used for this presentation  XSLT stylesheet template
  • 8. Create Your Own XSLT Stylesheet 1. Identify wanted columns from XML report output 2. Get XML report output from WorkFlows 3. Format XML report output 4. Identify nodes in XML report output 5. Create XSLT stylesheet 6. Link XSLT stylesheet to XML report output 7. Open XML report output in Excel 8. Upload stylesheet to Symphony (optional)
  • 9. 1. Identify Wanted Columns from XML Output  View finished report with XML output in Excel  Reminder: uncheck view log  Note the column headings you want
  • 10. 2. Get XML Report Output from WorkFlows  View finished report (without log and style sheet)  If application to view XML reports is Excel:  Remove Excel as the application to view XML reports in Report Session settings (remember not to save properties)  Save the XML file in the same directory with your XSLT template
  • 11. 3. Format XML Report Output  Open file in Notepad++  Click Plugins from the menu  Click XML Tools  Click Pretty print (XML only -- with line breaks)
  • 12. Nicely Formatted XML Report Output
  • 13. Closer Look  Each user’s output includes:  userID, name, library, address1, address2, address3, and note extended info
  • 14. 4. Identify Nodes in XML Report Output  Follow the indented hierarchy of each <tag></tag> pair  Each <tag></tag> pair represents a node  Ignore the following tags:  <?xml version="1.0" encoding="UTF-8"?>  <title></title>  <dateCreated></dateCreated>  <dateFormat></dateFormat>  <report></report> is always the highest node in the hierarchy of WF XML report output  A node set is a set of nodes (node within a node)
  • 15. 4. Identify Nodes in XML Report Output
  • 16. 5. Create XSLT Stylesheet  Start with:  Top four lines mean:  This is an XML document  This is an XSLT stylesheet  The output will be XML, indented according to its hierarchy  The rules to follow will be applied to specified node set
  • 17. 5. Create XSLT Stylesheet  Name <node1></node1>  Container for our output, like an Excel spreadsheet name  Our example: <users></users>  Supply the path for <xsl:for-each> select attribute  <xsl:for-each> represents a loop  Path is the highest XML node set that includes the data we want included in our output  Our example: <xsl:for-each select="report/user">  Name <node2></node2>  Container for each record, like an Excel row  Our example: <userline></userline>
  • 18. 5. Create XSLT Stylesheet
  • 19. 5. Create XSLT Stylesheet  Name <node3></node3>  Container for each type of data, like an Excel column  Use tag names that you see in XML (e.g., <userID>)  Repeat and name as many times as needed  Supply the path for each <xsl:value-of> select attribute  Path is the XML node or node set containing the data  Include attributes as needed [@name="value"]  Like an Excel cell  Examples:
  • 20. 5. Create XSLT Stylesheet  Extended info in <node3></node3>  1st instance only  Supply the path for <xsl:value-of> select attribute  All instances  Supply <xsl:for-each> loop within the main <xsl:for-each> loop
  • 21. 5. Create XSLT Stylesheet  Save stylesheet with a new name (e.g., listusers.xsl)
  • 22. 6. Link XSLT Stylesheet to XML Report Output  Add the following as line 2 to the XML report output  <?xml-stylesheet type="text/xsl" href="stylesheet.xsl"?>  stylesheet.xsl is the name of your XSLT stylesheet  Our example: <?xml-stylesheet type="text/xsl" href="listusers.xsl"?>  Save your XML report output
  • 23. XML and XSLT Stylesheet Side-by-Side  Note: this stylesheet excludes displayName, library, address2, and address3 from original XML output
  • 24. 7. Open XML Report Output in Excel  Open Excel  Click File tab  Click Open  Navigate to XML file and click Open  Click 2nd radio button option in Import XML dialog  XSLT stylesheet will be selected  Click OK  Click Yes to open file (ignore different format message)  Click OK to open file as an XML table  Click OK (ignore message about schema)
  • 26. 8. Upload Stylesheet to Symphony (Optional)  Once your stylesheet is complete, it is ready for uploading to the Symphony server  Allows you to select the stylesheet when the report is run  Eliminates the need to link the XSLT stylesheet to the XML  Open a Footprints to request the upload  Specify the default stylesheet upon which your custom stylesheet was created  Stylesheet will be uploaded to the directory for that print tool  Limits availability of stylesheet to reports using the same print tool  listusers.xsl would not be available for List Bibliography report  Now, select your custom XSLT stylesheet when running the report and opening the XML output in
  • 27. Q & A
  • 28. Contact Information Natalie Palermo LSU Law Center Library (225) 578-6530 natalie.palermo@law.lsu.edu