|
by: Jari Kujansuu |
last post by:
I can successfully parse XML document using SAX or DOM and I can also
validate
XML document against schema.
Problem is that my program should deal with user-defined schemas which means
that when I parse some element from XML document I don't know until
runtime the
type of the element (it depends on the type used in user-defined
schema). XML
parser obviously validates that the value of the element is correct type but
still I receive that...
|
by: Mike |
last post by:
Related to another topic I just posted, I wanted to discuss ways to optimize
the validation of very large (>100MB) XML documents.
First, I have no idea if something like this already exists; it may even be
the typical implementation for all I know.
At any rate, it occurs to me that the set of business rules that need to be
validated against an XML document represent a limited set of nodes at any
given time (while parsing through the...
|
by: Gene Ellis |
last post by:
Our sys op won't/can't install the server side XSLT libraries, to
allow us perform server-side translations on our webserver It is a
Linux machine. Is it possible to put the XML and XSL files on a
different machine and have the translation take place there and then
have the results given to the webserver and then it gets served out to
the user? How would I accomplish something like that? Php? 3rd party
software? Please let me know. Thank...
|
by: Peter Morris |
last post by:
Newbie-ish question:
I've done a little programming with XML. I can use a cascading
style sheet to specify text format, such things as font, size and style.
But I want something a bit more complex than this.
For example, I want to put a title bar at the top of each page
in my website. Rather than specify the HTML in every page, I'd like
each page to include a piece of XML like this :
<XML ID=TOP>
|
by: DSmith1974 |
last post by:
Hi All,
Can anyone help with the following problem? I have a database which
contains a table with a 'text' field, and the text field contains an
xml document - typically 50-100K. Now I'd like to make use of SQL
Server 2005s XMLData type. To do this I have created a new field of
the 'xmldata' datatype, and run an SQL statement to update the contents
from one field to another - hoping to end up with a complete table of
xml (based on...
|
|
by: Daniel |
last post by:
Is it possible to use regular expressions inside of an xpath statement
executed by System.Xml.XmlDocument.SelectSingleNode() ?
string sdoc = "<foo><bar a='1'/><bar a='2'/></foo>";
System.Xml.XmlDocument pdoc = new System.Xml.XmlDocument();
pdoc.LoadXml(sdoc);
System.Xml.XmlNode pnode =
pdoc.SelectSingleNode("//foo/bar/matches(.,'\\d')");
string foo = pnode.InnerText;
int i23 = 23 + 23;
|
by: =?Utf-8?B?R292ZXJubWVudE1hbg==?= |
last post by:
Hi,
I am using Reflection to build a GUI based on a class create with XSD, in VB
..NET 2.0. For most elements, I can easily determine the Type and then
provide the user some controls to select what data to use (they are creating
an XML document essentially on the fly). But the choice element has several
possible types and so it creates this itemField as object within the
xs:choice-generated class:
Private itemField As Object
|
by: =?Utf-8?B?Qi4gQ2hlcm5pY2s=?= |
last post by:
I've included an xml and a dtd file in my Resources folder (This is a
Winforms VB project in VS2005.) I'm planning on using the xml in Resources
as a 'template', just load it and change values. The beginning code is:
Dim xDoc As New XmlDocument
xDoc.LoadXml(My.Resources.NameOfXMLFile)
... do some stuff to XDoc
Given that, is it possible to use a DTD in Resources to validate the XML?
|
by: Simon Willison |
last post by:
I'm having a horrible time trying to get xml.dom.pulldom to consume a
UTF8 encoded XML file. Here's what I've tried so far:
<msg>Simon\xe2\x80\x99s XML nightmare</msg>
"""
('START_DOCUMENT', <xml.dom.minidom.Document instance at 0x6f06c0>)
('START_ELEMENT', <DOM Element: msg at 0x6f0710>)
....
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2019' in
position 21: ordinal not in range(128)
|
by: =?Utf-8?B?c2lwcHl1Y29ubg==?= |
last post by:
Hi
I need to store some configuration settings in a db
using an 2 fileds
ID Field and String Field
The ID Field is a unique key and the string holds a xml string that store my
settings
Now I need to modify my configuration xml to store another parameter which
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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: 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: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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...
|