Results for: "String# "

No documentation available

Returns the number of attributes the owning Element contains.

doc = Document "<a x='1' y='2' foo:x='3'/>"
doc.root.attributes.length        #-> 3

Write out a fully formed, correct entity definition (assuming the Entity object itself is valid.)

out

An object implementing &lt;&lt; to which the entity will be output

indent

DEPRECATED and ignored

DEPRECATED

See the rexml/formatters package

No documentation available

Fetches the index of a given child @param child the child to get the index of @return the index of the child, or nil if the object is not a child of this parent.

No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

DEPRECATED

See REXML::Formatters

indent

Ignored. There must be no whitespace before an XML declaration

transitive

Ignored

ie_hack

Ignored

No documentation available
No documentation available
No documentation available

Finds and returns the first node that matches the supplied xpath.

element

The context element

path

The xpath to search for. If not supplied or nil, returns the first node matching ‘*’.

namespaces

If supplied, a Hash which defines a namespace mapping.

variables

If supplied, a Hash which maps $variables in the query to values. This can be used to avoid XPath injection attacks or to automatically handle escaping string values.

XPath.first( node )
XPath.first( doc, "//b"} )
XPath.first( node, "a/x:b", { "x"=>"http://doofus" } )
XPath.first( node, '/book/publisher/text()=$publisher', {}, {"publisher"=>"O'Reilly"})
No documentation available

Performs a depth-first (document order) XPath search, and returns the first match. This is the fastest, lightest way to return a single result.

FIXME: This method is incomplete!

No documentation available
No documentation available

Adds tuple to the proxied TupleSpace. See TupleSpace#write.

Returns the first advertised TupleSpace.

Finds a live tuple that matches template.

Adds tuple

Search took: 5ms  ·  Total Results: 3115