|
|
| Dieter Bäumler 2005-03-20, 7:18 am |
| Hi,
how would I give a parameter to a xml-file like
(http://localhost/test.xml?param="thisvalue") which is recognized in the
xslt of the file and how would I have to do that there?
regards, dtr.
| |
| Joe Fawcett 2005-03-20, 7:18 am |
| "Dieter Bäumler" <dtr12@yahoo.com> wrote in message
news:423d41ab$1@e-post.inode.at...
> Hi,
>
> how would I give a parameter to a xml-file like
> (http://localhost/test.xml?param="thisvalue") which is recognized in the
> xslt of the file and how would I have to do that there?
>
> regards, dtr.
>
You can't directly using the querystring. You can have an html page that reads
the parameters and performs the transform using client-side scripting or a
server side technology such as asp that transforms server side but there is no
direct method.
--
Joe (MVP - XML)
| |
| Dieter Bäumler 2005-03-20, 6:48 pm |
| thanks,
if the parameter would be POSTed from a formular, would this prepare a way
to avoid scripting for getting the parameter?
"Joe Fawcett" <joefawcett@newsgroups.nospam> schrieb im Newsbeitrag
news:eLfJ$VTLFHA.3512@TK2MSFTNGP15.phx.gbl...
> "Dieter Bäumler" <dtr12@yahoo.com> wrote in message
> news:423d41ab$1@e-post.inode.at...
> You can't directly using the querystring. You can have an html page that
reads
> the parameters and performs the transform using client-side scripting or a
> server side technology such as asp that transforms server side but there
is no
> direct method.
>
> --
>
> Joe (MVP - XML)
>
>
| |
| Joe Fawcett 2005-03-20, 6:48 pm |
| "Dieter Bäumler" <dtr12@yahoo.com> wrote in message
news:423d730b@e-post.inode.at...
> thanks,
> if the parameter would be POSTed from a formular, would this prepare a way
> to avoid scripting for getting the parameter?
>
If by "formular" you mean "form" then still no. An XML (or XSLT) file has no
intrinsic ability to interact with its environment.
--
Joe (MVP - XML)
|
|
|
|
| Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |