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

Re: formatting xml output: inserting newlines between

Subject: Re: formatting xml output: inserting newlines between generated attributes
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 11 Sep 2003 09:56:02 +0100
one pass normalise
> do you feel that vendors of 2.0 will still support 
> node-set() usage? 

I doubt it but if you wanted to have a 2.0 stylesheet that still sead
select="xx:node-set($x)"
rather than 
select="$x"
then you could do so and use the xslt 2 facilities for function
definition to define xx:node-set as a no-op function.


> also, leaving aside compatibility issues, what do you think about 
> constructing a tree within one xslt vs. having a 2-step transform?

If it's the whole document then it doesn't make a lot of difference, two
steps is probably a bit kinder on the system as it can junk the initial
input tree from memory  after the first step, but it is _very_
convenient to process small chunks of document into a variable and then
process them with a second pass in the same stylesheet, eg one pass to
normalise several input forms, another to sort and number the result,
...

David


________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. 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
________________________________________________________________________

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
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-2013 All Rights Reserved.