Actually, your DataSet contains two Tables : day and job, I guess that's where the problems start.
I'm not very familiar with databinding, I would ask in another forum (as this whole question probably should have been ).
The problem is not the attributes, the "title" and "label" attributes are acceptable to the binder. Also the other attributes ARE present as columns in table "job".
So, post this question in the ASP or Web Development corner of CP.
i created a dropdownlist that shows all the ((day- label attribute)). by selecting one of those item, it will bind all that selected node's data in a datagrid.
In other words, how can i bind the selected node from the dropdownlist to a datagrid that will bind its attributes?
I want to save my images in XML file and read my XML file and export images from it and show in the .aspx page.
How can i save my images in XML file and how can i export these images and show them in .aspx page?
Basically the top xml is a inventory for a company named tiger direct which im sure you have all heard of and the dtd is a link to that xml. Please ignore small things like google.ca as the url indicator for the namespacing. but they dont link because the dtd is done wrong. can someone please tell me where i went wrong?
Ummm - you have lots of issues with the DTD as well. You've got lots of repeated elements (itemName and itemNumber, for example). The element names in the definition of the content of the detail element don't match the element naems defined in the DTD (postCode vs postcode, for example).
And remember, the XML is NOT fine if it doesn't validate against the DTD...
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
I have a xml file that define the path and image to a Video Player .You can see it on www.gogurugo.com/SiteInfo.aspx?id=Ap
Click on any thumbnail and it goes to www.gogurugo.com/Video.aspx
but when we select next time another thumbnail it does not update xml file with current Video.
Everybody please see the site,all of you will understand my problem,Use Internet Explorer and also use Mozila FireFox.
You will see the problem.
Please help me how can i solve this issue?
Now I Know how work XML and XSLT, and if the output is HTML I hav´nt any problem, but I want to generate a new XML file starting from other XML file with the modifications stablished in a XSLT stylesheet, and my question is:
Which is the central object in Visual Studio 2005 whis is able of charging the original XML file apply the transformations contained in the XSLT file and save the result in the new XML File.
First the issue. I have an Open Source application that uses a database which is contains copyrighted information. This database is an XML database which is obviously a bunch of folders and files under a single folder called RM-XML. I cannot distribute this database to the public, I can only distribute a template which I think makes running this program rather frustrating to users. That is in order to run it they have to create a database. Something that took me weeks to make.
Idea: I would like to somehow compile or encrypt this database folder so that it's unreadable to the end-user akin to either a serialized document or something that has been compiled along with the application so that the .exe itself also holds the XML somewhere in its code. Then I can reference this database in my code. The application uses wxWidgets for the front-end and C++ for the back-end.
I have no idea where to begin other than here to see if anyone has any ideas of how to make this possible, if it really is possible. Maybe I have to export the database to something else and compile it. Hopefully this is enough to allow me to distribute this database with the application.
You could try zipping the folder with a password, then use the zip file as a file-system from within your program? That's what (for example) Microsoft do with Office 2007 files - a .docx file is just an XML file and folder structure in a zip file...
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
This is really more of a Web Development question
but the best answer is to use PHP or ASP to get
the file on your server then make it accessable
to the client.This applies to any file from a
different domain not just xml.
for a business application in C# I have a more complex object representing an article. Attached to this object there are numerous further objects representing the suppliers, prices, storage locations and quite a few things more. These objects in turn may have further objects or collections with further information. In the end the whole structure represents everything we have in the database concerning this article. Please note, this is not a DataSet. It's a complex data object loaded from the database with NHibernate.
Now we would like to serialize selected articles to XML. We have prepared a XML schema, but now it's the question how we proceed with serializing. I could simply use a XmlWriter class and provide each data object with a method to serialize itself and recursively all attached objects and collections, but I hope there is a better way.
Is there a way to associate the schema with the data objects and their properties and then serialize the data objects with the bonus of not having to write serialization methods for each and every data object and also validation against the schema?
Edit: I took a closer look at the System.Xml.Serialisation namespace, but unfortunately this will not help in this case. The problem is that I would have to decorate a collection of articles with the XmlRoot attribute. Due to the number of articles to be serialized I cannot simply fill some kind of collection and then serialize everything. It must be done one article at a time.
A while ago he asked me what he should have printed on my business cards. I said 'Wizard'.
I read books which nobody else understand. Then I do something which nobody understands. After that the computer does something which nobody understands. When asked, I say things about the results which nobody understand. But everybody expects miracles from me on a regular basis. Looks to me like the classical definition of a wizard.
i hav made an xml file..as well as an xsd file..i need to refer this xsd file in the xml file..
what should i include in the <xs:schema> tag of the xsd file..?? and what to include in the <root> tag of the xml file..
these r my xsd and xml files respectively..
<xs:element name="name" type="xs:string">
<xs:element name="age" type="xs:string">
This will define the xs prefix and the namespace you want to create.
Within your xml file you have to put a reference to the schema by changing the root to this:
Here the namespace is imported without a prefix. But pay attention if you need to validate the xml (if it is valid according to the schema). The reference will be resolved by a DefaultResolver. This one will not find the schema file until you give it a hint.