Subject:Removal of elements from an XML file Author:Trevor O'Neill Date:11 Nov 2007 07:44 PM
I am a complete novice with XML and am on a very steep learning curve.
My Problem, I have created an XML File by exporting the data from MS Access. However the XML File created includes the Relational Fields used in Access for the Sub Tables which are not required in the XML File. Is there a way to delete ALL such elements and the associated data thoughout the XML File.
I have given a common name to all such Fields (ie., <CID>in hope that some routine could run across the file
Is there a simple Routine that i can run OR is the Task far more complicated.
Subject:Removal of elements from an XML file Author:Alberto Massari Date:14 Nov 2007 02:33 AM
you can write an XSL stylesheet that performs an "identity transformation", i.e. it copies the data in input to the output, adding a template matching your CID element that doesn't copy anything.