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]

xsl to echo input xml


If I want to pass an xml to an xsl, and then have the xsl simply repeat
what's in the xml, how would I go about that? I thought the following
would do it:

<xsl:template match="*">
   <xsl:apply-templates/>
</xsl:template>

i.e. match all tags and re-apply them as they were. I'm working on a
portal that strictly requires a xsl transformation from the input file,
so I have to work around someone else's code. Hence, the seemingly
pointless nature of this xsl. I am new to xsl though, so as pointless as
this may be, it's still giving me trouble. All help is much appreciated.

-- 
_ryan <scoobie@udel.edu>


 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]