Hello everyone,
I need to send some XML element to some other services and I want to ensure my XML file is of elegant format so that other people could use their XML parser to parse the XML file.
For such kinds of XML file, is it elegant format, breaking any rules of XML? Not sure whether  is valid XML character sequences in .Net/C...
Hello,
I have the following XML (partial) document :
<export>
<table name="CLIENT">
<row>
<col name="CODE_CLIENT" type="System.String">1000010026</col>
<col name="LIBELLE" type="System.String">Test|</col>
<col name="PROSPECT" type="System.Decimal">1</col>
</row>
<row>
<col name="CODE_CLIENT"...
Hi
Is anyone aware of a quick way of reading in an xml file over http?
(e.g. i have a file located in http://www.abc.com/file.xml). How can i read this file from a java app
All help is greatly appreciated
Thanks
Damien
...
I'm using an XMLparser class to convert XML into an object.
The problem is that the XML I have contains a dot in the nodeName (estate_size.primary_room_area). This of course doesn't work since it uses the dot notation for the object path already.
Some ideas, but have no idea how to do them:
-Replace the dot in the name somehow
-Change ...
Hello,
I can't figure out why my code just taking the first tag and not the rest.
var xml = XDocument.Load(HttpContext.Current.Server.MapPath("~/App_Data/Themes.xml"));
var q = from f in xml.Descendants("themes")
select new ThemesItem
{
Name = f.Element("theme").Element("name").Value,
Descripti...
I have a simple schema that I am trying to read using XmlSchema.Read() method. I keep getting
The 'nillable' attribute is not supported in this context
Here is a simple code in C#
XmlSchema schema = null;
using (StreamReader reader = new StreamReader(<Path to Schema file name>)
{
schema = XmlSchema.Read(reader.BaseStream, null);...
I am designing XML for some custom logging. There's a part in the logger where the developer can add name-value pairs to the log. I'm trying to decide how the XML should look. I'm trying to decide whether the name portion of the name value pair should be an attribute. (I think so). Here's what I have so far:
<ExtendedProperties>
...
function text_window()
{
var xmlDoc;
if (window.XMLHttpRequest)
{
xmlDoc=new window.XMLHttpRequest();
xmlDoc.open("GET","cd_catalog.xml",false);
xmlDoc.send("");
xmlDoc=xmlDoc.responseXML;
}
// IE 5 and IE 6
else if (ActiveXObject("Microsoft.XMLDOM"))
{
xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
xmlDoc.async=false;
...
is this allowed nested comment in the XML file ?
<!-- Making only one observation attempting to correct the error code -->
<!-- <component>
<!-- Result observation template -->
<!-- <id root="2.16.840.1.113883.19.5.10" extension="103220"/>
</component> -->
...
I was just wondering if there was a library out there which could generate a xsd schema from a java class .
Google yields lots of results the opposite ( java classes from xsd ).
...
SO,
I am building XML string based on the values from the dataset using XMLWriter.
It is properly building the xml string as per the settings and the conditions I specified.
If there are more than 1000 records in the dataset and when I try to build the xml string I am getting the above error. hexadecimal 0X19 is an invalid character
...
From my Windows Service I am passing a well-formed XML string to a Java Web Service.
The Java Web Service will process the data and return me a status code. Though I am passing a well formatted XML file. I am getting an error from the Java Web Service of:
Invalid byte 1 of 1 utf-8 sequence in vb.net
What is the reason for this?
...
I've been given some "XML" files that don't quite have a proper schema (I think that's the problem) and the medical device that generates them cannot be changed to generate easy-to-parse XML. (With such a tantalizingly small modification (extra wrapping Images tags around the Image entries) it would be trivial to read these files---isn't...
Hello,
I have a web service with just 1 Web method which will accept xml as string.
This web method is a function which will loop through data received and insert into sql server database in relevant tables.
When I try to consume this webservice which is on my machine from another vb.net application if the XMLstring is too huge I am g...
I'm working in AS3, but I guess this could be a general question, so I'll frame it more vaguely...
I'm using an XML file to define parameters for a particular class of object that implements the Strategy Pattern. There will be large variety of objects, and this works for us as a designer friendly solution to customizing these objects. A...
What is the best way to detect when a feed has been updated? Say I have an application which polls the feed every 15 minutes. How do I find out if new content has been added or not?
For RSS as well as Atom feeds.
...
Hi Folk can you help me?
i will create a XML Parser with anchor/hash url.
My problem is I get the hash / anchor from the URL does not load.
Here js in HTML Template
<script language="javascript" type="text/javascript">
$(document).ready(function() {
BROADCAST.init({
xmlPath : "broadcast.xml",
swfPath : "swf",
...
Hello Community,
I want to have a xml file for my configuration and so i have to load it from the same directory the swf file lies in and save it afterwards. I saw articles about filestreams in flex but my compiler didn't allow me to use the filestream. I use the open source flex sdk.
anyone got an idea?
thanks in advance
Sebastian
...
Hi, I need to populate a DataGridView conditionally. The data comes from one XML file, e.g.
<?xml version="1.0" standalone="yes"?>
<people>
<person>
<name>Bob</name>
<dogs>
<dog><name>Rover</name></dog>
<dog><name>Rex</name></dog>
</dogs>
</person>
<person>
<name>Jim</name>
<dogs>
<dog><name>D...
What I'm working on is a navigation bar populated by an XML document.
I'm working from an existing navigation bar while I learn, and the existing bar has a menu, and when clicked each button has a sub menu.
I'm trying to remove the submenu so that when you click the navigation bar button, you go to the address defined in the XML.
So f...