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!)

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

e.g xml

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

goes thru xsl processor and emerges as:

<doc>
  <sometag>blah</sometag>
  <someothertag>blah blah</someothertag>
</doc>


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
mediumrare
41 clink street studios
soho wharf
1 clink street
london
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