Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 5th, 2015, 04:30 PM
Registered User
 
Join Date: May 2015
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default extension file type .xml for xsl files

Hi,

I just inherited a project after somebody leaving the company I work for. Part of the project are a number of stylesheets to format raw XML for rendering them in a browser. This all seems to work pretty well, but I'm confused about the fact that 2 (identical ) copies of every stylesheet are present:
<stylesheet>.xsl
<stylesheet>.xsl.xml

I'm very new to XSL, and tried searching the web in various ways, but to no avail (the search phrases I can come up with don't work very well in search engines).

Does anyone know of any reason to do this? Or is this some left-over from an old issue that has long been solved? Or should I just simply delete the "xsl.xml" files?

Thanks beforehand for any assistance,

Juul
 
Old May 5th, 2015, 05:18 PM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

Try deleting them and see if anything breaks.

Are the last-modified dates the same?

I've known software that decides to change or add to the file extension when you do a "save". Evil habit.
__________________
Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer\'s Reference
 
Old May 5th, 2015, 05:37 PM
Registered User
 
Join Date: May 2015
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the quick reply, but the last-modified dates are truly the same... As a matter of fact, I strongly believe that my ex-colleague just edited one of the 2 files, deleted the other one, and next copied the changed file to the other name.

Juul





Similar Threads
Thread Thread Starter Forum Replies Last Post
help needed for code to convert the plist to xml file and xml file to plistusing xsl venkat880 BOOK: Beginning XSLT and XPath : Transforming XML Documents and Data 0 August 4th, 2011 07:22 AM
Urgent ::Reading two xml files subcontent and adding that to third xml file archleader XSLT 6 August 18th, 2009 03:11 AM
How to remove numbers in XML files using xsl srkumar XSLT 1 April 15th, 2008 06:43 AM
display directories and files using only xsl/xml.. eteune XSLT 1 January 2nd, 2007 07:01 PM
Getting data from xml and xsl files combined hema_latha7 General .NET 0 May 19th, 2006 08:27 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.