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

RE: xsl:apply-templates and select option

Subject: RE: xsl:apply-templates and select option
From: "Rasoul Hajikhani" <Rasoul.Hajikhani@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 2 Jun 2006 08:02:23 -0700
xslt select option
David,
Thanks for your help.
-r

-----Original Message-----
From: David Carlisle [mailto:davidc@xxxxxxxxx]
Sent: Friday, June 02, 2006 7:45 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  xsl:apply-templates and select option


  Where translator substitutes the node names and grouper creates
groups.
  However, I am not able to get that to work. In the above order I get
the
  substitution but no grouping. Any ideas what may be wrong?!

When i said two stylesheets I really meant two complete transforms
so (eg with saxon)

saxon -o temp.xml file.xml sheet-1.xsl
saxon -o result.xml temp.xml sheet-2.xml


importing or including stylesheets doesn't make them into multiple
stylesheets in the sense I meant here. That is just a way of spreading
one logical stylesheet over more than one physical file.

Also any xsl:import statements have to come first so
	<xsl:import href="copy.xslt"/>
	<xsl:include href="ELSTranslator.xslt"/>
	<xsl:import href="ELSGrouper.xslt"/>
is a syntax error and should not have compiled at all.

http://www.w3.org/TR/xslt#element-import

he xsl:import element children must precede all other element children
of an xsl:stylesheet element, including any xsl:include element
children.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread

Back To School Sale!

Save 30% off all Stylus Studio 2008 Products when you purchase from our Online Shop.

Offer ends August 31, 2008.

Coupon Code
TRTY-C4JV-OFF

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.
Email
First Name
Last Name
Company
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-2007 All Rights Reserved.