using xsl
-
I have a xml file which has to be sent to another system with the node name changed. eg: "" has to changed to "" This is a bulk operation where performance is critical. The platform is vb6.0/vb.NET. Can any one help me out dsk
dsk wrote: This is a bulk operation where performance is critical Honestly I would not even use XSL for this. The change is so simple that just a string-replace function would be best. With XSL you would have far more overhead. Even RegEx would probably be a better choice.
Paul Watson
Bluegrass
Cape Town, South Africa -
I have a xml file which has to be sent to another system with the node name changed. eg: "" has to changed to "" This is a bulk operation where performance is critical. The platform is vb6.0/vb.NET. Can any one help me out dsk
1. If the XML Document is large then, using DOM for transformation may not be practical. If that is the case, then under the .NET scenario, you should use the XmlTextReader and XmlTextWriter objects. 2. If the XML Document is not large enough then, you can use the DOM Methods which can be pretty verbose even in .NET. 3. Using an XSLT approach may be convenient if the document generally does not exceed 50 Kb. the XSLT file is as follows: