Subject: RE: [xsl] how do I create new elements in xslt From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx> Date: Thu, 7 Feb 2002 17:38:05 -0000 |
> Here is what I am trying to do. > an xslt file reads in multiple xml files,selects some nodes > and then before > printing them out append and inserts some new xml elements in > this new file > and then prints it out.How do I get this done,any help be appreciated There are three ways of creating an element node in the result tree: xsl-copy (or copy-of) copies elements from the source; a literal result element copies them from the stylesheet; and xsl:element constructs them from thin air. One of these will meet your needs. Michael Kay Software AG home: Michael.H.Kay@xxxxxxxxxxxx work: Michael.Kay@xxxxxxxxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] how do I create new elements , Khalid Ali | Thread | [xsl] Adding attributes, Ivan Rubin Ayma |
RE: [xsl] call-templates, Michael Kay | Date | RE: [xsl] Outputting Plain Text wit, Michael Kay |
Month |