xsl-list
[Top] [All Lists]

Copy element but transform sub-element

2005-09-08 06:36:58
Hi,

I don't know how to handle such a scenario:

given following xml:

<product>
 <name></name>
 <article>
     <priceInfo>
        ...price data with further sub elements .....
     </priceInfo>
 </article>
</product>

I need to only apply a template to the article element (and sub-elements)
the (rather complex) product element can be copied as is:

<product>
 <name></name>
 <CHANGED ARTICLE>
      <SOME TABULAR-STYLED XML/>
  </CHANGED ARTICLE>
</product>

Any suggestions?




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>