JSON API - getXlsxPathQueryInfo

getXlsxPathQueryInfo

PREMIUM TRIAL / ADVANCED

Gets information from a performed XlsxPath query.

Note

You are reading the JSON API documentation. For the PHP API method please go to getXlsxPathQueryInfo.

JSON data
Key Description
type
  • cell (default value)
  • drawing
  • row
  • sheet
  • workbook
contains Contains a text string. Cell and sheet types.
occurrence
  • (number) exact occurrence from 1
  • (array) occurrences
  • (string) range of contents (e.g.: 2..9, 2.., ..9), first(), last()
attributes Contains a specific attribute key and value.
customQuery Custom XPath query, overwrites any other reference.
Code samples

Example #1

A template can be a local file, a Base64 string, or a remote file.

Release notes
  • phpxlsx 6.0:
    • new action.