Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. XML / XSL
  4. using xsl

using xsl

Scheduled Pinned Locked Moved XML / XSL
xmlcsharpperformancehelp
3 Posts 3 Posters 9 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dsk
    wrote on last edited by
    #1

    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

    P B 2 Replies Last reply
    0
    • D dsk

      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

      P Offline
      P Offline
      Paul Watson
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • D dsk

        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

        B Offline
        B Offline
        Brandon Driesen
        wrote on last edited by
        #3

        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:

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups