top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is the various features of XML objects along with the attributes of Xlink?

+1 vote
365 views
What is the various features of XML objects along with the attributes of Xlink?
posted Apr 18, 2015 by Vrije Mani Upadhyay

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

XLink Elements and Attributes

XLink offers two kinds of links:

Extended links

Extended links offer full XLink functionality, such as inbound and third-party arcs, as well as links that have arbitrary numbers of participating resources. As a result, their structure can be fairly complex, including elements for pointing to remote resources, elements for containing local resources, elements for specifying arc traversal rules, and elements for specifying human-readable resource and arc titles.

XLink defines a way to give an extended link special semantics for finding linkbases; used in this fashion, an extended link helps an XLink application process other links.

Simple links

Simple links offer shorthand syntax for a common kind of link, an outbound link with exactly two participating resources (into which category HTML-style A and IMG links fall). Because simple links offer less functionality than extended links, they have no special internal structure.

While simple links are conceptually a subset of extended links, they are syntactically different. For example, to convert a simple link into an extended link, several structural changes would be needed.

The following sections define the XLink elements and attributes.

Read more:http://www.w3.org/TR/xlink/

answer Apr 22, 2015 by Devyani
Similar Questions
+1 vote

Recently I have been reading about form objects and have been wondering its use in 1 to many association. Let's say I have a model of project with many tasks and the user edits the project along with the tasks in one big form.

Is nested attributes using cocoon gem better suited than using reform/virtus or other form objects? Any examples of using form objects in this context?

0 votes

Given the root of a Binary Tree along with two integer values. Assume that both integers are present in the tree.
Find the LCA (Least Common Ancestor) of the two nodes with values of the given integers.
2 pass solution is easy. You must solve this in a single pass.

...