The place of XSLT in the XML family (2/2)
Pdf metadata - add, remove, update PDF metadata in, ASP.NET, MVC, Ajax, WinForms, WPF
Allow C# Developers to Read, Add, Edit, Update and Delete PDF Metadata
edit pdf metadata; pdf keywords metadata
Pdf metadata - VB.NET PDF metadata library: add, remove, update PDF metadata in, ASP.NET, MVC, Ajax, WinForms, WPF
Enable VB.NET Users to Read, Write, Edit, Delete and Update PDF Document Metadata
pdf xmp metadata editor; add metadata to pdf
Simple Transformation Examples with XSLT
 XSLTrace from IBM AlphaWorks
available at
 allows a user to visually "step through" an XSL transformation,
highlighting the transformation rules as they are red.
 Add the XSLTrace.jar, xml4j.jar, lotusxsl.jar Java archives $CLASSPATH.
 command line: java <input> <style>
 input: xml and xslt documents from Chapters 1 and 2 from
XSLT Programmer’s Reference, M. Kay.
How to C#: Modify Image Metadata (tag)
edit, C#.NET PDF pages extract, copy, paste, C#.NET rotate PDF pages, C#.NET search text in PDF, C#.NET edit PDF bookmark, C#.NET edit PDF metadata, C#.NET
clean pdf metadata; remove pdf metadata online
C# TIFF: TIFF Metadata Editor, How to Write & Read TIFF Metadata
C# TIFF - Edit TIFF Metadata in C#.NET. Allow Users to Read and Edit Metadata Stored in Tiff Image in C#.NET Application. How to Get TIFF XMP Metadata in C#.NET.
add metadata to pdf programmatically; embed metadata in pdf
The XSLT Processing Model
 usually input, output and XSLT program - well-balanced XML documents,
represented internally as XPath data model/DOM-like trees.
 dierent output formats: xml, html, text.
 multiple inputs via document() XSLT function.
 multiple outputs via <xsl:document> XSLT element.
 multiple programs via <<xsl:include> and <xsl:import> XSLT elements.
VB.NET PDF Library SDK to view, edit, convert, process PDF file
PDF Metadata Edit. Offer professional PDF document metadata editing APIs, using which VB.NET developers can redact, delete, view and save PDF metadata.
edit pdf metadata online; pdf xmp metadata
C# PDF Library SDK to view, edit, convert, process PDF file for C#
accordingly. Multiple metadata types of PDF file can be easily added and processed in C#.NET Class. Capable C#.NET: Edit PDF Metadata. PDF SDK
edit multiple pdf metadata; rename pdf files from metadata
The Supported Information Items
How to C#: Basic SDK Concept of XDoc.PDF for .NET
XDoc.PDF for .NET supports editing PDF document metadata, like Title, Subject, Author, Creator, Producer, Keywords, Created Date, and Last Modified Date.
remove metadata from pdf file; pdf metadata editor online
VB.NET PDF File Compress Library: Compress reduce PDF size in vb.
Document and metadata. All object data. File attachment. Flatten visible layers. VB.NET Demo Code to Optimize An Exist PDF File in Visual C#.NET Project.
preview edit pdf metadata; read pdf metadata java
The Transformation Process
 based on template rules.
 a template rule = template pattern + template body.
<xsl:template match=’’pattern’’> body </xsl:template>
the pattern matches nodes in the source tree.
for the matched nodes, the template body is instantiated.
 template pattern = XPath expression.
 template body = literal result elements + XSLT instructions.
 nd templates that apply to nodes in the source tree.
 more templates for the same nodes ! processing modes or con ict resolution policy.
 no template for nodes ! built-in templates.
 after processing a node, start to process its children:
VB.NET PDF Image Extract Library: Select, copy, paste PDF images
Get image information, such as its location, zonal information, metadata, and so on. Extract image from PDF free in .NET framework application with trial SDK
pdf metadata online; adding metadata to pdf
C# PDF File Compress Library: Compress reduce PDF size in
Comments, forms and multimedia. Document and metadata. All object data. Detect and merge image fragments. Flatten visible layers. C#.NET DLLs: Compress PDF Document
pdf xmp metadata viewer; batch pdf metadata
Push Processing
How is working?
 a template rule for each kind of node.
 apply templates for children.
 use built-in templates if needed.
Application: similar structure for input and output.
 Chapter 2 from XSLT Programmer’s Reference, M. Kay.
 XML Source: books.xml
 XSLT StyleSheet: books.xsl
Pull Processing
How is working?
 explicitly select and process the required nodes.
<xsl:value-of select=’’pattern’’/>
<xsl:apply-templates select=’’pattern’’/>
<xsl:for-each select=’’pattern’’/>
 greater control over which nodes are to be processed.
Application: very dierent structure for input and output.
Example (Chapter 1)
 XML Source: books.xml
 XSLT StyleSheet: books_pull.xsl
Processing Modes
 for processing the same node in the source tree more than once, but in dierent ways.
 another (not general) possibility: push and pull processing for the same node.
 example: handling the section headings of a book in two dierent ways
{ for the table of contents (mode toc).
<xsl:apply-templates select=’’heading’’ mode=’’toc’’/>
<xsl:template match=’’heading’’ mode=’’toc’’/>
{ inside the body of the document (mode body).
<xsl:apply-templates select=’’heading’’ mode=’’body’’/>
<xsl:template match=’’heading’’ mode=’’body’’/>
 Formatting the XML Specication
 Chapter 10 from XSLT Programmer’s Reference, M. Kay.
 XML Source: REC-xml-19980210.xml XSLT StyleSheets: xmlspec.xsl, xpath.xsl,
Con ict Resolution Policy
 more templates with patterns matching the same node in the source tree.
 no processing modes are used.
 appears when several stylesheets are imported, or included.
Solution: each template has a priority
 set by an XSLT instruction.
<xsl:template match=’’pattern’’ priority=’’1’’/>.
 given by the selectivity of its pattern.
Default priority
node(), text(), *
(-0.5 , 0.0)
title, @id
book[@isbn], para[1]
Anumerically higher value indicates a higher priority.
Built-in Templates
 <xsl:apply-templates> is invoked to process a node,
and there is no template rule in the stylesheet that matches that node.
 built-in template rule for each type of node.
Node type
Built-in template rule
call <xsl:apply-templates> to process its children.
call <xsl:apply-templates> to process its children.
copy the attribute value to the result tree.
copy the text to the result tree.
do nothing.
do nothing.
do nothing.
Documents you may be interested
Documents you may be interested