Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: Help! How Import XML Using xsl:copy-of & document()? [Thread Next] Re: Help! How Import XML Using xsl:copy-of & document()?To: NULL Date: 2/4/2006 9:03:00 AM OK, the light came on and I got it working. Part of the problem was that I didn't have a source XML structure that lended itself to applying specific templates. So I wrapped my source header data in a <ProjectMeta> element so I could apply the template in header.xsl just to that node and its children. Here's the final code: Header.xsl: <xsl:template match="my:ProjectMeta"><!-- rest of code --> </xsl:template> Main.xsl: <xsl:include href="header.xsl"/> <xsl:template match="/"> <!-- some of the code --> <xsl:apply-templates select="/my:Project/my:ProjectMeta"/> <!-- rest of code --> </xsl:template> I really appreciate your help Joe. | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
