This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

xml in, xml out


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@mediumrare.net
w	http://www.mediumrare.net


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]