Hi,
I have an predefined XML format, lets say:
<employee id="1111">
<name></name>
<addr></addr>
<salary></salary>
</employee>
Now if my XML format is changed then how do I convert my old XML to
new XML? Some tags are added in the XML tag of employee and some are
deleted, some are as it is. But the new format is also fixed and I
know that.
Is there any standard way like XSLT or any other way to convert them?
I dont want to manually change the XML tags. Do I have to parse each
node and check whether it is present in the new format or modify it
accordingly.
I just want the same data to be filled in as per my new XML format.
Please let us know if any coding standard is followed to the same.
Thanks,
Regards,
PI 1 1716
On Aug 23, 9:17 am, ipra...@gmail.c om wrote:
I have an predefined XML format, lets say:
<employee id="1111">
<name></name>
<addr></addr>
<salary></salary>
</employee>
Now if my XML format is changed then how do I convert my old XML to
new XML? Some tags are added in the XML tag of employee and some are
deleted, some are as it is. But the new format is also fixed and I
know that.
Is there any standard way like XSLT or any other way to convert them?
Yes, XSLT is basically the standard way of doing this.
I dont want to manually change the XML tags. Do I have to parse each
node and check whether it is present in the new format or modify it
accordingly.
"Just" write an XSLT template and apply it to the old files.
I say "just" because I personally can't standard XSLT. However, it's
probably the most appropriate technology in this case. See http://w3schools.com/xsl/default.asp
Jon This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Karam Chand |
last post by:
Hello
Is there anyway to change the default date format
(possibly in a .ini or .cfg file) from YYYY-MM-DD to
another format ? (ie, mm/dd/yyyy or any user-defined
format).
The useage that I'm looking at is to import a CSV file
into a table (using Load data infile .... command)
where dates are stored in mm/dd/yyyy format and can
|
by: Laurence Neville |
last post by:
This is regarding a change in the Short Date format under Hebrew Regional
Settings, that has caused huge problems in our ASP web application. The
change appears to have been introduced sometime before Windows 2000 Service
Pack 4 and has remained through to Windows XP. I am looking for a solution
that doesn't involve rewriting our application (much) and that allows all
our users to keep using Hebrew Regional Settings.
To summarize our...
|
by: Du |
last post by:
I want to format the text within my richtextbox. However I have large
amount of text to change, simply using richtextbox.select and format is not
pratical.
How do I change text format using control characters (ie rtf format string)
???
I only need a few formating string; font-weight, font-size, color, and font
face
|
by: Julius Fenata |
last post by:
Dear all,
I need help to change my item-template value format...
Here is my case, I have a datagrid, with 'SubjectPrice' field, and when the
grid displayed, my 'SubjectPrice' field displayed as this format:
$30,000.00, because I put it this format {0:C}.
I need to re-format as only this value (example: 30.000 - without currency,
without decimal & using dot for thousand separator). But how to re-format my
|
by: andreas.w.h.k. :-\) |
last post by:
How do I change the address location in the wsdl
<wsdl:port name="SearchSoap12" binding="tns:SearchSoap12">
<soap12:address location="http://searchservices/engine/search.asmx" />
</wsdl:port>
Anderas
| |
by: Tee GEE |
last post by:
I included my VBA below. I would like to change the font of the
"strBody" to be Bold, italic, color, etc. The code that I attempted to
write is identified by ***. Any help would be appreciated.
------------------------------------------------
Private Sub EmlAll_Click()
On Error GoTo Err_EmlAll_Click
Dim strBody As String
Dim rs As Object
Dim con As Object
|
by: sonald |
last post by:
Hi,
Can anybody tell me how to change the text delimiter in FastCSV Parser
?
By default the text delimiter is double quotes(")
I want to change it to anything else... say a pipe (|)..
can anyone please tell me how do i go about it?
|
by: Orchid |
last post by:
How can I change a Date datatype to a Number datatype? For example, I
want a date 10/31/2006 to show 1031 as Number datatype. But I don't
want it becomes 39021. What formula should I use? Thanks for your
help!!
|
by: DavidOwens |
last post by:
SELECT DISTINCTROW Format(PERIOD.START_DT,"mmmm yyyy") AS MonthYear, SALES.PERIOD_ID, Sum(SALES.SALES) AS SumOfSALES, Sum(SALES.SALES_UNITS) AS SumOfSALES_UNITS, Sum(SALES.SALES_VALUE) AS SumOfSALES_VALUE, Sum(SALES.PHILIPS) AS SumOfPHILIPS, Sum(SALES.FITTED) AS SumOfFITTED, Sum(SALES.FITTED_UNITS) AS SumOfFITTED_UNITS, Sum(SALES.FITTED_VALUE) AS SumOfFITTED_VALUE, Sum(SALES.DONE) AS SumOfDONE, Sum(SALES.BOOKED) AS SumOfBOOKED,...
|
by: Bface |
last post by:
Hi all,
Hope everyone had a good holiday. I am having a difficult time changing the date format of a field from Excel. I have never had this problem before. I link the excel spreadsheet to my DB, from the spreadsheet I have an append query that appends only certain fields from the spreadsheet to a table. One of the fields is called . The date in this field are displayed as ‘yyyymmdd’ ex:20070525
To change date format I usually create an...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |