Hi!,
I have this sample xml document :
<?xml version="1.0" ?>
<?xml-stylesheet href="TestFile.xsl" type="text/xsl" ?>
<CustList>
<Custb x="x">
<b>Test</b>
<Custa>z</Custa>
</Custb>
<z x="x">
<Custa>z</Custa>
</z>
</CustList>
I need to create a new document containing only element with a name like "Cust*". I think the best way to do this is with xml:copy but it does'nt seem to work. The result of this transformation should be :
<?xml version="1.0" encoding="ISO-8859-1"?>
<CustList>
<Custb x="x">
<Custa>z</Custa>
</Custb>
</CustList>
Do you have any idea ?
Thanks!
Jeff
I have this sample xml document :
<?xml version="1.0" ?>
<?xml-stylesheet href="TestFile.xsl" type="text/xsl" ?>
<CustList>
<Custb x="x">
<b>Test</b>
<Custa>z</Custa>
</Custb>
<z x="x">
<Custa>z</Custa>
</z>
</CustList>
I need to create a new document containing only element with a name like "Cust*". I think the best way to do this is with xml:copy but it does'nt seem to work. The result of this transformation should be :
<?xml version="1.0" encoding="ISO-8859-1"?>
<CustList>
<Custb x="x">
<Custa>z</Custa>
</Custb>
</CustList>
Do you have any idea ?
Thanks!
Jeff