[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

XSLT Processor - root node template & version question

Subject: XSLT Processor - root node template & version question
From: "Lopez, William" <william.lopez@xxxxxxx>
Date: Wed, 9 Oct 2002 14:45:12 -0500
xslt root
XSLT Gurus:

Q1: Does it matter (speed wise or best practice) if a template is defined
for the root element? My understanding is that the root node is
automatically processed first by the processor.

Example XML:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE RouteCodeMaintLookup SYSTEM "../dtd/routecodemaintlookup.dtd" >
<?xml-stylesheet  type="text/xsl" href="../xsl/routecodemaintlookup.xsl" ?>

I'm using the [Sniplet] XSL below versus one that has a
match="RouteCodeMaintLookup" (output is the same I'm just wondering if one
way is better/quicker than the other- they appear to process the same):

<?xml version='1.0'?>
<xsl:stylesheet version="1.1"

<xsl:template match="/">
			<form name="LookUpForm" method="post"

Q2: Since the XSLT 1.1 never made it past WD status is there any gain in
specifying it? I use Xalan-j.



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.