Subject: can restructure xml??
From: "a847356549/mail.h7.dion.ne.jp" <motom@xxxxxxxxxxxxx>
Date: Wed, 15 Jan 2003 20:32:02 +0900
|
hello.
I just started putting my data into xml.
now I only have a xml like ---
<root>
<list>
<title>aaa</title>
<writer>bbb</writer>
<type>ccc</type>
<remark>ddd</remark>
<title>eee</title>
<writer>fff</writer>
<type>ggg</type>
<remark>hhh</remark>
...
</cd>
</list>
my ideal structure is like ---
<root>
<list>
<item num="1">
<title>aaa</title>
<writer>bbb</writer>
<type>ccc</type>
<remark>ddd</remark>
</item>
<item num="2">
<title>eee</title>
<writer>fff</writer>
<type>ggg</type>
<remark>hhh</remark>
</item>
...
</list>
</root>
is there a way to do this throgh xsl? any advice and hint will
be grateful.
ttkaya
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- can restructure xml??
- a847356549/mail.h7.dion.ne.jp - Wed, 15 Jan 2003 06:26:10 -0500 (EST) <=
- Laura - Wed, 15 Jan 2003 07:42:07 -0500 (EST)
|
|