HiWonder if anyone could help..I am using data islands xml files (stored on server) and I use HTML tables to display the data in the browser. This works absolutely fine, however I now need to display the data in an excel spreadsheet. I therefore modify the content type to:response.ContentType = "app...
574 byte By
Uudi at 2007-11-19 1:43:09
Hello. I'm looking for a Java based open source XML editor. What I want to do is have an editor which only allows the user to add certain tags. E.g. <FirstName>, <surname> and <picture>, <phone>. Then I want to be able to add a button which would run my own code which wo...
625 byte By
onggie80 at 2007-11-19 1:43:20
How is this achieve?In this example:<NewDataSet> <Table> <ColumnGrp>sss</ColumnGrp> <MV>10</MV> <RowGrp>ABC</RowGrp> <RowSubGrp>ABC</RowSubGrp> <nature>Active</nature> </Table> <Table1> <ColumnGrp>aaa<...
701 byte By
lock81 at 2007-11-19 1:45:45
Hi,Im currently building some software that will allow HTML to be automatically converted to XHTML and then display either the code alone or the actual page to the user.The process would be: User inputs HTML, HTML is then taken, stored in a buffer and converted to XHTML.However, Im rather stuck as t...
222 byte By
Surr_79 at 2007-11-19 1:47:16
Hi,<br/> <br/>Nowadays XML is the Common type of Data transfer mechanism. Since there are chances to loose our data , how the security is achieved in network on xml documents ?<br/> <br/>Pls help ...<br/> <br/> Suresh ....
Hi! I've been visiting dev-archive for some time but have almost always found my answers without needing to post a specific question. (And I have rarely seen a question I could answer that wasn't already. :)) Now, however, I am somewhat stumped -- and frustrated.I have three documents....
740 byte By
rakeshxp at 2007-11-19 1:54:32
Hi, I am working on a web portal which uses MySql & perl. I thought of using XML so that I can use XMLHTTPREQUEST. Since I am new to this field I need guidance as to how to go ahead.I have installed MySql & Perl. I read some where that I need a Module for XML in perl. Could u tell me how to do the s...
335 byte By
Bambi123 at 2007-11-19 1:55:33
Can anyone up there show me how powerful xml is when it is used to make a connection with a simple 'Hello World' C++ program ?? I hear a lot about xml but never bother to read a book about it, my bad anyway, and of course I don't even know how useful it is in actuallity ? Anyone can g...
508 byte By
SJ Smith at 2007-11-19 1:56:27
I have an XML (xmldoc.xml) document wrapped as a IXMLDOMDocument2, in addition I have another IXMLDOMDocument2 containing a stylesheet (main.xsl)the stylesheet main.xsl need to reference another stylesheet (depends.xsl) via <xsl:import> or <xsl:include>I can load depends.xsl into another...
1663 byte By
joecre at 2007-11-19 1:59:26
Hello everybody I'm trying to use SQLXMLBULKLOAD COM-Object in a VC++ project, I wrote a VB client and the following code seems to work well but when I try to write the same code in my VC++ project I receive an error in Execute methodHere you are the VB CodeDim objBulkLoad As New SQLXMLBULKLOAD...
Hi All, I have a doubt regarding XML elements naming.Let say I have an XML document having an elementcalled <Area></Area>.If I add a sub-element to the element <Area> with thesame name for e.g.<Area> <Area> </Area></Area>Is the above structur...
717 byte By
jkmyoung at 2007-11-19 2:00:39
I have a series of files containing non-xml text. I wish to conditionally include them into an xml file based on the data.eg. <messageList> <message fileid="4010"/> <message fileid="3202"/></messageList>and then inside the files referenced by the file id attribute are some ra...
498 byte By
jpushpa at 2007-11-19 2:02:08
Hi All,I have a requirement where I need to create more than 600 XML files. I am able to create those files using IXMLDOMDocument::save method. But this method takes 479 seconds to create 6000 XML files. All the files are of size 3 to 4 Kbs. Our requirement is to create files in less than 2 min...
Suppose a hospital requires an application to maintain its patient records in a database. The patient records are inserted when the patient gets registered. Each patient has unique registration number (an integer), and a name . Design a Data Structure that allows the...
Design an O(n lg n) algorithm to determine whether an arbitrary sequence of n integers contains repeated occurrences of some number
133 byte By
emily12 at 2007-11-19 2:05:02
I have a stream of data (xml document) and would like to validate it without saving to file system. Will it be possible in C # .NET ?
I am trying to output an XML file using IMXWriter. I need to file to be XML version 1.0 and UTF-8 encoded, and those should be the only XML declarations made. This is what I'm looking for:<?xml version="1.0" encoding="UTF-8"?>What I get is:<?xml version="1.0" encoding="UTF-16" standa...
The book i'm reading doesn't explain much so I turn here. I'm doing one of the exercise but I'm stuck.<?xml version = "1.0" encoding="utf-8"?><Product> <facts />Grandma Deitel's Cookies:Nutritional Facts <servingSize> <amount>Servin...
333 byte By
p_tyagi at 2007-11-19 2:11:33
I have come across one problem while working on FOP to generate report dynamically,I am trying generate RTF report but i could not find any method like Driver.RENDER_RTF,I think i must use jfor but i could not find any example to generate RTF report .Do u have any clue on this.Thanks,Pramod Kumar Ty...
selectNodes(*[@attr]) give me node set with attr attributes. Now I can all nodes (node set) without attr attribute.<br/>Thanks for looking
123 byte By
teaser at 2007-11-19 2:12:18
i have a case where i get XML structure and i need to<br/>change Node's Name.<br/>how can it be done ?<br/>Thanks
169 byte By
RDPrinty at 2007-11-19 2:14:29
Has anyone ever tried renaming specific tags in a large XML file? Can this be done using XSLT? If anyone has any advice I would greatly appreciate it.<br/>Thanks!
135 byte By
hani2005 at 2007-11-19 2:15:47
Can someone tell me how to use XML to transfer data between 2 MS.SQL Database? What tools to do it or how can i write program to do it?
57 byte By
Surr_79 at 2007-11-19 2:15:54
Hi,<br/> <br/> Where can i get the SOAP ToolKit 2.0 ?
Hello,I have a problem in an XSL file.I don't know how to affect/display an effect when 2 markups are imbricated.Here's an extract of my XML file :<MEMO_TEXT><LINE>line 1...line 1</LINE><LINE>Line 2 normal text...<BOLD>Bold text</BOLD>...not bold..end of...
hi all,<br/>what are main disadvantages of Frame in html page?<br/>thx
Hi,I am a novice in XSLT and have a problem.I have a XML of the following kind which i recieve from the database.<ROWSET><ROW num="1"> <CORE_ID>Core 1</CORE_ID> <CORE_EFF_START_DT>04-SEP-2004</CORE_EFF_START_DT> <CORE_EFF_END_DT>31-DEC-2050</C...
348 byte By
SJ Smith at 2007-11-19 2:18:45
How do you reference the name of the a parent node as a string?e.g. name() returns the name of the current node as a stringself::* returns the current nodeparent::* returns the parent nodeHow do I get the parent nodes name? I expected to be able to say something like parent::name()Cheers...
hey,I have a problem with passing parameters to my XSL code.I can pass 1 parameter,but if i pass more the script doesnt work.Could somebody please advise.the code works only if i take off parameter p1, hardcode the value in the code and pass just parameter p2.<?xml version="1.0"?><xsl:style...
I am an HTML'er working on an XSL project (I didnt write it). But<br/>now I have to include a footer in all the pages (inside the BODY<br/>TAG). I want to do this by introducing an include file. How do I do<br/>it? What's the code for it?<br/>Please help me
702 byte By
morgen at 2007-11-19 2:23:25
Just started with XML yesterday and having a slight problem. I can load the XML file and succesfully search for patters. I can get the nodes into a "nodelist" but I cant assign any veriables to the text data from the elements! Here is the code: <%Set XML=Server.CreateObject("Microsoft.XMLDOM")XML...
337 byte By
jkmyoung at 2007-11-19 2:23:48
<?import namespace="xforms" implementation="#FormsPlayer"/?> I want this line in my output xml. I forgot (or never knew) how to do it. If I put it straight in the xslt, it does not show up in the result. I've tried escaping the characters, but then they show up escaped in the result as we...
1312 byte By
Dr_SAW at 2007-11-19 2:24:11
Hello, (and thanks in advance for any help or insight you can provide)I have an XML document with nodes structured something like this:<a type="foo"> <b>stuff-1</b> </a><a type="foo"> <b>stuff-2</b> </a><a type="bar"> <b>stuff-4<...
How to recognize whether file has XML format or not?Here is the code segment:XmlDocument* pDomDocument = new XmlDocument();try{ pDomDocument->Load(strFileName ) ;}catch(Exception* e){...}Of course if we try to load non XML file, the exception will be thrown. However exception might be thrown...
3011 byte By
Gatwick at 2007-11-19 2:29:30
I want to know how to set in XSD that "ReadOnly" is required only if "EntryType" = 2My current XSD is:<?xml version="1.0" encoding="utf-8" ?><xs:schema xmlns:xs=" http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="qualified"><xs:simpleType name="Entr...
203 byte By
jkmyoung at 2007-11-19 2:29:59
I'm using SAXON 6, (going to move to SAXON 8), and I need a guid generated for each of a certain element in xslt. Can I do this? Is it possible to do if I write an extension function for it in Java?
229 byte By
jkmyoung at 2007-11-19 2:30:17
I need the equivalent of what the date:seconds function does, in Saxon, only Saxon doesn't support it. http://www.exslt.org/date/functions/seconds/index.html. Suggestions?<br/>Wrote a java extension: no longer needed...
1183 byte By
figo775 at 2007-11-19 2:33:22
Hi, I have an xml document which is as below:<?xml version="1.0" encoding="UTF-8"?><fragment name="htmlPart"><value><table><tr><td><b>Feature</b></td><td><b>Benefit</b></td></tr><tr><td>some sample tex...
1470 byte By
jkmyoung at 2007-11-19 2:37:08
I'm trying to pass a dateTime string into java and perform a transformation on it.However, I'm currently stuck on trying to create the date. Having problems escaping the data correctly... If I go:<xsl:variable name="pattern" select="'yyyy-MM-dd\'T\'HH:mm:ss'"...
1323 byte By
CCC at 2007-11-19 2:38:42
HelloI am new to the System.Xml, I am converting the code existing in MSXML parser code to System.Xml in unmanaged C++. I am able to load the file with the Load() function, and I am getting the validate error from the catch block. There is no problem in loading the xml documet into the "m_docPtr" th...
I have a large XML Schema (18,500+ Lines) that I am trying to import into Oracle's XML DB, and I am running into the problem that there are about 10,000 refs declared in the schema. The problem with Refs is that XML DB does not know what these columns are pointing at, so instead of making them...
415 byte By
kajol75 at 2007-11-19 2:41:08
Hi,I have installed msxml.msi [for mxxml4.0], in one of my PC running windows XP, and from that pc I have copied two files [msxml4.dll and msxml4r.dll] into "windows\system" folder of another PC running windows98 se, then I tried to register msxml4.dll file through regsvr32.exe file and got the foll...
3682 byte By
babuman at 2007-11-19 2:42:21
Hi, I have the following code that produces an xml doc. My problem is, the Client's requirement for this xml doc is slightly different. Can somene please tell me how to write out this doc exactly as the client requirement? I am fairly new to this XML stuff. Any help is highly appreciated.M...
I am not incredibly familiar with XSL yet, and I have run into a snag. I have spent some time searching online and I cannot find a quick answer to this question and I have a dead-line coming up quick, so I figured I would just ask. Sorry if it seems pretty stupid.The example I am going to give is...
One attribute of my schema is of type decimal. Initially it should be blank(" "). So it throws validation exception. I need to get rid of that. So how to make blank is a default value for decimal data type.<br/>regards,<br/>Ranjan
3200 byte By
Bengi at 2007-11-19 2:46:49
Hey guys,i am quite new in XSL, so i started learn it a bit.although i am quite confuse.i want to show this XML data in my web page (html)<?xml version="1.0"?><?xml:stylesheet type="text/xsl" href="school.xsl"?><schools> <school name="eldad"> cool school!! <...
HiIs it possible to save a modifed XMl file in Perl's XPath?I have a script that looks for blank id attributes in an xml file and populates them with a unique ID...my $updated=0;my $xp = XML::XPath->new(filename => $file);my $nodeset = $xp->find('//@id'); # find all ids forea...
How do you get the size of DOM (MSXML) object in memory?Is it possible it get? or will I have to add all the sizeof() totals of each element (IXMLDOMNode, IXMLDOMAttribute, ...) I add to the DOM object and count the number of characters used for values and names in the document?Any ideas would be gr...
I am new to the .NET System.Xml, I am openning the xml docuemnt via XmlValidateReader. The schema is in xsd file. I am converting the MSXML code to .NET System.Xml.I want to get the schema declaration for the xml document node in .NET.I want similar to like this...This done in MSXML but now I want i...
502 byte By
Danii at 2007-11-19 2:54:58
Hi!I've heard that xml is good and that I should use it. But what should I use xml for? What can I do with xml?I'm going to make a webshop in php. How can I use xml here? What should be saved in a database (MySQL) and what should be saved in a xml document?As you can see I'm really ne...