I really don`t understand schemas namespaces and reading books also not clear my mind. My questions are:
- what's the difference between xmlns and targetNamespace
- if I change the targetNamespace of the schema pointing to one urn of my own all schema, which before was working, start having errors, I thought that targetNamespace point to one opaque urn and taht you can change it?.
- also some books mention that if you are to validate a Xml file with a schema the elements of both files must belong to the sames namespace, but the only way I get validation working is if I don´t set any namespace in the Xml file.
Please could somebody explain me shortly the rules for this schema namespace or some link where it's clearly explained, no so ambiguous explanations as I found until now.
Just a open question. I have seen the codes like asp/xml admin to add delete and modify data in an xml. from that I created milti xml files like in an MSaccess where one has multi tables linked by a keyID from table to table, the same way even excel can be linked from sheet to sheet but are still seperate sheets.
That has worked out really well. I have written my own multi-file menu navigation xml that spans over to a record xml to display data and images. that you can see how well over 10,000 images are displayed with around 1000 navigation links at www.wartimepress.com
The next thing I am working towards is making a multi user xml portal database and login. I have one done but took a moment to ponder upgrading my code to aspx. However I have not seen any samples or examples that show how to pass url values where aspx can get them and filter a xml to match and sort via a value.
So many so called examples have been removed from the web, or are becoming outdated. and if one does find a code it mostly is not secure in hidding your file location where a person can reverse hack locations and file structures. also 90% of code examples are sql DB not xml. the last 10% is add delete modify display xml in aspx, but I have not found anything but C or VB examples how to make a pull down or radio buttons and even those codes dont show how to select a value and reload a new xml and filter for say "navy" then display match records with the value passed to a xslt.
Well is apsx all that, or is it still going to take a few years for it to do what asp does already? is you take a look at wartimepress.com you can see where the navigation to the left selects a value from a xml file then via the url redisplay any match records from another file in the content center of the page via xslt.
Thanks if any one has seen aspx code that does the same. and a simple multiuser xml starter code in XML not sql.
my code is in classic asp,
url xml navigation selects "name_value" into a url
that url select string passed to asp to xslt to display records.
I also have many other xml cods which randomly display banners and count impressions and clicks show from other site locations where the code has been placed. I have not expanded it to show unique visitor per click from sites yet.
I also have another site where I am working on my own genealogy xml standard to display records but the multi user and level access per user is my hold up at the moment.
You can use xsl to render your xml in html format very easily.
I didn't understand what do you mean by embedded images.I think xml file would e conaining some relative path of the images and images are in a specified folder on a specific location.
I've followed a simple example to load an xml file into a table using 'httprequest'. I know my way around code, but this is my first time coding a webpage in 6 years, a 'quicky temp replacement' for a small business website catalog. I'm a hapless newbie once again.
The below code worked fine with a sample xml file I made (one with only two records), but when I exported the full file from a database it only returned one line in the table (the xml files have the exact same structure, only more entries).
Also, when using this in Firefox it never stops loading. And eventhough there is a clause to make it work with IE, it doesn't.
Any help is appreciated, even if it is a complete alternative way of tackling this ... rather basic thing ...
else // Internet Explorer 5/6
I was wondering if there is some standards regarding the data transfers in xml format to be followed by Business-to-Business applications?
By Business-to-Business I mean, the process of consuming one web-service by any other business application.
My actual requirement is to host a webservice which will provide the data available in a .net DataSet variable in XML format, so we were looking for some industry standard specifications regarding the data in xml format?
Yes there are XML standards which are followed when you are sending/recieving XML data. Although they depend on the kind of industry you are working on. I would suggest to search "[your indusrty domain] xml standards". I am sure it would give you a lot of useful results.
50-50-90 rule: Anytime I have a 50-50 chance of getting something right, there's a 90% probability I'll get it wrong...!!
I am trying to store the xml data into the SQL database. The xml data that is am getting is through the xml file. I upload the xml file. When i click update, it should get updated into the database. Can anyone give me some ideas on how to do this.
I am newbie to xml, i am writing xml file using xmlTextWriter Class of System.Xml namespace. i am able to write the contents in to an xml file but the problem here is that i want to embed images in to xml file. right now i am using
but this will give u the link but i want to embed images directly in to xml file
I am trying to use XQuery on XML data and elaborated samples are few on the web. I only find small tutorials for beginners.
Here is the query specification :
> it's a list of "vehicle";
> each "vehicle" has "flags" nodes;
> each "vehicle" is identified by a unique numeric "id" attribute;
> I want to find the lowest id verifying a list of flags ;