XML 的汇编语言 Xembly

码农软件 · 软件分类 · XML相关工具 · 2019-09-17 18:14:07

软件介绍

Xembly 是一个用来操作 XML 文档的类似汇编语言的语法工具,比 XSLT 和 XQuery 要简单很多。

例如下面一个 Xembly 的脚本:

XPATH '/root';
ADDIF 'orders';
ADD 'order';
ATTR 'id', '55';
ADD 'amount';
SET '29.99';
UP;
ADD "summary";
SET "free "subscription"";

可转成 XML 文档:

<root>
  <orders>
    <order id="55">
      <amount>29.99</amount>
      <summary>free "subscription"</summary>
    </order>
  </orders>
</root>

Maven:

<dependency>
  <groupId>com.jcabi.incubator</groupId>
  <artifactId>xembly</artifactId>
  <version>0.19.1</version>
</dependency>

本文地址:https://codercto.com/soft/d/14813.html

About Face 2.0

About Face 2.0

Alan Cooper、Robert M. Reimann / Wiley / March 17, 2003 / USD 35.00

First published seven years ago-just before the World Wide Web exploded into dominance in the software world-About Face rapidly became a bestseller. While the ideas and principles in the original book......一起来看看 《About Face 2.0》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具