spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / authoring / languages / xml / insidexslt / chap2 / 2 current pageTo page 2To page 3To page 4To page 5
[next]

Inside XSLT

Developer News
Microsoft Shows Off Silverlight 4, IE9 Plans
Metasploit Expands Vulnerability Test Framework
HyperCard Reborn?

Working with XSLT Elements

To build XSLT stylesheets, you need to be familiar with XSLT elements such as <xsl:template> and <xsl:stylesheet>. These elements support many attributes, and W3C has some formal definitions of the type of data you can assign to those attributes, so here are a few XSLT definitions you need to know:

Now it's time to begin creating XSLT stylesheets, starting with the element you use to connect stylesheets to XML documents, <?xsl:stylesheet?>.

The <?xsl:stylesheet?> Processing Instruction

When you have an XSL stylesheet you want to apply to an XML document, you need some way of connecting that stylesheet to the document, and that's often done with the <?xsl:stylesheet?> processing instruction. This instruction has several possible attributes:

The <?xsl:stylesheet?> processing instruction is added in the XML document, not the XSL stylesheet, and shows XSLT processors which stylesheet to use with this document.


home / authoring / languages / xml / insidexslt / chap2 / 2 current pageTo page 2To page 3To page 4To page 5
[next]

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Rolling Out Your Own HTML Application Version Control · HTML 5: Client-side Storage · Working with Ajax Server Extensions
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Wi-Fi Product Watch, November 2009 · Chip Market Recovering From '08 Collapse · Low-Cost Tools to Kickstart Your New Business

Created: September 20, 2001
Revised: September 20, 2001


URL: http://webreference.com/authoring/languages/xml/insidexslt/chap2/2/