Skip to content

Releases: Ariadne-CMS/arc-xml

Updated to PHP 7.4 and PHPUnit 9

23 Feb 13:46
Compare
Choose a tag to compare
3.0

Merge remote-tracking branch 'ariadne/master'

Full namespace support

31 Jan 18:25
Compare
Choose a tag to compare
  • get/set/unset elements and attributes with namespaces
  • namespaces are automatically added to the document if needed
  • aliases for a namespace in the document are re-used even if you use a different alias in your code

Improved namespace support

31 Jan 13:03
Compare
Choose a tag to compare
  • css namespace selector support
  • registerNamespace() method to register parser namespaces
  • direct access using registered prefixes: $xml->{'ns:tag'}
  • direct access using namespace URI's: $xml->{'{uri}tag'}

Small fix

27 Jan 19:32
Compare
Choose a tag to compare

comments and cdata were accidentily escaped as well. This release fixes that.

The writer now escapes/removes invalid characters

25 Jan 12:51
Compare
Choose a tag to compare

Added a special \arc\xml::raw() method to insert prerendered XML with the writer.

Added getElementById, moved writer functions to static class

24 Jan 14:24
Compare
Choose a tag to compare

This release moves all static methods in the Writer to \arc\xml, the NodeListTrait now calls these there, this allows the Writer to catch all methods preventing conflicts between tag names and the static functions.

This release also adds support for the getElementById() method. This method can be called on any element and only searches the elements subtree.

Added docblocks, DOM methods and properties

23 Jan 21:37
Compare
Choose a tag to compare
  • now indents xml generated by the Writer
  • added docblocks for all methods and properties, as well as for the DOMElement and SimpleXMLElement methods and properties accessible through the Proxy
  • fixed support for most DOMElement and SimpleXMLElement methods and properties

Major changes and improvements

17 Jan 16:27
Compare
Choose a tag to compare

This release adds the ability to fully access parsed elements as SimpleXMLElement or as a DOMElement. Both sets of methods and properties are supported, no need to juggle between the two.
The parser now works fully, including for partial XML strings - with no single root node.

arc-xml: fixed parsing, code style cleanup

02 Jul 12:54
Compare
Choose a tag to compare

\arc\xml::parse now works, but ixn't complete yet.
code style more to PSR-2

fixing packagist release

23 Jun 17:12
Compare
Choose a tag to compare

... the composer.json contained a version numer, so packagist didn't display the releases correctly