I hope that this is the correct place to post this question.
I'm looking at developing an application which will enable me to import
and process some data that is made available to me as XML.
One complication is that the providers of the data have published two
different schema versions. Whilst effectively describing the same data,
the 2nd schema is a significant refactoring of the first and so is
almost totally different in structure. I also can't rule out the
possibility that they will issue further versions too. I'd ideally like
to be able to handle both of these schemas and I also like to be able to
support for new versions with the minimum of fuss.
From knowlege of the application domain, I am also fairly sure that the
essential data will be stable change across schema versions.
I originally considered defining a class for each schema version and
using the XmlSerializer class to construct the appropriate one from the
xml document. However, this is where another potential issue raises it's
head: the xml files are rather large: 50+ Mb and over 1 million lines.
I suspect that using the XmlSerializer with documents of this size is
probably not appropriate. Am I correct?
Want to hear from a DataDirect customer how they use DataDirect XQuery
and DataDirect XML Converters? and why? Maybe you have a similar need
and DataDirect's XML products can help you.
Join our upcoming webinar, and hear the DataFlux story - presented by
Scott Gidley, co-founder and CTO of DataFlux. He will discuss how
incorporating DataDirect's XML-based products into their dfPower
Studio and DataFlux Integration Server has allowed them to quickly
expand their markets by providing support for non-relational formats
and industry vertical standards such as HL7 & ACORD.
It basically takes a word XML document at it's input, plus a separate XML
file opened using the document() function and applies changes to the word
document on the basis of the secondary file.
A customer has reported that for one document, the process takes about an
hour to run (the word doc is 4mb and the file of changes is about 100k)
whereas for other similarly sized files it normally takes a few seconds.
we have been unable to reproduce the problem in the development environment.
clearly the problem is data dependent but the customer's data is
confidential so they can't send the files to us
is there any way I can get any kind of diagnostics to find out what is
slowing it down?
I have a collection of data objects that are based on my application's
data model. I want to be able to serialize this data to different XML
formats (schemas) for use by different consuming applications. For
example, I want to generate XML from the data one way for
Application1, and generate XML in a different format for use by
Application2.
I don't think I can just serialize my objects as XML because I would
lose the flexbility to choose the output schema.
Is there something built into the .NET framework that will allow this
to be done easily? It would be nice if there was some time of template
based system for generating XML from objects. As far as I know, you
can't really apply XSLT transforms from objects.
Hi everyone.
I've got problem with converting xml file to xsd schema. The Xml file
looks like:
http://search.yahoo.com/mrss/"> Song Site TitleOfMedia http://www.foo.com Songs galore at different bitrates Cool song by an artist http://www.foo.com/item1.htm TitleOfMedia http://www.foo.com/song64kbps.mp3"
fileSize="1000" bitrate="64" type="audio/mpeg"
isDefault="true" expression="full"/> http://www.foo.com/song128kbps.mp3"
fileSize="2000" bitrate="128" type="audio/mpeg" ...