Skip to content

Releases: keith-hall/sublime-xpath

XPath 1.0 Query Support

17 Feb 13:50
Compare
Choose a tag to compare
Pre-release

New features:

  • Query XML and HTML documents using XPath 1.0 expressions
    • with syntax highlighting and intelligent auto-completion!
    • with a custom print function that can be used as a debugging aid by logging nodesets etc. to the console
    • option to display results or select the nodes in the document
    • optionally normalize whitespace when displaying text results (via a setting)
    • with history
    • with support for variables
    • with the node under the first selection/cursor as the context node, and all the nodes under the cursors available in the $contexts variable
  • Select entire contents of tag(s) at cursor(s), with or without the open/close tags
  • Show XML well-formedness parse errors, with a new entry in the command pallette to move the cursor to the location where the error occurred
  • Clean HTML/"tag soup" into valid XML
  • option to only show the current xpath in the status bar if the view is not dirty

Compared to the beta5 release, the following changes have been made:

  • better syntax highlighting
  • a few tweaks and bug fixes

XPath 1.0 Query Support

05 Feb 16:32
Compare
Choose a tag to compare
Pre-release

New features:

  • Query XML and HTML documents using XPath 1.0 expressions
    • with syntax highlighting and intelligent auto-completion
    • with a custom print function that can be used as a debugging aid by logging nodesets etc. to the console
    • option to display results or select the nodes in the document
    • optionally normalize whitespace when displaying text results (via a setting)
    • with history
    • with support for variables
    • with the node under the first selection/cursor as the context node, and all the nodes under the cursors available in the $contexts variable
  • Select entire contents of tag(s) at cursor(s), with or without the open/close tags
  • Show XML well-formedness parse errors, with a new entry in the command pallette to move the cursor to the location where the error occurred
  • Clean HTML/"tag soup" into valid XML
  • option to only show the current xpath in the status bar if the view is not dirty

Compared to the beta4 release, the following changes have been made:

  • intelligent auto completion has been added! see the readme for a demonstration
  • better syntax highlighting
  • some automated tests
  • a few tweaks and bug fixes

known bugs:

  • auto complete doesn't handle nested functions brilliantly, unless separated by whitespace eg. starts-with(name( would cause issues but starts-with( name( wouldn't. This is due to the way scopes work in ST, specifically finding specific scopes. A fix will be made shortly.

XPath 1.0 Query Support

08 Jan 13:58
Compare
Choose a tag to compare
Pre-release

New features:

  • Query XML and HTML documents using XPath 1.0 expressions
    • with syntax highlighting
    • with a custom print function that can be used as a debugging aid by logging nodesets etc. to the console
    • option to display results or select the nodes in the document
    • optionally normalize whitespace when displaying text results (via a setting)
    • with history
    • with support for variables
    • with the node under the first selection/cursor as the context node, and all the nodes under the cursors available in the $contexts variable
  • Select entire contents of tag(s) at cursor(s), with or without the open/close tags
  • Show XML well-formedness parse errors, with a new entry in the command pallette to move the cursor to the location where the error occurred
  • Clean HTML/"tag soup" into valid XML
  • option to only show the current xpath in the status bar if the view is not dirty

Compared to the beta3 release, the following changes have been made:

  • make the xpath input specific for a view, not a window
  • more readable location in parse errors

XPath 1.0 Query Support

01 Jan 22:28
Compare
Choose a tag to compare
Pre-release

New features:

  • Query XML and HTML documents using XPath 1.0 expressions
    • with syntax highlighting
    • with a custom print function that can be used as a debugging aid by logging nodesets etc. to the console
    • option to display results or select the nodes in the document
    • optionally normalize whitespace when displaying text results (via a setting)
    • with history
    • with support for variables
    • with the node under the first selection/cursor as the context node, and all the nodes under the cursors available in the $contexts variable
  • Select entire contents of tag(s) at cursor(s), with or without the open/close tags
  • Show XML well-formedness parse errors, with a new entry in the command pallette to move the cursor to the location where the error occurred
  • Clean HTML/"tag soup" into valid XML
  • option to only show the current xpath in the status bar if the view is not dirty

Compared to the beta2 release, the following changes have been made:

  • more responsive editing of large xml documents
  • more reliable live querying
  • always show query results. to select nodes, re-run the last query

XPath 1.0 Query Support

29 Dec 12:28
Compare
Choose a tag to compare
Pre-release

New features:

  • Query XML and HTML documents using XPath 1.0 expressions
    • with syntax highlighting
    • with a custom print function that can be used as a debugging aid by logging nodesets etc. to the console
    • option to display results or select the nodes in the document
    • optionally normalize whitespace when displaying text results (via a setting)
    • with history
    • with support for variables
    • with the node under the first selection/cursor as the context node, and all the nodes under the cursors available in the $contexts variable
  • Select entire contents of tag(s) at cursor(s), with or without the open/close tags
  • Show XML well-formedness parse errors, with a new entry in the command pallette to move the cursor to the location where the error occurred
  • Clean HTML/"tag soup" into valid XML
  • option to only show the current xpath in the status bar if the view is not dirty

Compared to the beta1 release, the following changes have been made:

  • ignore xml processing instructions when parsing xml (previously it failed to get location information / xpaths at cursors etc. when processing instructions existed in the document)
  • ignore DTDs when parsing xml (so it will show xpaths at cursors even when the DTD doesn't exist or the document is technically invalid according to the DTD)

XPath 1.0 Query Support

28 Dec 10:29
Compare
Choose a tag to compare
Pre-release

New features:

  • Query XML and HTML documents using XPath 1.0 expressions
    • with syntax highlighting
    • with a custom print function that can be used as a debugging aid by logging nodesets etc. to the console
    • option to display results or select the nodes in the document
    • optionally normalize whitespace when displaying text results (via a setting)
    • with history
    • with support for variables
    • with the node under the first selection/cursor as the context node, and all the nodes under the cursors available in the $contexts variable
  • Select entire contents of tag(s) at cursor(s), with or without the open/close tags
  • Show XML well-formedness parse errors, with a new entry in the command pallette to move the cursor to the location where the error occurred
  • Clean HTML/"tag soup" into valid XML
  • option to only show the current xpath in the status bar if the view is not dirty