Dear all I have made a Function that fetches data from child Node but it throwing Exception on Line # 4 that is on var totalchildnodes function is given belowfunction popuphelp(filename) { var xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.load("Help/HelpFilePages.xml"); xmlObj=xmlD...
9664 byte By
venutm at 2007-11-19 18:59:09
May be an easy question for this community...I am trying to pass a nodeset as a parameter using call-template, initially, all the elements in xml were at the same level, like this:<Content> <Image/> <ItemTopic/> <ItemLinkName/> <ItemTopic/> <ItemLinkNa...
515 byte By
timcoder at 2007-11-19 19:00:23
Hi.Its my first post here so be nice!I'm looking for a tool that can accept as input an XML Schema (such as DTD or XSD) and output a form that can be used to create XML files that conform to that schema.I'm unsure myself what platform I want this on yet, but I've no idea if even such...
<content><br/><![CDATA[<br/><table><br/><tr><td>testing</td></tr><br/></table><br/>]]><br/></content><br/>when I insert the value of element with tag name content to HTML Doc element InnerHTML. the value is empty string.
3886 byte By
pschiff at 2007-11-19 19:09:14
Can anyone tell me why when I atempt to validate my below xml file against the xsd file, I get the below error message?Many thanks.The 'ItemList' element is not declared. An error occurred at file:///g:/temp/WDWEBSVC.XML, (4, 2).: Message:{0}***********************************************...
2841 byte By
pschiff at 2007-11-19 19:12:38
xmlserializer problemI am new to XMLSerializer and am trying to deserialize a very very simple xml file.Problem is that it fails with error:line 6, pos 5: Unknown Node:strItemNameCan anyone tell me whats wrong with my readPo() code?Thank you1. <?xml version="1.0" encoding="us-ascii" standalone="y...
3224 byte By
pschiff at 2007-11-19 19:18:02
In my C# app, I create a class which holds an arraylist.Then i serialize it to disk as wdwebsvc.xmlThen i run XSD.EXE and generate the 2 below .xsd files.So when i then attempt to validate the xml with the xsd file, i get the below error.Whats wrong? I am so confused?Petergot exception The global el...
1131 byte By
cjard at 2007-11-19 19:21:43
suppose I have an xml like this:<?xml version='1.0' standalone='yes' ?> <G> <R> <SUB1> <AA>blahAA</AA> <AB>blahAB</AB> <AC>blahAC</AC> </SUB1> <SUB2> <BA>blahBA</BA> <BB&g...
i have my file call quiz.xml.which i apply it into my asp.netmy code are like this----------------------<quiz xsi:noNamespaceSchemaLocation="quiz.xsd"> <mchoice> <question>When you create a new document, it always displays behind the Toolbox. Which of the following action...
609 byte By
venutm at 2007-11-19 19:28:01
This might be a simple question...I have a simple xml file: <?xml version="1.0" encoding="UTF-8"?><Content> <Element1>ele2</Element1> <Element2>ele2</Element2></Content>I want to replace Content with Page and I tried:XmlNode firstNode = xmlDoc.SelectSingleNo...
6839 byte By
fortenbm at 2007-11-19 19:31:53
I have a small working parser under hpux that I am trying to port to Linux using xerces-c. The code was based on a sample parser I used as a base to get a small console application to read in an xml file using a sax parser and create stl containers to hold the data. This runs on hpux but I am having...
472 byte By
John63 at 2007-11-19 19:34:09
Hi.I'm trying to modify a node in a XML file. When I use this line of code:usersXMLDoc.SelectSingleNode("//users").RemoveChild(usersXMLDoc.SelectSingleNode("//user[currentIndex]"));I get this error:An unhandled exception of type 'System.NullReferenceException' occurred in system.xml.d...
355 byte By
Techno at 2007-11-19 19:44:01
Hi. I hope you dont mind, I actually scrolled down further on the main form this time and found this subforum!here is a thread which I created, which I dont know if it belongs here, in the C# forum or both!please, if I could have your attention and help :) http://www.dev-archive.com/forum/showthread....
2363 byte By
cpb123 at 2007-11-19 19:48:08
Hi,The output from the following code works just fine but I was wondering how I would go about formatting the date to DD,MM,YYYY and the output of fine to a currency format (eg 26 becomes 26.00). The current output of both values look like this:11/21/2005 0:0:0874.5My code is as follows:XSQL Page:&...
399 byte By
mkjames at 2007-11-19 19:51:22
hi, can anyone help me. I need to create an XML script so that I dont have to manually create a database when distributing my softwares in vb.net. The script should be packaged together with the software so that during installation, the installer uses this script to create the database and the table...
544 byte By
sreber at 2007-11-19 19:51:24
With the following xml rows, i can include my own xml schema.<book xsi:schemaLocation=" http://abc.com mySchem.xsd" xmlns:lib=" http://abc.com" ... >But how can I registry my xml-schema to the parser (MSXML), so that i can use the schema like the w3c standart schema (without a schema location or...
2092 byte By
cpb123 at 2007-11-19 19:52:08
Hi,I am having problems with an XSQL page that uses a ref_cursor as it is not displaying any results. This is my PL/SQL packaged function with the cursor:CREATE OR REPLACE PACKAGE ref_cursor_loan_price IS TYPE loan_cursor_type IS REF CURSOR; FUNCTION return_cursor(price NUMBER,op VARCHAR2) RETU...
9118 byte By
pschiff at 2007-11-19 20:02:50
Help!I am new to Xpath and no matter what i try, I cant get XPATH to navigate my xml file.Any ideas?Thank youPeter<?xml version="1.0" encoding="utf-8"?><OurRootClass xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd=" http://www.w3.org/2001/XMLSchema" xmlns=" http://www.NiftyToo...
1280 byte By
Nikaa at 2007-11-19 20:13:15
Hi,I have a SOAP problem which I'm struggling to solve for a while. Notice, that I'm not an experienced SOAP programmer andcode example I'm trying to make working had not been written by me.So, a SOAP client: Windows XP, Pocket SOAP, C++ code.Server: Windows Server 2003, IIS 6.0 (or S...
186 byte By
hash123 at 2007-11-19 20:13:37
Hi All<br/>I am new programmer <br/>and want to study XML using VC++.<br/>so please provide me the information , tutorial, and sample for XML and VC++ to start with.<br/>Thanks
691 byte By
rbrown4 at 2007-11-19 20:15:08
I am trying to define a schema that has an element with an attribute that must be a qualified and defined element name.The best I've come up with is: <xsd:element name="message"> <xsd:complexType> <xsd:attribute name="type" type="xsd:QName" use="required"/>...
1723 byte By
pescado at 2007-11-19 20:15:32
I'm trying to use a geocoding web service which accepts a Canadian postal code and returns latitude and longitude in XML. I've used the same code with Yahoo's geocoder for U.S. zip codes and it works great, but not with the Canadian geocoder. The problem seems to be in parsing (or get...
322 byte By
Lars_V_J at 2007-11-19 20:36:18
Hi, I need to send the scandinavian chars and .The machine running my program uses codepage 865, and I use XML to communicate with another program (made by another company). We use ISO-8859-1 encoding. How (hex numbers) do one map between codepage 865 and ISO-8859-1?thanks in advanceLars VJ...
Hi,<br/>Does anyone know if there are xerces binaries for windows??<br/>-Subir
1661 byte By
Wolvorine at 2007-11-19 20:47:49
hi all , i have a xml something like <A><B Name="xyz"><D Name="x1" Status="Update_New_Data"> <D Name="something Main"> <D Name="something1"></D> <D Name="something2"></D> </D></D><D Name="x2" Status="Update_New_Data">...
272 byte By
tragos at 2007-11-19 20:53:11
Hi there!..<br/>My first post here and a kinda :p<br/>I'm writing an XML scheme of the smtp protocol ...<br/>Should I Include the codes and the commands in it?<br/>In a different xsd?<br/>Or I just should include the message?<br/>Thanks in advance
Hi everyoneI am having a problem with creating a mapping shema to bulk load a xml data file to sql server 2000 enterprise manager. I am new to xml schema. I have read some online examples, however, can't solve it. My case is a bit more complicated. After 2 hours debugging, not yet finished. My...
I use DOM object in order to work with XML via VC6.When I programmatically write an XML and try to open the file through notepad, I get all the nodes in a single line (while opening the file with Internet Explorer the tree structure is OK).I saw an example (in the MSDN if Im not mistaken) where empt...
378 byte By
ideru at 2007-11-19 21:08:40
Hello. Am currently having a problem on how to update the value on my XmlDocument. path value is in this format "Name1/Name2[@index=0]/Location/Item" i tried doing this but i had an exception XmlElement elemn = myXmlDocument.DocumentElement; elemn[path].InnerText = value; The code about cause an exc...
1130 byte By
ErikIce at 2007-11-19 21:09:59
Hi guys, I trying to use Xsd.exe (.NET 2005) for create a VB class starting from XML Schema. This schema is really complex and really important for me because it is a schema of JDF standard. JDF is an international organization (www.CIP4.org) for develop communication standard protocol using XML for...
426 byte By
alaa22 at 2007-11-19 21:12:30
suppose i have the folloing XML:<bookstore><book><title> AAA</title><author> bbb</author><price 40 </price></book></bookstore>& i want "title" for example as a return element, at the same time it is the predicate element.. how to make this exp...
2399 byte By
klegesdal at 2007-11-19 21:18:31
Just wanted to post some things I have discovered... I am working on a project where I wanted to use XML...for the first time I might add. I liked the idea of using the XSL files to format the resulting display. In my case when a new 'report' needs to be added...I will simply add anothe...
Kindly help me with the following queries:I'm using MSXML 4.0 in the SAX(2) parsing mode. I'm working on a desktop application in C++. Request you to resolve the following queries?1. Does MSXML offers an equivalent of XMLUni::fgSAX2CoreValidation feature provided by the Xerces-c parser? Fr...
hi Friends,<br/> i am new to xml . i want to develop the application in VC++ where i have to <br/>declare the url<br/>create object (msxml2.Server.xmlhttp)<br/>and have to use this object further.<br/>can anybody just suggest me the way to do.<br/>as i m new to it.<br/>Thanks 4 help in advance
I receive messages in the form of an XML document. I am able to receive up to 44 different messages, and i therefor also have 44 different xml schemas.<br/>When i receive a message, how do I know which schema to use to validate against?? What would you do?
Hello, everybody. Sorry to disturb you all.Currently, I have a speech recording and playback software developed by Microsoft Visual C++ 6.0. The software is used to train children with speech problem and scores will be calculated and showed at the end of each practice session. The software is able t...
917 byte By
Markyjj at 2007-11-19 21:51:54
Can someone help me with the following please.I am currently doing a project and I have to creat a XML file for the layout of the database. I have created a Windows form with controls. Am trying to bind the controls such as the text box and list box to the data source. I have tried reading the XM...
236 byte By
jasie24 at 2007-11-19 21:53:07
How can i save data from a select query into a xml file<br/>i know that Select * from Customers FOR XML AUTO, will put all my data in xml format, but how to save it in a xml file, to have it on my disk ,for example?<br/>Thanks
1154 byte By
shevi2027 at 2007-11-19 21:53:56
HelloI'm new to this XML and i'm totally lost..I tried searching in google but the results were not very helpful..Here is what i haveI have the following xml. And user data is passed as shown.<?xml version="1.0"?><form_job> <form_section> <form name="User_Bio" action=...
Hello everyone, plz help me with this.I want to select the node whose value contains a substring.For eg: <Data> <ID>1</ID> <Name>Abramson, Norman</Name> </Data>I want to select the node containing "Abramson" , so I cannot use the = operator, but I found no "sub...
487 byte By
achala at 2007-11-19 22:00:32
hello ,dint know where exactly to put this post put thought this forum would be my safest bet ... well i need help with a problem ,am trying to extract the html from my email . but all i can see is the eml format on my server (winmail 4.3) .. but i want the mails to be extracted as html or as txt .....
I'm converting XSL written for transitional ( http://www.w3.org/TR/WD-xsl) so it can be used in .NET ( http://www.w3.org/1999/XSL/Transform\). In the old XSL, the following line is used:<xsl:for-each select="MBCXML/BODY/MBEN[0]">...</xsl:for-each>i.e. it only happens for the first ins...
83 byte By
none123 at 2007-11-19 22:06:18
Hi guys!<br/>How do you get the local user's name, password and domain in XML?
371 byte By
MGP at 2007-11-19 22:10:02
I need to POST a file to a url.I can post XML to the url but I need to use multipart/related and attech a text file.I have searched around and read the rfc's related but I cnnot figure out how to do this with IXMLHTTPRequestPtr.Can anyone assist in this as I have aproject that requiers this fil...
346 byte By
buddhi at 2007-11-19 22:13:08
Hi all,Please help me to do following thing.....I have a table ..like this point.jpg I want to load this into a tree view as follows..tree.jpg Since this needs to be done using single filed on a tatble which has been delimited by "." is the issue I have....Please advice me.....
362 byte By
CoolStar at 2007-11-19 22:27:59
Hi All,I am using C# to Search the Particular node in XMl.<ParentNode><CustomVar:HCMVar ID = "234" LABEL = "TestLabel" /></ParentNode>I am searching for all the nodes starting with HCM, Can I do some wild card Search Something like CustomVar:HCM*.Please suggest !!Thanks in advan...
135 byte By
Sabin_33 at 2007-11-19 22:32:06
Can I use XML to connect to a database and populate the xml file?<br/>Or do I have to use a different language to create this document?
<?php// include the SOAP classesrequire_once('nusoap.php');// define parameter array (ISBN number)$param = array('isbn'=>'0385503954');// define path to server application$serverpath =' http://services.xmethods.net:80/soap/servlet/rpcrouter';//define meth...
World's Best XML IDE adds new XML tools and enhanced support for industry-leading data processing components for XQuery, EDI, XSL:FO and XSLT.Bedford, MA, June 13, 2006 - Stylus Studio ( http://www.stylusstudio.com), the industry-leading provider of XML tools and components for advanced data int...
Hi All,<br/> I am working on VC++ (exe dialog application).. I have loaded the xml file using DOM. Can I know if there are any built in function or any other alternatives to find the size of the DOM ,before and after loading the xml file??