How to create an XSL document from XHTML? I'm trying to learn to from the tutorial
I will further use this xsl created to pdf from apache fop library in c#
Related
I am very new to SOAP, and I need to call some webservices written in SOAP 1.1
The webservice provider gave me a zip file, with two directories:
one with WSDL files
one with XSD files
They are very difficult to read, as they are structured in XML, and they link to each other. Very confusing.
Can you recommend some tools that can easily provide a full list of webservices and their parameters, without having to read through the XML and open multiple files?
I found this open source software called SoapUI:
https://www.soapui.org
you can add WSDL files, and it maps all the webservices defined there, with all the parameters
it automatically builds the request XML, and also allows you to make calls
You can import wsdl and xsd files from you IDE like Eclipse. It comes with features that permit you explore each part of those documents.
here you can find the steps to import wsdl.
If you want a paid tool , I recommend you get
oxygenxml . It provides a editor for wsdl. You can download the trial version and prove it.
My task is to crate web-service in NetBeans (using Tomact) from wsdl and two xsd files.
I don't understand what should I do with xsd files? What sequence of steps?
I've tried to crate "Web service from WSDL" in NetBans, but can't figure out how I should use xsd.
Web Services are described by a series of WSDL and XSD files, The WSDL elements that describe the services are separated into various files based on their level of abstraction. Data type definitions are separated from service descriptions and placed into XSD files. You can follow this for development on Netbeans with contract first approach
For WSDL and XSD, they are just XML, you can create them from scratch or modify based on an existing one in any editor.
Specifically, for how to start from WSDL and XSD in Netbeans, please refer to the following link for details:
https://docs.oracle.com/cd/E13224_01/wlw/docs103/guide/webservices/conWebServiceDevelopmentCycle.html
Can I read WSDL and generate soapUI-like requests using XSLT?
Could you provide a template?
As I could not find an answer anywhere I decided to contruct the Soap Envelope Generator by myself. The full XSLT file is on Google Code.
My boss wants me to write a simple RSS feed for an C++ MFC app that will pull and display information from the company's website. It also must be able to grab program updates from the website, tell the user that there are updates and then install the updates. Are there any tutorials that follow these guide lines? How would stackoverflow.com implement these requirements? Libraries, tutorials or guidance would all be great!
RSS is not more than XML (Ref). Under Windows/MFC you can use MSXML directly or use this MSXML wraper class, tinyxml, or other any other XML library to handle XML.
Update:
To download RSS you can use CHttpFile.
I would like to use Foursquare API XML results and transform them using XSLT to a RSS feed. I was wondering if there's any web site that has that functionality and generates a URL that returns the final transformation.
Something like:
From URL: http://foursquare.com/myapicall + XSLT transformation
I get a new URL: http://transformer/url=http://server.com/myapiresult&xlst=XXX
that returns the resulting transformation
Any other ideas to achieve this are welcome!
Thanks a lot
The W3C hosts an XSLT 2.0 Online XSLT Servlet Service that can be used to transform files.
http://www.w3.org/2005/08/online_xslt
In addition to using the form, you can also invoke the XSLT servlet by formulating a URL with two querystring parameters: 1. xmlfile to specify the source XML and 2. xslfile the XSLT to apply:
The results of the transform are returned from the request to the URL.
For example:
http://www.w3.org/2005/08/online_xslt/xslt?xmlfile=http://rss.cnn.com/rss/cnn_topstories.rss&xslfile=http://interglacial.com/rss/smb_rss2html.xsl
Conditions for Use
This service is provided without
warranty.
This service is freely (show your
support) provided for interactive use
by individuals only and not to be
utilized as a regular service by sites
other than w3.org. We will consider
blocking high volume usage or any
usage that causes a strain on our Web
servers.
Abuses of this service will be
deterred, please report any incidents.
To deter this service being utilized
by spammers, SURBL is implemented.
You may also wish to install the
application locally rather than using
the W3C service. For your convenience
a compiled version of this servlet and
the org.w3c classes used are collected
into a jar.
Not sure what exactly you are looking for, but these sites offer online XSLT transformations, showing the results in the browser:
http://www.w3schools.com/xsl/tryxslt.asp?xmlfile=cdcatalog&xsltfile=cdcatalog
http://chris.photobooks.com/xml/default.htm
I was wondering if there's any web
site that has that functionality and
generates a URL that returns the final
transformation.
While there may be sites that offer such functionality, this is by definition limited to a certain XSLT processor and comes with limited functionality (for example it is likely that DTDs and functions as document() are not supported, as well as EXSLT and other useful libraries).
Also, do not expect such sites to be responsive, as it is extremely easy to suffocate any such site -- just commit an error that results in endless recursion.
Therefore, I recommend getting a good XSLT processor and performing the transformation on your own computer.
See my answer to this question for available free XSLT processors and environments.