1,599 Topics

Member Avatar for
Member Avatar for gishi

Hi Guys, I was hoping someone can help me with this. I have a python program that reads and writes files in utf-8(unicode). When I run it in Eclipse, the output is perfectly fine. When I try making an exe file of my program it is not working. I also …

Member Avatar for TrustyTony
0
368
Member Avatar for swebb

Hi all, I've just started to learn XSLT, so apologies if this question is very basic! I want to create a new html document, one of my elements in the XML file uses mixed elements. I want to do more complicated formatting using linked documents etc. but for the moment …

Member Avatar for iceandrews
0
269
Member Avatar for Aldius

Hello everyone! I just had a quick question about XSLT. I have a large xml file with many <DIMENSION_Id> nodes nested inside each other. In each <DIMENSION_Id> node there are two SYN tags: <SYN>String</SYN><SYN>Integer</SYN> What I am trying to do is take the furthest child node of each DIMENSION_Id and …

Member Avatar for Aldius
0
310
Member Avatar for Parthmishr

I use an xslt to get some ID attribute..when new xml file is built.. Here is a input xml file.. <page num="App. A-1"/> <title>Appendix A</title> <subtitle>The Thompson Memorandum</subtitle> <para align="left"><content-style font-style="bold">U.S. Department of Justice</content-style></para> <para>Office of the Deputy Attorney General</para> <para>The Deputy Attorney General</para> <para>January 20, 2003</para> <table frame="none" width="100%"> …

Member Avatar for iceandrews
0
111
Member Avatar for gishi

Hi Everyone, Do you know how i can get the values using Regular Expression between the opening and closing tags of xml files? I need to process xml files using python and i just need to get the values between tags. For example: [CODE]<name value>my name is </name value>[/CODE] i …

Member Avatar for Gribouillis
0
224
Member Avatar for smegal

Hi, I am working on querying a specific value from my xml file. Below is what I have so far. When running the entire script I get the error "Incorrect syntax near 'varchar'". Thanks -- Declarations needed to run sp_xml_preparedocument. This will create XML image. Declare @idoc int Declare @doc …

Member Avatar for smegal
0
194
Member Avatar for dhvl2712

Can Anyone help me implement a nested comment structure like reddit using ASP? I have a few ideas like using ListView or XML or something, but I'm not sure how. I googled a lot but it wasn't too much help. Is there a way I can implement a reddit-like nested …

Member Avatar for kvprajapati
0
86
Member Avatar for olivebibi

Good evening, I'm trying to generate an xml file based upon the result of an SQL query. I'm making some good progress so far but there is 2 problems I can seem to solve. My php code is the following: [CODE]<?php require ("Connection.php"); $db_handle = mysql_connect($server, $user_name, $password); //load the …

Member Avatar for P0lT10n
0
244
Member Avatar for AboJaD

Hello, I am trying to get the element of an option, but seems my code is not working: <script type="text/javascript"> /*<![CDATA[*/ function reportsendipp() { if (window.XMLHttpRequest) { xmlhttp=new XMLHttpRequest(); } else { xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { ; } } xmlhttp.open("GET","report_member.php?report=" + document.getElementById("ipps").value + "&&member=" …

Member Avatar for Airshow
0
370
Member Avatar for man3388

Adding excel data into hash table: [CODE] Hashtable ExcelSheets = new Hashtable(); System.Data.DataTable dt1 = new System.Data.DataTable(); da.Fill(dt1); System.Data.DataRow dr; //System.Data.DataColumn dc; #endregion # region adding excel file into hash table if (dt1.Rows.Count > 0) { for (int c = 0; c < dt1.Rows.Count; c++) { // if (c > …

0
99
Member Avatar for sypa

We have a dynamic sitemap and all nodes in the sitemap display a breadcrumb. Is it possible to have the breadcrumb still showing, but make the link in the sitemap invisible or non-clickable? Reason for this is that... we dont want users to select some pages from the sitemap (becasue …

0
51
Member Avatar for smegal

Hi, I have an xml file that has the same tag name for different categories of data. Below is an example. I would like to create an xpath to extract each data category. For example Age is the 4th tag. So I would need the xpath script to navigate to …

Member Avatar for iceandrews
0
101
Member Avatar for fvar

Here is my sample xml [CODE] <STUDENT_INFOs> <STUDENT_INFO> <STUDENT_COUNT>1</STUDENT_COUNT> <STDNT_ID>xxxxxxxxx</STDNT_ID> <STDNT_NAME>someone1</STDNT_NAME> <STREET_ADDRESS>address1</STREET_ADDRESS> </STUDENT_INFO> <STUDENT_INFO> <STUDENT_COUNT>2</STUDENT_COUNT> <STDNT_ID>yyyyyyyyy</STDNT_ID> <STDNT_NAME>someone2</STDNT_NAME> <STREET_ADDRESS>address2</STREET_ADDRESS> </STUDENT_INFO> : : upto 50 student info </STUDENT_INFOs> [/CODE] I would like to display this using xslt such that I have 5 student names in the first row and the next 5 …

Member Avatar for fvar
0
100
Member Avatar for jackson barbosa

Good night !! I forgot my password in script xml. How do you do decrypted password hardcode? - <FTPSettings> <Host>ftp.bxxxx.com</Host> <Username>username</Username> <EncryptedPassword>xxxxxxxxxxxx</EncryptedPassword> <Timeout>60</Timeout> <UploadPath>/Brazil/</UploadPath> </FTPSettings>

Member Avatar for iceandrews
0
70
Member Avatar for hbat66

Subject PHP: Echo SimpleXMLElement Object Data Out to 3 Column HTML Table Post Hello everyone. I am working with Simple XML Element object data and PHP code. I want to echo out that data into a 3 column HTML table and have run into some trouble. I am currently able …

Member Avatar for rdc
0
447
Member Avatar for techie929

How Can I fetch the tag name of the below xml file only once,without use of getElementByTagName. Like I have to display the XML as an HTML table.So the headings of the table would be COMMON BOTANICAL ZONE LIGHT PRICE AVAILABILITY I am getting tag name for all child nodes. …

Member Avatar for fpmurphy
0
101
Member Avatar for mahavir123

I am reading XML and PHP. I have to import a xml file in mysql database using PHP script. I tried using 'simplexml_load_string()' and 'simplexml_load_file()' functions. It worked. But how the xml parser is used to import XML files into Mysql Database. Please tell me about this, I tried the …

0
133
Member Avatar for mduncan8

I need to search an XML file for a unique entry. I've never worked with XML before. Can anyone tell me what the fastest way to search an XML file is? For the website I'm working on performance is critical so I need that fastest possible way to get this …

Member Avatar for mduncan8
0
708
Member Avatar for man3388

Hi, I need to compare following xml file USING C#: [CODE] <Issue> <IpIssueId>790</IpIssueId> <IpIssueGuid>11</IpIssueGuid> <IssueName>Summary</IssueName> <RuleQuery>Rule1</RuleQuery> <Classification>R</Classification> <IssueError>Summary</IssueError> <Severity>100</Severity> <IssueFormat>Total domains: [[DomainCount]] </Issue> [/CODE] with excel file like: IssueName Type Summary Risk(R) bb Health(H) I need to verify whether "type" column of excel matches with "classification" tag of xml file.

0
82
Member Avatar for hmhb.in

i have the following xml file.how to display the first tag (tag by tag) then when next button are click the second tag is display <?xml version="1.0"?> <records> <reg > <name>hari</name> <age>22</age> <mark>67</mark> </reg> </records> <records> <reg > <name>hari</name> <age>20</age> <mark>78</mark> </reg> </reg> <reg> <book > <name>hari</name> <age>21</age> <mark>88</mark> </reg> …

Member Avatar for DanielTulp
0
96
Member Avatar for hmhb.in
Member Avatar for P0lT10n
0
79
Member Avatar for tookerello22

hi im doing my final year project(Bsc) and im looking for some suggestions on what to do. I would like to develop something in c# smart device/windows mobile and xml any suggestions would be greatly appreciated. Thanks

Member Avatar for ddanbe
0
111
Member Avatar for techie929

How Can I read the below file without using tag names.If suppose I have to fetch Title value, I know using xmlDoc.getElementsByTagName("title").item(0).firstChild.nodeValue; But How can I read without using Tag Names. <catalog> <title>Airbus Aircraft Families</title> <aircraft> <Airbus>A380</Airbus> <Aircraft>A380 </Aircraft> <seats>555</seats> <Range>15000km </Range> </aircraft> </catalog>

Member Avatar for hielo
0
142
Member Avatar for mhs377

I want to import data from a xml file into a dataset this is my xml file [iCODE] <?xml version="1.0" encoding="UTF-8" standalone="no"?> <Persons> <Person Personid="10"> <firstname>Hi</firstname> <lastname>bye</lastname> <Birthday>1360 </Birthday> <Phones> <Fax>04</Fax> <Other>05</Other> <Home>01</Home> </Phones> <Emails> <Email>Email@site.com</Email> </Emails> <Webs> <Web>web.com</Web> </Webs> </Person> </Persons> [/iCODE] when I use this code [CODE]dataset1.readxml(FilePath); [/CODE] …

0
94
Member Avatar for nedportcj5

Hello, first post here so take it easy :) I have been searching with no luck on finding a solution - hopefully you can help! I need to reference a xml file and get the value of an element. In my initial xml post, I will send along an ip …

Member Avatar for hielo
0
182
Member Avatar for mulevad

I am placing xml into a table in html and trying to sort based on a parameter, but my parameter's value is not being used. It uses the string "$sortkey" instead. Here is an xsl excerpt: [code] <xsl:for-each select="catalog/cd"> <xsl:param name ="sortkey" select="country"></xsl:param> <xsl:sort select="$sortkey"/> <tr> <td> <xsl:value-of select="title"/> </td> …

Member Avatar for iceandrews
0
167
Member Avatar for CCISolitude

Hi all, I'm in the middle of making a new website for myself. A part of the website has an animated tag cloud, which in of itself, I've managed to get working just fine. Currently the tag entry in the XML looks like this: [CODE]<tag linkURL="aboutme.html" priority="5" text="About Me" target="_blank"/>[/CODE] …

0
109
Member Avatar for hellomadhur

Hi, I have set of html pages that are installed locally on machine. I want to make ajax call to local files. In Firefox everything works fine. IE is able to load html pages through ajax call but not able to load xml document. Chrome doesn't support ajax call locally...and …

Member Avatar for hielo
0
3K
Member Avatar for hellomadhur

Hi, I need xml data to be used in javascript. When I embed the whole xml in html page then I am able to access xml. But when when I use src tag I am unable to get xml file. Code is below: XML Data island in html page. [CODE]<xml …

Member Avatar for hielo
0
104
Member Avatar for luofeiyu

there is an html file [CODE]<table> <tr> <td>ok <strong>Sep 10</strong> | <a href="ttt">Oct 10</a> | <a href="kkk">Dec 10</a> <table> <tr> <td> 123 </td> <td> 567 </td> </tr> </table> </td> </tr> </table>[/CODE] when i open it with firefox,the output is : ok Sep 10 | Oct 10 | Dec 10 123 …

Member Avatar for iceandrews
-1
82

The End.