Re: (Easy) Passing a Variable From Sitemap to StyleSheet?

2004-04-13 Thread Jan Hoskens
be used on your file that will only be known at runtime. Kind Regards, Jan - Original Message - From: "Steve Schwarz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 14, 2004 5:36 AM Subject: Re: (Easy) Passing a Variable From Sitemap to StyleSheet?

Re: (Easy) Passing a Variable From Sitemap to StyleSheet?

2004-04-13 Thread Jan Hoskens
l Message - From: "David Swearingen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 14, 2004 4:37 AM Subject: Re: (Easy) Passing a Variable From Sitemap to StyleSheet? > Ok, I see the source of the problem now. I am trying to resolve the > value o

Re: (Easy) Passing a Variable From Sitemap to StyleSheet?

2004-04-13 Thread Steve Schwarz
David You can't do it directly within the document. But maybe you just need to think about the problem a little differently. Remember you don't need this aggregate document to "physically" exist. It just needs to be assembled at some point in your pipeline. So I'd use a stylesheet to get what y

Re: (Easy) Passing a Variable From Sitemap to StyleSheet?

2004-04-13 Thread David Swearingen
Ok, I see the source of the problem now. I am trying to resolve the value of a variable from within an xml document, not within the stylesheet. I'm using the xml document to collect a bunch of xml documents using cinclude. That's where I need to have the name of a file requested in the uri by th

RE: (Easy) Passing a Variable From Sitemap to StyleSheet?

2004-04-13 Thread Steve Schwarz
David I think you want: ... ... ... I highly recommend Michael Kay's "XSLT 2nd Edition" Hope this helps Steve _ Tax headache? MSN Money provides relief with tax tips, tools, IRS forms and more! http://moneycentral.msn.com/

RE: (Easy) Passing a Variable From Sitemap to StyleSheet?

2004-04-13 Thread David Swearingen
I posted earlier this week about needing to pass a variable from the sitemap to a stylesheet, and I understand how to do this, but I'm getting a weird error now. [NOT SURE HOW TO ESCAPE HTML FOR POSTS TO MAILING LIST.] I'm setting the variable in the sitemap as follows:

RE: (Easy) Passing a Variable From Sitemap to StyleSheet? - One complication

2004-04-11 Thread Conal Tuohy
value template" approach above is functionally identical - it's just a handy shorthand syntax. Cheers Con > -Original Message- > From: David Swearingen [mailto:[EMAIL PROTECTED] > Sent: Monday, 12 April 2004 12:21 > To: [EMAIL PROTECTED] > Subject: RE: (Easy) Pass

RE: (Easy) Passing a Variable From Sitemap to StyleSheet? - One complication

2004-04-11 Thread David Swearingen
Indeed I can use the variable in the stylesheet as described below by Philip but I failed to anticipate that I have to use the variable INSIDE of another tag, that is, I have a variable foo that represents a filename and I have to use it as follows: [cinclude:include src="foo.xml"] I'm assumin

RE: (Easy) Passing a Variable From Sitemap to StyleSheet?

2004-04-11 Thread David Swearingen
Thanks very much, Philip. That works. David --- Philipp Burkert <[EMAIL PROTECTED]> wrote: > Hi, > > > I thought this would be easy...I'm trying to pass a variable > > defined in the Sitemap, and retrieve it in the Stylesheet. > > first you have to handle the parameter to the transformer w

Re: (Easy) Passing a Variable From Sitemap to StyleSheet?

2004-04-11 Thread Jorg Heymans
in the sitemap you do then in your stylesheet do David Swearingen wrote: I thought this would be easy...I'm trying to pass a variable defined in the Sitemap, and retrieve it in the Stylesheet. Specifically, I have {1} defined in the sitemap, which is the basename of a file, and I want to refer

RE: (Easy) Passing a Variable From Sitemap to StyleSheet?

2004-04-11 Thread Philipp Burkert
Hi, > I thought this would be easy...I'm trying to pass a variable > defined in the Sitemap, and retrieve it in the Stylesheet. first you have to handle the parameter to the transformer within the sitemap. ---sitemap-- Then you have to - declare the

(Easy) Passing a Variable From Sitemap to StyleSheet?

2004-04-11 Thread David Swearingen
I thought this would be easy...I'm trying to pass a variable defined in the Sitemap, and retrieve it in the Stylesheet. Specifically, I have {1} defined in the sitemap, which is the basename of a file, and I want to refer to this filename in a stylesheet that's called by a transformer. I'm then g