Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
Linux Magazine - Missing Anything?

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
Copyright Info
Terms of Use
Privacy Info
Masthead / Impressum
Your Account

Private Messages

News Archive
Submit News
User Articles
Web Links


The Web

Who's Online
There are currently, 73 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here




       xsltproc [-V | -v | -o file | --timing | --repeat
                | --debug | --novalid | --noout | --maxdepth val
                | --html | --docbook | --param name value
                | --stringparam name value | --nonet | --catalogs
                | --xinclude | --profile | --dumpextensions | --nowrite
                | --nomkdir | --writesubtree] [stylesheet] [file1]
                [file2] [....]


        xsltproc  is  a  command  line  tool  for  applying  XSLT
       stylesheets to XML documents. It is part of  libxslt,  the
       XSLT  C  library for GNOME. While it was developed as part
       of the GNOME project, it can operate independently of  the
       GNOME desktop.

        xsltproc  is  invoked from the command line with the name
       of the stylesheet to be used followed by the name  of  the
       file or files to which the stylesheet is to be applied.

       If  a  stylesheet  is  included  in an XML document with a
       Stylesheet Processing Instruction, no stylesheet  need  be
       named  at  the  command  line. xsltproc will automatically
       detect the included stylesheet and use it.

       By default, output is to stdout. You can  specify  a  file
       for output using the -o option.


       -V or --version
              Show the version of libxml and libxslt used.

       -v or --verbose
              Output  each  step  taken by xsltproc in processing
              the stylesheet and the document.

       -o or --output file
              Direct output to the file named file. For  multiple
              outputs,  also  known  as "chunking", -o directory/
              directs the output files to a specified  directory.
              The directory must already exist.

              Display  the  time used for parsing the stylesheet,

              Skip loading the document's DTD.

              Do not output the result.

       --maxdepth value
              Adjust  the  maximum  depth  of  the template stack
              before libxslt concludes it is in an infinite loop.
              The default is 500.

       --html The input document is an HTML file.

              The  input document is DocBook SGML. Do not use the
              --docbook option of xsltproc to process XML DocBook
              documents,  this option is only intended to provide
              some (limited) support of the SGML version of  Doc­

       --param name value
              Pass  a  parameter  of name name and value value to
              the stylesheet. You may  pass  multiple  name/value
              pairs  up  to  a  maximum of 32. If the value being
              passed is a string rather than a  node  identifier,
              use --stringparam instead.

       --stringparam name value
              Pass  a  paramenter  of  name  name and value value
              where value is a string rather than a node  identi­
              fier. (Note: The string must be utf-8.)

              Do not use the Internet to fetch DTD's or entities.

              Use  the  SGML  catalog  specified  in   SGML_CATA­
              LOG_FILES to resolve the location of external enti­
              ties. By default, xsltproc looks  for  the  catalog
              specified  in  XML_CATALOG_FILES.  If  that  is not
              specified, it uses /etc/xml/catalog.


              Refuses to write to any file or resource.

              Refuses to create directories.

       --writesubtree path
              Allow file write only within the path subtree.


       xsltproc's return codes provide information  that  can  be
       used when calling it from scripts.

       0: normal

       1: no argument

       2: too many parameters

       3: unknown option

       4: failed to parse the stylesheet

       5: error in the stylesheet

       6: error in one of the documents

       7: unsupported xsl:output method

       8: string parameter contains both quote and double-quotes

       9: internal processing error

       10: processing was stopped by a terminating message

Help us cut cost by not downloading the whole site!
Use of automated download sofware ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and therefore is expressedly prohibited. For more details on this, take a look here



Security Code
Security Code
Type Security Code

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!

Amazon Wish List

Did You Know?
You can choose larger fonts by selecting a different themes.


Tell a Friend About Us

Bookmark and Share

Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.11 Seconds