-1
我有一个XML其中输入元件将带着100个字符或更多XSLT,创建新节点
输入XML
<?xml version="1.0" encoding="UTF-8" ?>
<process xmlns="http://xmlns.oracle.com/TEST/TEST_XSLT/BPEL">
<input>abcdefghijlnskdckscksncksckscnkscnkscnksdcnksnc</input>
</process>
我的要求,是转变,并为每5个字符的新节点。
<?xml version = '1.0' encoding = 'UTF-8'?>
<client:processResponse xmlns:client="http://xmlns.oracle.com/TEST/TEST_XSLT/BPEL">
<ns1:Segment-MSG xmlns:ns1="http://schemas.oracle.com/service/bpel/common">
<ns1:Element-127>acfsd</ns1:Element-127>
</ns1:Segment-MSG>
<ns1:Segment-MSG xmlns:ns1="http://schemas.oracle.com/service/bpel/common">
<ns1:Element-127>serfg</ns1:Element-127>
</ns1:Segment-MSG>
<ns1:Segment-MSG xmlns:ns1="http://schemas.oracle.com/service/bpel/common">
<ns1:Element-127>hjukl</ns1:Element-127>
</ns1:Segment-MSG>
<ns1:Segment-MSG xmlns:ns1="http://schemas.oracle.com/service/bpel/common">
<ns1:Element-127>tyuio</ns1:Element-127>
</ns1:Segment-MSG>
.
.
.
.
</client:processResponse>
请帮助我完成这个转换。
由于 亚坦
** 1。**输入中的“acfsd”在哪里? - ** 2。**你可以使用XSLT 2.0吗? –