xml in, xml out

Subject: xml in, xml out
From: Toby Stokes <toby@xxxxxxxxxxxxxx>
Date: Thu, 1 Jun 2000 11:37:33 +0100
a nice little formal problem -( i hope!)

an xsl stylesheet that mimics/recreates the xml it receives as input.\

e.g xml

  <someothertag attribute="perhaps">blah blah</someothertag>

goes thru xsl processor and emerges as:

  <someothertag>blah blah</someothertag>

ive found a ms version that works, after a little hacking, but im sure there's a nice, simple, elegant solution somewhere, possibly using <xsl:copy>?

http://msdn.microsoft.com/downloads/samples/internet/ShowSource.asp?Fi lename=/downloads/samples/internet/xml/multiple_views/raw-xml.xsl

using Xalan processor

toby stokes
41 clink street studios
soho wharf
1 clink street
se1 9dg
t	44 (0) 20 7403 3395
f	44 (0) 20 7378 7154
m	0 79 79 75 17 16
e	toby@xxxxxxxxxxxxxx
w	http://www.mediumrare.net

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

Current Thread