RE: [xsl] Transform XML to XML

Subject: RE: [xsl] Transform XML to XML
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 25 Aug 2005 18:43:39 +0100
This question has been asked and answered twice in the last two days. Look
in the archives, and google for "XSLT identity transform".

Michael Kay 
http://www.saxonica.com/

> -----Original Message-----
> From: Mike Schinkel [mailto:mikes@xxxxxxxxx] 
> Sent: 25 August 2005 18:21
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] Transform XML to XML
> 
> I have an XML file that I want to filter out certain elements.
> (actually, it's the tracking files for my blog, and there is a lot of
> blog spam in them. It will take forever to remove by hand.)  So the
> first thing I'm trying to figure out is how can I create an XSL file
> that will take as input an XML file and output *exactly the same* XML
> file as output?  (The next step will be to start selectively omitting
> elements from the output.)
> 
> FYI, I'm using XmlWriter as my editor.
> 
> I've done a lot of work with XSLT, but every time I start a 
> new project
> with a slightly different need I feel like I'm back at square one
> because nothing ever seems to work as I expect it to!
> 
> Thanks in advance.
> 
> -Mike 

Current Thread