January 23rd, 2002, 08:22 AM
Transforming xml doc
I need to transform this xml doc:
To the following:
<z:row> CustomerID="ALFKI" CustomerName="Alfreds"/>
January 23rd, 2002, 09:08 AM
I guess something like this would work(left out all the usual XSL definitions):
Note: this is completely untested, but I hope you get the point.
<xsl:element name="data" namespace="rs">
<xsl:element name="row" namespace="z">
Also: take a look at the XSLT reference at zvon.org.
All the info you need about XSLT can be found there.
Edit: noted an error in the namespace definition.
Some people, when confronted with a problem, think “I know, I'll use regular expressions.” Now they have two problems. - Jamie Zawinski, in comp.lang.emacs
January 23rd, 2002, 09:19 AM
my only problem now is how to create this or implement it using VB6. Any ideas?