Microsoft
Software
Hardware
Network
Question : Convert from xml to xml using XSLT
I have the following xml,which i need to convert into xml using xslt
Source file has
1 control tag
multiple <cart> tags
multiple <item> tags
I need to group by cart ID
Source.xml
<?xml version="1.0" encoding="UTF-8"?>
<Root>
<Control>
<No>99</No>
<Name></Name>
</Control>
<Cart>
<ID>1</ID>
<value></value>
</Cart>
<Cart>
<ID>2</ID>
<value></value>
</Cart>
<Item>
<ID>1</ID>
<Store>abc</Store>
</Item>
<Item>
<ID>1</ID>
<Store>abccc</Store>
</Item>
<Item>
<ID>2</ID>
<Store>abcefg</Store>
</Item>
</Root>
Output:
<?xml version="1.0" encoding="UTF-8"?>
<Root>
<Cart ID="1">
<Header>
<ID>1</ID>
<value></value>
</Header>
<Item>
<ID>1</ID>
<Store>abc</Store>
</Item>
<Item>
<ID>1</ID>
<Store>abc</Store>
</Item>
</Cart>
<Cart ID="2">
<Header>
<ID>2</ID>
<value>v1</value>
</Header>
<Item>
<ID>2</ID>
<Store>abcefg</Store>
</Item>
</Cart>
</Root>
Answer : Convert from xml to xml using XSLT
Without know your entire setup, it's a bit hard to speculate. However, below are some pretty good tips:
http://www.granite.ab.ca/a
ccess/perf
ormancefaq
.htm
http://www.fmsinc.com/Micr
osoftAcces
s/Performa
nce.html
http://office.microsoft.co
m/en-us/ac
cess-help/
improve-
pe
rformance-
of-an-acce
ss-databas
e-HP005187
453.aspx
mx
Random Solutions
Include page headers when printing HTML pages with different headers on some of each page
Disable IPv6 on windows 2008
VMware Workstation 7.1 Won't Install
urgent: how to change the nic speed from 100 half to 1000full in Solaris10
Why won't Exchange Transport service start in Exchange 2007 on our SBS 2008 server ?
File Uploads with jQuery Form and jQuery Validation
aix vs shell
Windows7 my Documents folder
net share system error 5 acces denied
asp.net - I have a problem - i cannot connect an ajax calendar extention & textbox to the where clause of a gridview datasouce..