Note: You can now download the full content of the XPath reference, the XSLT reference and the DOM reference in one PDF document. This document contains the implementation tables, internal links to navigate through the references, a full linked table of contents. You can use free text search through the whole reference or print as a nicely formatted document. Download here...
TopXML: XSLT Reference - Element xsl:document

BizTalk Utilities CV ,   Jobs ,   Code library  
 
Home Page
XSLT
The XSLT Element: xsl:decimal-format
The XSLT Element: xsl:copy
The XSLT Element: xsl:copy-of
The XSLT Element: xsl:comment
The XSLT Element: xsl:choose
The XSLT Element: xsl:call-template
The XSLT Element: xsl:attribute
The XSLT Element: xsl:attribute-set
The XSLT Element: xsl:apply-templates
The XSLT Element: xsl:apply-imports
The XSLT Element: msxml:script
XPath Reference
XSLT Reference
Make your web pages look like a grid using XSL
Example of the use of context() in XSLT with IE5
Creating a drop-down list in XSL
Embedding a com component into XSL
How to conditionally display data in xsl
HTML Combo box from XML
An example of creating practical and efficient client-side, offline, standalone, server-independent
<< XQuery
.NET and XML >>

By :Mark Wilson
I am the creator of TopXML. I am available for international and local (Australia) contracts. I am a Solution Architect/Business Analyst. I have worked in IT in several countries (NZ, Australia, South Africa, UK) building and training teams for government and very large non-governmental organizations. I am ex-Microsoft Consulting Services. I wrote the first book on Microsoft XML published in 2000 called XML Programming with VB and ASP. Most recently I have been building tools for the SEO industry. Ask me for a 37 point SEO health-checkup for your website.
First posted :03/24/2008
Times viewed :1768

 
[XSLT Reference] [XPath Reference]

Element: xsl:document

Switches the target of the result tree to another document. All output nodes instatiated within the xsl:document element will appear in the document indicated by the href attribute. All other attributes have identical to the attributes on xsl:output .
Attributes
method
Attribute Value Template
Type:xml|html|text|qname-but-not-ncname
xml is default, html will create empty elements like <BR> and use HTML entities like &agrave;. text will cause no output escaping to happen at all (no entity references in output.)
version
Attribute Value Template
Type:nmtoken
encoding
Attribute Value Template
Type:string
omit-xml-declaration
Attribute Value Template
Type:yes|no
standalone
Attribute Value Template
Type:yes|no
doctype-public
Attribute Value Template
Type:string
doctype-system
Attribute Value Template
Type:string
cdata-section-elements
Attribute Value Template
Type:qnames
Specifies a list of elements that should have their content escaped by using a CDATA section instead of entities.
indent
Attribute Value Template
Type:yes|no
Specifies to addition of extra whitespace for readability
media-type
Attribute Value Template
Type:string
To specify a specific MIME type while writing out content.
Implemented
Can contain[xsl:apply-imports] [xsl:apply-templates] [xsl:attribute] [xsl:call-template] [xsl:choose] [xsl:comment] [xsl:copy] [xsl:copy-of] [xsl:document] [xsl:element] [xsl:fallback] [xsl:for-each] [xsl:if] [xsl:message] [xsl:number] [xsl:processing-instruction] [xsl:text] [xsl:value-of] [xsl:variable]
Can be contained by[xsl:copy] [xsl:document] [xsl:element] [xsl:fallback] [xsl:for-each] [xsl:if] [xsl:message] [xsl:otherwise] [xsl:param] [xsl:template] [xsl:variable] [xsl:when]
Examples
© 2000 Teun Duynstee. First appeared as an appendix in 'Pro VB6 XML', the WROX book I authored with James Britt. Later I added more explanations and examples. The references are also printed as appendices in Professional XSL (in which I also contributed a case study). Shown on TopXML.com. Information used from XSLT and XPath recommendations © W3C and MSDN documentation © Microsoft.
Do you have comments, additions or suggestions, mail me.

Rate this article on a scale of 1 to 10

Your vote :  


 

Recent Jobs

Integration Specialist Needed - Wor
Virtualization Server Infrastructur
A great opportunity to Digital Vide
here is a greate opportunity as a S
A great opportunity as a Network En

View all Jobs (Add yours)
View all CV (Add yours)




Chicago Web Site Design
conference call services
conference call
Giorgio armani sunglasses
air freshener
odor remover


    Email TopXML  

Front Page Daily Stuff TopXML Forum XML blogs XML Newsgroups BizTalk Biztalk Utilities Biztalk Utilities Tutorial B2B SAP XML Microsoft .NET Dotnet System XML Soapformatter SQLXML XMLserializer XQuery PHP PHP SimpleXML PHP XML Dom PHP XML RPC PHP XSLT Java Java Java XML Xalan Microsoft ASP ASP Schemas XML SQL Server XML XMLDom XSL XSL Tutorial XSLT Stylesheets General Javascript CSS XHTML WAP