Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: XSLT Tranformation --> flattening structure (but with prefixes) [Thread Next] Re: XSLT Tranformation --> flattening structure (but with prefixes)To: NULL Date: 11/6/2007 1:40:00 PM
mushimedia@g... wrote:
> Actually I only need to process (copy from) the beginning of the
> source xml-file - transformation of the whole file takes about 15 - 20
> seconds..
> So how would I go about it if I need to do your trick on Offerprice,
> but not BasisForOffer (which let's say, the rest of the document)? I
> mean take Everything inside Offerprice and make it flat with prefixes.
Change the first template to
<xsl:template match="/*">
<xsl:copy>
<xsl:apply-templates select="Offerprice//*[not(*)]"/>
</xsl:copy>
</xsl:template>
--
Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
