Select HTML Elements

Select HTML Elements by CSS Selector

We are delighted to announce the new release of Aspose.HTML Cloud 18.7. A group of new REST API endpoints such as Get list of HTML fragments matching the specified XPath query by the source page URL and Get all HTML page images packaged as a ZIP archive by the source page URL, has been added. For a detailed note on what is new and fixed, please visit the release notes section in API Documentation.

New Features and Enhancements

New REST APIs

All URIs are related to https://api.aspose.cloud/v1.1/html

  • GET /html/fragments/{outFormat}

Get list of HTML elements/fragments matching the specified XPath query by the source page URL. The element can be an HTML div, HTML Textarea, div tag in HTML containing html button etc. Please check Get HTML fragments using XPath article for details.

  • GET /html/images/all

Get all images from HTML tags enclosed in blockquote and extract them as a ZIP archive (by simply providing source page URL). Please check Get Images from HTML document article for details.

Fixed bugs

Passing a URL with query parameters as a value to sourceUrl parameter has been partially fixed for static and server-side dynamically generated HTML pages. Whereas the issue regarding “Web pages with client-side dynamic content are not supported” will be handled in the future releases.

Aspose Cloud Resources

You may visit the following API resources for getting started and working with the API:

  • Product Overview – An overview of Aspose.HTML Cloud APIs

  • Product Documentation – Detailed API documentation with code examples and details about API functional areas

  • Cloud SDKs – An SDK takes care of a lot of low-level details of making requests and handling responses and lets you focus on writing code specific to your particular project

  • API Reference Guide – Explore API capabilities within browser using Swagger UI

  • Aspose.HTML Forum – For free technical support, please contact us via product support forum

We highly recommend visiting following links to learn more about other exciting features being offered by API