Sizzle 0.0.6
A library for querying XML documents by means of CSS 2.1 selectors

Sizzle is a library for querying XML documents by means of CSS 2.1 selectors.

Sizzle currently supports:

  • The Universal selector - *
  • Type selectors - div
  • ID selectors - #id
  • Class selectors - .heading
  • Descendant selectors - html div
  • Child selectors - html > div
  • Adjacent sibling selectors - div + p
  • Any value attribute selectors - [att]
  • Exact value attribute selectors - [att=val]
  • Whitespace value attribute selectors - [att~=val]
  • Language value attribute selectors - [att|=val]
  • The pseudo-class :first-child
  • The language pseudo-class :lang(xxx)

Read more...

Install

To install Sizzle with Fantom Pod Manager, cut'n'paste the following into a cmd prompt, terminal or shell:

Or to install Sizzle with the Fantom Repository Manager (fanr), cut'n'paste the following into a cmd prompt, terminal or shell:

Or to install manually, download the pod file and copy it to the %FAN_HOME%/lib/fan/ directory.

afSizzle.pod (25.17 kB)

Use

To use Sizzle in a Fantom project, add a dependency to the project's build.fan:

depends = ["sys 1.0", ..., "afSizzle 0.0.6 - 0.0"]

Documentation

Information

Meta information on the Sizzle pod:

Published by
Steve Eynon
Organisation
Alien-Factory
Pod file size
25.17 kB
Licence
BSD 2-Clause License
Built on
9th Jan 2014
Source code
at https://bitbucket.org/AlienFactory/afsizzle
Depends on
sys, xml
Referenced by
Javascript Compatible
No

Dependency Graph

  Use mouse to re-position pods

Release History

There have been 8 releases of Sizzle: