I second what Michael said. I only use 2.0 when there is some
functionality that I need like xsl:result-document and when I have
control over which XML parser I use. I have found that speed has more
to do with the XML parser that you use rather than which version of XSLT
that you use. And as others have said, the general lack of support for
the standard currently limits the proliferation of its use beyond this.
Mark
On 3/19/2010 12:54 PM, Michael Rush wrote:
> Christian,
>
> I use both XSLT 1.0 and 2.0, depending on the purpose. Generally,
> because it is supported by more XSL transformation engines, I tend to
> stick to XSLT 1.0. However, there are some functions that 2.0 has that
> I do need to use from time to time.
>
> I use XSLT 2.0 at various times to do following:
> -Create more than one result document using <xsl:result-document>. I use
> this in several style sheets, most notably when I generate MODS records
> for each folder in a collection.
> -Insert the current date and time using the current-date() function
> -Use regex as part of <xsl:analyze-string>
> -Set default namespaces for XPath
> -Normalize Unicode as composed or decomposed using
> xsl:output/@normalization-form
>
> For your workaday generating HTML stylesheets, stick with 1.0. For more
> specialized uses, 2.0 comes in handy.
>
> Mike
>
> On Fri, Mar 19, 2010 at 3:13 PM, Christian Dupont <[log in to unmask]
> <mailto:[log in to unmask]>> wrote:
>
> I’d be curious to know how many institutions are currently using
> XSLT 2.0 for writing their EAD transform stylesheets, or are
> thinking about moving to the 2.0 standard.
>
> If you have made the move or are contemplating it, what do you see
> as the chief reasons or benefits for doing so? Are there specific
> types of transformations that you find easier or previously
> impossible under the 1.0 standard?
>
> Thanks,
>
> Christian
>
> _________________________________________________________
>
> Christian Dupont
>
> Aeon Program Director
>
> *Atlas Systems - a company promoting library excellence through
> efficiency*
>
> phone: 757-467-7872 x215 fax: 757-467-7875 mobile: 434-242-6096
>
> [log in to unmask] <mailto:[log in to unmask]>
>
> http://www.atlas-sys.com/
>
> /Registration for the 2010 ILLiad International Conference:
> Exploring Trends in Resource Sharing is now open. Pre-Conference is
> March 24 and the Conference runs March 25 and 26. The conference is
> open to everyone with an interest in Resource Sharing. Learn more
> at //https://www.atlas-sys.com/conference//
>
> /Notice: This e-mail message, including any attachments, is
> intended only for the named recipient(s) above and may contain
> confidential information. If you have received this message in
> error, or are not the named recipient(s), please immediately notify
> the sender and delete this e-mail message from your computer without
> making any copies or distributing it to any other person. Thank you./
>
>
|