xModify

程序名称:xModify

授权协议: 未知

操作系统: 未知

开发语言:

xModify 介绍

xModify is an XML syntax that can be used to update HTML elements
declaratively. This means that developers can utilize server-side frameworks
to create xModify documents that an xModify Processor will use to update the
HTML document.

Why is this Helpful?

Because, instead of having to create JavaScript to update the UI for a
particular dataset, the developer
can use server-side functionality such as PHP, J2EE, Ruby, or XSLT to create
XML documents that can to the same thing. This
typically will save code, time and increase the maintainablity of the
application.

The second reason xModify is helpful is that it puts the know-how into a well
defined XML layer, instead of either a
client-side or server-side library. XML can be outputted from any server-side
or processed client-side layer, making it more likely that knowledge of
xModify can be leveraged across projects.

Operations

xModify contains a set of operation that a developer would need to perform
when manipulating a XML or HTML DOM.

Each of the operations contains a select attribute that is used to select a
set
of operations.

  • append

Append the children of the operation to the selected nodes

  • clone

Create a clone of the selected nodes.

  • insert-after

Insert the children of the operation after the selected nodes

  • insert-at

Insert the children of the operation at a specific index of the selected nodes

  • insert-before

Insert the children of the operation before the selected nodes

  • remove-attribute

Remove an attribute from the selected nodes

  • remove-element

Remove the selected nodes.

  • replace

Replace the selected nodes with the children of the operation.

  • replace-children

Replace the children of selected nodes with the children of the operation.

  • set-attribute

Change an attribute of the selected nodes.

  • set-innerhtml

Change the HTML of the selected nodes to be the children of the operation.

  • embed-xal

Embed XAL components of the operation into the selected nodes.

xModify 官网

http://plugins.jquery.com/project/xModify

相关编程语言

多功能下拉选择插件 SelectPage 简洁而强大的下拉分...
AutoComplete 是一个 jQuery Mobile 的插件,用于实...
Combogrid 是一个jQuery插件用于为输入框添加高级自...
Autobox2这个jQuery插件,可以用于创建类似于Facebo...
Link Scraper TextBox 是一个文本框的扩展插件,当你...
Awesomplete 超小超好用的超漂亮的 autocomplete 框...