RE: Confused about xsl:include - solved

2002-12-12 Thread Jeff Sexton
My problem was simple. It was finding the wrong file to include. That'll teach me to clean up after myself. Thanks to all for the feedback! On Thu, 12 Dec 2002, Robert Koberg wrote: > Hi, > > Put some text in your: > boo > > > > Does it get there? > > Try your transformation at the co

RE: Confused about xsl:include

2002-12-12 Thread Robert Koberg
get to the title. best, -Rob > -Original Message- > From: Jeff Sexton [mailto:[EMAIL PROTECTED]] > Sent: Thursday, December 12, 2002 11:35 AM > To: [EMAIL PROTECTED] > Subject: RE: Confused about xsl:include > > > > > > On Thu, 12 Dec 2002, Timothy Larso

RE: Confused about xsl:include

2002-12-12 Thread Jeff Sexton
On Thu, 12 Dec 2002, Timothy Larson wrote: > Check your log files...maybe the xsl:include is not looking in the > directory that you expect and so not finding the file to include. I know that's not it because if I use a bogus href in the include, I get an exception thrown. This is very puzzlin

RE: Confused about xsl:include

2002-12-12 Thread Timothy Larson
Check your log files...maybe the xsl:include is not looking in the directory that you expect and so not finding the file to include. Tim >>> [EMAIL PROTECTED] 12/12/02 02:21PM >>> >Well no, I guess there isn't. The docs on include seem to say that it's >like a #include in a C source file. In ot

RE: Confused about xsl:include

2002-12-12 Thread Jeff Sexton
On Thu, 12 Dec 2002, Hunsberger, Peter wrote: > > The above template match="title" works fine if I paste it into the main > xsl file. But if > > instead, right there in it's place, in the main xsl, I put this: > > > > > > > > to include the above file, the match is no longer applied in the out

RE: Confused about xsl:include

2002-12-12 Thread Hunsberger, Peter
> The above template match="title" works fine if I paste it into the main xsl file. But if > instead, right there in it's place, in the main xsl, I put this: > > > > to include the above file, the match is no longer applied in the output. I'm perfectly open to > other ways of doing this. I'm

RE: Confused about xsl:include

2002-12-12 Thread Jeff Sexton
On Thu, 12 Dec 2002, Hunsberger, Peter wrote: > Nonsense... Apply-templates works just fine with included templates. > What's missing from the included code is the place that the apply is invoked > so we can't tell if it's being done correctly. It's also possible that some > other template with

Re: Confused about xsl:include

2002-12-12 Thread Jeff Sexton
I have also tried using import instead, as in this fragment: No matter what I do, templates in the included xsl file are not applied to the output. No errors either, the templates just are not applied. If I do nothing more than paste the template back into the main xsl file, it w

RE: Confused about xsl:include

2002-12-12 Thread Hunsberger, Peter
> Not 100% sure, but in my (humble) opinion, you can only call included > templates and no longer use apply. Nonsense... Apply-templates works just fine with included templates. What's missing from the included code is the place that the apply is invoked so we can't tell if it's being done corre

Re: Confused about xsl:include

2002-12-12 Thread Jeff Sexton
On Thu, 12 Dec 2002, Yves Vindevogel wrote: > Not 100% sure, but in my (humble) opinion, you can only call included > templates and no longer use apply. > > Instead of you will need > > > > > > > > in the included file: > > > > I have no nor paramet

Re: Confused about xsl:include

2002-12-12 Thread Yves Vindevogel
Not 100% sure, but in my (humble) opinion, you can only call included templates and no longer use apply. Instead of you will need in the included file: > This should be simple, but I'm not able to make it work. > > Here's an xsl file, worki