I download XINS 1.3.0 today and following the Primer sample to setup our my
test. Thanks Ernst's details instructions, everything went really smoothly.
Instead of changing my system path for Java/Ant/Xins as in step 2/5/9, I was
running a bat in dos window under the Xins home dir. Looks it works for me.
echo Run this from your XINS home dir.
Now I am adding XSLT support to MyAPI
<calling-convention name="_xins-xslt" />
2) add page1.xslt under myproject\apis\myApi\spec
<xsl:stylesheet version = '1.0'
3) restart Xins as
"xins -Dorg.xins.server.config=xins.properties -Dtemplates.callingconvention
But I still see the xml in my browser. I believe something is wrong in my
xslt (Being lazy again, I grab a sample from internet without understanding
the syntax :-( )
Then what is wrong?
----- Original Message -----
From: "Ernst de Haan" <email@example.com>
To: "arthur" <firstname.lastname@example.org>
Sent: Monday, April 10, 2006 3:36 PM
Subject: Re: [Xins-users] xins client question
I don't want install JRE on the client side. If I code a cpp GUI to
user input then I need a cpp http client lib to make the call to XINS. Any
good (and simple as XINS) cpp client recommand?
What exactly are you trying to do? And what is your client
environment? Are you going to develop a client (Windows?) application,
e.g. using Visual C++ or are you going to develop a server-side
application that will produce HTML?
If I use a web browser as client, then how can I config XINS to let the
see the response in a web page instead of xml? As my understanding, I need
css to map the xml to xdoc. I that true. My server response is always
as "Well done, this take me 5s" or "Invalid input".
You have a host of options:
- Use CSS on the returned XML (bad idea)
- Configure the XSLT calling convention and write some XSLT (see user guide)
- Use the new XINS frontend framework (see PetStore example in XINS 1.4)
- Write a custom calling convention (see user guide)
The right choice depends on what you want, exactly... Could you elaborate?
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
Xins-users mailing list