Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer
Recent update: 2008-3-7

xml into ado connectionless recordset

348 byte By Mark at 2008-3-7
What's the path of least resistance for updating the database from an xmldom object via an ADO 2.5 recordset? Saving it to a file and then readingit into ado is not an option for this multi-user application.I'd rather not have to loop through and pick from the DOM and put into arecord......

Transform Namespace

417 byte By Matt at 2008-3-6
Greg,I have observed that you are referring to" http://www.w3.org/1999/XSL/Transform" namespace in your xslfiles.IE 5.0 does not accept the Transform namespace.Are you a differentbrowser coz most of the methods r not acceptable in IE5 when u use Transform.Inthe example below <xsl:variable> is...

xml date

259 byte By Vani at 2008-3-5
Hi, Is there any method for Time stamp in xml?For ex if a: user is adding data into the form it shod have a time stamp as to when he added the record.This timestamp be displayed in the xsl file. Any help is appreciated Thanks in Adv!!

deWAP - WML->XML + XSL->HTML

159 byte By Hemant at 2008-3-3
Hi Check out the deWAP feature on www.waphoria.com. It is a good application of XML + XSL to render WML source in HTML browsers. Cheers Hemant.

Xml and forms

69 byte By Sean at 2008-3-1
Is it possible to display and edit an XML document using a form??

Help in XSL - better example

1007 byte By Greg Longtin at 2008-2-28
Manish,A better example -<xsl:stylesheet name="Test2"xmlns:xsl=" http://www.w3.org/1999/XSL/Transform" version="1.0"><xsl:output method = "html"/><xsl:variable name="root" select="/mydata/questionire"/><xsl:template match="/mydata"><table><xsl:apply-templates select="...

XML & Database

127 byte By Amit at 2008-2-27
I am new to xml. I am not able to figure out how to load data from an RDBMS to create an xml file containing that data.

BizTalk 2.0

308 byte By Mihai Creanga at 2008-2-26
I tried to install and understand BizTalk 2.0 but I had a lot of problems.Do you have knowledge about some explained samples of using BizTalk. I thingthat documentation provided with BizTalk isn't very good for the beginners.I am very interested about other documentation well structured....

Help in XSL

964 byte By Manish Gupta at 2008-2-25
Hi All,I have the following XML...<mydata><question-id><id>1</id><id>4</id><id>2</id></question-id><questionire><question><qid>1</qid><desc>one</desc></question><question><qid>2</qid><...

XHTML document in a .PHP file - How?

782 byte By DANIELX webmaster at 2008-2-24
XHTML documents *must* begin with the processing instruction <?xmlversion="1.0"?>. Unfortunately, when the PHP parser sees <? it tries toparse it as PHP. How can I solve this? Should I put an include(); statementatthe begining of the file to insert another file containing the XML process...

How do I render a tab in XSL

140 byte By Brian Burridge at 2008-2-23
I need to generate a hard tab in the resulting XSL. Any idea how to do that? I tried spaces and an actual tab, and it just ignores both.

XML with Graphics

239 byte By Paul Galburt at 2008-2-22
I wish to be able to bring up records from an XML database (I can do this) which point to and load JPG or GIF files based on the content of each record (I can't do this). Any thoughts or examples? Thanks Paul

Ignore Repetition

1187 byte By Manish Gupta at 2008-2-22
Hi All,I have the following XML<mydata><category name='category1'><subcategory>sub1</subcategory><subcategory>sub2</subcategory><subcategory>sub3</subcategory></category><category name='category2><subcategory>sub4</s...

XMLHttpRequest Object

620 byte By alon at 2008-2-21
Look at this: http://www.asptoday.com/articles/19990602.htm"Brian McMullin" <spiffster99@yahoo.com> wrote:>>Are there any good examples out there on how to use this object?>>It sounds like a very powerful way to send queries to the server and return>XML subsets (letting the serve...

Post XML from server to another server

155 byte By Alon at 2008-2-20
Hi ;-) I need to POST xml document from server to another server. Can I use XMLHTTPRequest for this? Any suggestions will be welcome.

Microsoft XML 2.0

158 byte By Dan at 2008-2-19
Can anyone please tell me where on Microsoft web site I can download the Microsoft 2.0 dll. In my references for VB I only have the 1.0. I also have IE5.

Help required: Creating XML doc using MSXML Parser

604 byte By Kumar at 2008-2-18
Hi,I am trying to create a XML document using MSXML Parser. After adding fewchild nodes, the parser crashes with "Stack Overflow" message! It soundslike an issue with the algo, but the algo is verified to be correct. Weuse the latest MSXML.dll (version: 5.00.2920.0000) on NT. If anyone hasencoun...

XML and servlets

247 byte By vikram at 2008-2-17
Iam using Java Web Server 2.0, Iam unable to load an XML file inside my servlets, Iam using Datachannel XJParser. Instead of Java Web Server if I use StartServer utility from JSDK it works fine. Why is this? Any idea?

Displaying and Parsing XML Document to HTML

340 byte By K Deviprasad at 2008-2-16
I'm using a Online Product availability Check using XML.For this i should reference a url which returns a XML document.By parsing the XML document, I should show in the browser the results asa html / asp file. How can i do this ?Pl send me the method / code and it would be of great help to me.T...

XML WITH SQL HELP URGENT!!!!1

252 byte By PURNIMA KISHAN at 2008-2-15
microsoft has said that with IE5 and SQL7.0 u can acess data directly... but i am unable to do so. if i run the following http:\\iiservername\virtdirec?sql= select * from customers.. it doesnt return me any data.. any ideas pl,, Purnima

XML DOM

135 byte By Mihai Creanga at 2008-2-15
I need to read and modify some aspects of an XML file. Can you send me some links related to XML DOM? Thank you, Mihai

Help in HTML Decoding

612 byte By Rohit Wason at 2008-2-15
This post of mine went unanswered a couple of weeks back. I need an urgentsolution. Any help would be appriciated.Tkanks in anticipationRohit"I have HTMLEncode()ed HTML content (stored in a table) to pass as XML datathru ASP.At the client end, I want to render the HTML as Output in some DIV/TABLE.My...

POSTING XML from Linux server to ASP

441 byte By tom at 2008-2-14
here's the simple scenario...- a Linux based web server POSTS XML data via HTTPS- ASP page receives XML and saves to disk- ASP page sends XML POST back to Linux based Web serverwhats the best way to read the XML file from the POST method? can XMLHTTPobjects be used if data coming from any gene...

XML radio buttons

739 byte By vani at 2008-2-14
I have a problem in displaying the value of radio button in XSL.My code goes like:************XML************<test><radio1>True</radio1><radio2>False</radio2></test>***********XSL FILE***********<xsl:template match="/"><input type="radio" name="r1"><...

Java DOM doc, adding an attribute to a Node.

149 byte By Curt at 2008-2-10
Once I have created a DOM document in Java and have retrieved an Element node from that document, how do I add an attribute to that element node?

want only numeric entry in content

221 byte By paresh at 2008-2-9
hello, I want to create tag using xml. I want to know that how I can make the tag so that I can restrict the user to enter only numeric value and Fix the size of content. Thanks Paresh

Need Help Urgently

121 byte By manish jain at 2008-1-31
I am comfortable with XML. Can anybody tell me that what is XSL and why do anybody need XSL ? Thanks. Manish.

What is the advantage of xml

142 byte By Mohan at 2008-1-22
hi, I am very new to XML, so Please tell me what is xml and their advantage. how can i use it in html. regards Mohan

how to apply different XSL sheets?

479 byte By Philip Pastor at 2008-1-19
I have an XML document that references an XSL template for presentation inthe browser. Works great !But, the question is...How would you conditionally apply different XSL templates based on theapplication? You would not dynamically recreate the XML since that documentcould be huge. Is the only optio...

asp generating xml

348 byte By Itai Raz at 2008-1-13
Hi,I'm creating an XML code on the fly as an output of an ASP file. For somereason the browser sometimes refuses to treat it as xml, even though when Ido "view source", I get to see perfectly legal xml (incl, the <?xml tag inthe beginning).How can I force the browser (IE) to treat a file as...

Souce code

120 byte By Bill at 2008-1-13
I looking for source code to parse XML similar to MSXML. Any suggestions or leads? My client refuses to use MSXML.

xml island doesnt bind to a table

192 byte By Itai Raz at 2008-1-12
Hi All, Anybody bumped into the phenomena of IE sometimes doesn't bind a table to an xml island, especially if the xml seems to be quite large? Thanks, Itai

XML into WORD

61 byte By Julia at 2008-1-12
Is there any tool that generates a WORD file from a XML file?

Using the HTML SELECT TAG in an XSL document

290 byte By Henry White at 2008-1-10
I'm trying to load an HTML SELECT tag with XML data within an XSL document. When creating the new HTML content by combing both the XML and XSL documents using the *.transformNode method, the HTML Select tag does not render itself in the new HTML document. Any suggestions?

Creating XML from ADO recordset object.

98 byte By Satish at 2008-1-10
I want to know any easy and short method to generate the XML from the recordset or vice versa.

Need tutorial

167 byte By Philip Pastor at 2008-1-10
I've used XML as a stand alone document. I am looking for an on-line tutorial or white papers on Schemas, CSS and/or XSL. TIA, Phil

Displaying limited Records

138 byte By Regent at 2008-1-10
My xml page contains arounnd 100 sets of data. I want to display only 3 using xsl....how do I limit the records displayed? Any advice?

using formatdate in xsl stylesheet

1110 byte By Grainne at 2008-1-9
Hi,the following snippet of code is taken from an xsl stylesheet. The problemI am having is when I try to apply the template defined to the varvalue field.The code goes to the template and I can write out the value of varavlue butas soon as I try to apply formatDate, an error occurs. This code is us...

No solutions in pure XSL pattern?

62 byte By Yuenan Yang at 2008-1-9
Without using JScrips, no solutions by using pure XSL pattern?

XML Design

670 byte By JR at 2008-1-9
I am trying to design a site using XML. I want to make it browser independantso I will convert to HTML on the server.Most pages contain information on different topics (i.e. multiple roots).Is it proper design to have one DTD that contains all possible data items?This would make each page have the...

$like$ operator in XSL

108 byte By Yuenan Yang at 2008-1-9
Is there a $like$ operator in XSL, which can do a 'like' search, like SQL's LIKE keyword?

is reverse engg possible in XML?

312 byte By keshav at 2008-1-8
hiIs there any way by which I can reverse engineer a DTD to create a databasebased on that DTD ?e.g. at present I can create a schema (or DTD) based on a database design,but is it possible togo the opposite way & create a database from a schema (or DTD) ?cheerskeshav...

data island

185 byte By manish jain at 2008-1-8
i am using MSXML on IE. Can i instantiate a data island on netscape? Does Netscape support XML(Client side)?? From where can i get more info on this topic?? manish.

XML Scalability

518 byte By PA at 2008-1-8
Please help.I am trying to create a scalabe web xml app. The majority of XML webpages,examples, show data being formated and saved as an .xml file on the web serverand then rendered in the browser in some way (depending on browser). Howcan this be scalable? What happens when 10,50,100 people are...

enum and xerces-parser problem

1237 byte By Thomas Rademacher at 2008-1-8
Hallo,I have a problem with an Enumerated Attribute Type in a XML-file,the DTD-file and the validating xerces parser.A XML-file generator build in dependency of the inputs of theuser the mandatory Element color with the Attribute value....<color value=""/>...or...<color value="RED"/>...o...

<xsl:eval> and parameters

265 byte By Rohit Wason at 2008-1-7
<xsl:eval> function1(5) </xsl:eval> is valid, but what about <xsl:eval> function1(<xsl:value-of select="name" />) </xsl:eval> I want to pass the value of a node/attribute to a script-function. Any suggestions? Rohit

HTML Decoding

444 byte By Rohit Wason at 2008-1-7
I have HTMLEncode()ed HTML content (stored in a table) to pass as XML datathru ASP.At the client end, I want to render the HTML as Output in some DIV/TABLE.My problem is that XSL is not able to identify the content as html (sinceit has been encoded <,> etc)Is there any way, I can render that?...

very urgent

486 byte By manish jain at 2008-1-7
Can anybody please tell me that why do we need xml ?xml reduces performance of my application because i have to prepare abulkly xml string or i have to load it in domdocument.(Wastage of myresources)and very important is use of xml increases my proceesing on client as wellas on server.Why can'...

Tables and printing

409 byte By Marc at 2008-1-7
Would anybody know how to split tables so that they can be printed on multiplepages.I generate statements that are displayed in IE5, which works very well, however,because the number of lines in the statement is unknow, it often exceedsa page when printing.Is there anyway to make it break and repeat...

StyleSheet Files and XSL

135 byte By Rohit Wason at 2008-1-6
Can I use the stylesheet file i already made into an XSL file? I want to use the class tags made in the stylesheet file?? Rohit