You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by brijesh <br...@gmail.com> on 2009/10/07 09:44:02 UTC

reading xml file from smx-saxon on runtime

Hi there, 

I need to read and xml (config.xml)file from xslt saxon component. xml file
containts few parametes which i need read while run time, Since it containts
configuration parmeter I need keep outside the service assemby. 

I am using smx 3.3 web version. Is it possible to read xml this xml file If
I keep in web-inf/classes directoy? 

Regards
Brijesh N K

 
-- 
View this message in context: http://www.nabble.com/reading-xml-file-from-smx-saxon-on-runtime-tp25781958p25781958.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: reading xml file from smx-saxon on runtime

Posted by brijesh <br...@gmail.com>.
hi ,

Any input on this?

regards
Brijesh N K


brijesh wrote:
> 
> Hi there, 
> 
> I need to read and xml (config.xml)file from xslt saxon component. xml
> file containts few parametes which i need read while run time, Since it
> containts configuration parmeter I need keep outside the service assemby. 
> 
> I am using smx 3.3 web version. Is it possible to read xml,  If I keep it
> in web-inf/classes directoy? 
> 
> Regards
> Brijesh N K
> 
>  
> 

-- 
View this message in context: http://www.nabble.com/reading-xml-file-from-smx-saxon-on-runtime-tp25781958p25785361.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: reading xml file from smx-saxon on runtime

Posted by hans couder <ha...@gmail.com>.
Hi brijeshnk,

you can put your xslt outside the sa by:

<saxon:xslt service="test:xslt" endpoint="endpoint"
            resource="file:data/archive/transform.xsl" />

as relative path

or <saxon:xslt service="test:xslt" endpoint="endpoint"
            resource="file://yourdir/transform.xsl" />

as absolute path


http://servicemix.apache.org/servicemix-saxon.html

Regards,

Hans Couder


2009/10/7 brijesh <br...@gmail.com>:
>
> Hi there,
>
> I need to read and xml (config.xml)file from xslt saxon component. xml file
> containts few parametes which i need read while run time, Since it containts
> configuration parmeter I need keep outside the service assemby.
>
> I am using smx 3.3 web version. Is it possible to read xml this xml file If
> I keep in web-inf/classes directoy?
>
> Regards
> Brijesh N K
>
>
> --
> View this message in context: http://www.nabble.com/reading-xml-file-from-smx-saxon-on-runtime-tp25781958p25781958.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>