Writing an example set as xml
Hi,
I'd appreciate any help in writing an example set to xml.
I've tried the process below (as posted by Helge,http://rapid-i.com/rapidforum/index.php?topic=8256.0) but it doesn't combine the documents but instead produces only 1 record.
<运营商激活= " true " class = "process" compatibility="6.0.008" expanded="true" name="Process">
<运营商激活= " true " class = "retrieve" compatibility="6.0.008" expanded="true" height="60" name="Retrieve Golf" width="90" x="45" y="210">
<运营商激活= " true " class = "loop_examples" compatibility="6.0.008" expanded="true" height="94" name="Loop Examples" width="90" x="246" y="210">
<运营商激活= " true " class = "loop_attributes" compatibility="6.0.008" expanded="true" height="94" name="Loop Attributes" width="90" x="246" y="120">
<运营商激活= " true " class = "text:extract_document" compatibility="5.3.002" expanded="true" height="76" name="Extract Document" width="90" x="246" y="165">
<运营商激活= " true " class = "text:create_document" compatibility="5.3.002" expanded="true" height="60" name="CLose Tag (2)" width="90" x="246" y="615">
<运营商激活= " true " class = "text:create_document" compatibility="5.3.002" expanded="true" height="60" name="CLose Tag (3)" width="90" x="514" y="660">
<运营商激活= " true " class = "text:create_document" compatibility="5.3.002" expanded="true" height="60" name="Open Tag" width="90" x="246" y="75">
<运营商激活= " true " class = "text:create_document" compatibility="5.3.002" expanded="true" height="60" name="CLose Tag" width="90" x="246" y="255">
<运营商激活= " true " class = "text:combine_documents" compatibility="5.3.002" expanded="true" height="112" name="Combine Documents" width="90" x="447" y="165"/>
<运营商激活= " true " class = "text:create_document" compatibility="5.3.002" expanded="true" height="60" name="Close XML" width="90" x="246" y="255">
<运营商激活= " true " class = "text:create_document" compatibility="5.3.002" expanded="true" height="60" name="Begin XML" width="90" x="246" y="30">
<运营商激活= " true " class = "text:combine_documents" compatibility="5.3.002" expanded="true" height="112" name="Combine Documents (2)" width="90" x="447" y="120"/>
<运营商激活= " true " class = "text:write_document" compatibility="5.3.002" expanded="true" height="76" name="Write Document" width="90" x="581" y="120">
<连接from_op = from_port“合并文件(2)”="document" to_op="Write Document" to_port="document"/>
<连接from_op = "写文档”from_port = " document" to_port="output 1"/>
Cheers
Tagged:
0
Answers
Hi,
I extended the process a bit and now I obtain an .xml file that I can read with the Read XML operator.
I hope it helps!
Regards,
Sebastian
Hallo Sebastian,
May I ask you, please, to publish the results you obtain with your process?
Merci,
Maerkli
Hi Maerkli,
Are you refering to the results of Read XML?
Since it uses the Golf dataset, you can test it on your computer. It would be easy to rename the attributes.
Regards,
Sebastian