Trez bien! Thank You very much! Your code is working without errors, validation is passed. But Your code converted to JScript is working with the same errors. Hence there are errors in the Ms COM implementation of Xml parser.
Hi! Unfortunly, our long and winding road is continuing. The Ms .NET XML parser is not finished too. After passing Your successfull example, I tried to pass example of using unparsed entity. I added some entity and it notation in the DTD and some attribute definition of the ENTITY type in the schema. After I added this attribute with the unparsed entity value and executed Your program. The test was ok. But after I assigned to the attribute improper value (not unparsed entity) and test was once again ok! After my tests I have a mind that the parser checks attributes of the ENTITY type as of the the NCName type (the direct ancestor of the ENTITY type). The XML file and schema is here:
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE change-history [
<!ENTITY eacute "é">
<!NOTATION MyNotation SYSTEM "My Notation">
<!ENTITY MyEntity SYSTEM "My Entity" NDATA MyNotation>
<change-history product="Sample" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="change-history.xsd">
<version number="2.21.0" entity = "MyEntity">
<change reason="issue 11">Added license to executable.</change>
<change>éFixed bug in executable.</change>
When I try to open xml, that i created myself with IE, i get error: "There was a problem sending the command to the program". With this error showed IE also opens this xml. On the other side when i open it with Firefox, it opens xml without errors. What could be wrong with xml, that IE doesn't open it without errors?
I have a DLL file I have been modifying but I'm stuck.
Inside the DLL are several duplicate xml files,images.............
What I am trying to do is change a reference in the xml file from calling 1 of the bitmaps
embedded in the dll to a folder location with the same named bitmap allowing for changing
the bitmap without editing the dll.
the xml code for referencing the bitmap looks like this background = "resbmp(12260,7,-1,0,0,1,1)" 12260 being the bitmap name ,7,-1,0,0,1,1 being the dimensions, transparency...
how would I go about changing the resbmp reference to a folder location such as c:user\Desktop\Images\12260.bmp
I have a xml document as below and in Xslt I need to get the person name on the basis of email id as in below xml file , contributor node contain email id and associated name is included in Epic node can any body help me to get the name for each contributor through xpath?
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.
modified on Friday, December 4, 2009 10:06 PM
Last Visit: 28-Sep-20 7:30 Last Update: 28-Sep-20 7:30