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?
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
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
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
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/
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:
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
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
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
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
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
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
12 matches
Mail list logo