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()? Re: Help! How Import XML Using xsl:copy-of & document()?To: NULL Date: 2/3/2006 8:28:00 AM "PaddyInHR" <pmbarnes@g...> wrote in message news:1138911663.237332.209810@g...... > Thank you for your help, Joe. I actually steered you wrong on the > problem. I *can* get xsl:copy-of to work for XML files. I realized this > morning that what I really need is to use an external XSL file. Sorry > about that. A very different issue indeed. > > I tried xsl:include and then apply-templates, but it's not producing > what I want. The problem may be where I'm trying to do that > apply-templates. > > In the main xsl doc (which transforms to ExcelML) I have a Table > element with a bunch of Row elements. The ExcelML docs that I'm trying > to output all have the same first 12 or so rows. I'm calling them > "header rows", and I'd like to extract the XSL for those rows so I can > reuse them with other main xsl docs. So I'm calling apply-templates > from the main xsl doc after the Table node and before the rest of the > Row elements in the main xsl. This isn't working right. > > If anything jumps out at you here as the wrong approach, lemme know. > Otherwise, I'll just keep trying various things. > Which XML classes are you using? Can you show a representative sample of input, output and XSLT? -- Joe Fawcett - XML MVP https://mvp.support.microsoft.com/profile=8AA9D5F5-E1C2-44C7-BCE8-8741D22D17A5 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
