2017 © Pedro Peláez
 

library xpath-extended

Additional functions for XPath

image

struzik-vladislav/xpath-extended

Additional functions for XPath

  • Saturday, September 16, 2017
  • by struzik-vladislav
  • Repository
  • 1 Watchers
  • 0 Stars
  • 24 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 4 % Grown

The README.md

XPath Extended

Additional functions for XPath., (*1)

Usage

Initialisation

<?php

use XPath\DOMXPath;

$xpath = new DOMXPath($domdocument);

XPath\quote('string')

Quotes a string for use in a query., (*2)

<?php

$needle = 'abd\'efg';
$expr = sprintf('//root:root/root:node[php:functionString("XPath\quote", text()) = \'%s\']', $needle);
$list = $xpath->query($expr);

The Versions

16/09 2017

dev-master

9999999-dev

Additional functions for XPath

  Sources   Download

MIT

The Requires

  • php >=5.6

 

by Vladislav Struzik

function extension xpath quote

16/09 2017

v1.0.0

1.0.0.0

Additional functions for XPath

  Sources   Download

MIT

The Requires

  • php >=5.6

 

by Vladislav Struzik

function extension xpath quote