6,049 Topics

Member Avatar for
Member Avatar for ajwei810192

Hi, I am wondering what I might be doing wrong here regarding getting the XML Attribute of my xml file, here is a snippet: [CODE]<music_songs> <song> <title>(I Just) Died In Your Arms</title> <date added="03-24-2009" /> </song> </music_songs> [/CODE] Here is my code, [CODE]<%@ Import Namespace="System.Data" %> <%@ Import Namespace="System.XML" %> …

Member Avatar for ajwei810192
0
134
Member Avatar for ajwei810192

Hi, I have written up this simple asp.net page that pulls data from a long xml file and shows information in a table format. Everything is working properly, except that I cannot get the scrollbar to work. So, if I want to read the stuff that is on the lower …

Member Avatar for ajwei810192
0
315
Member Avatar for ajwei810192

I have a ASP.NET snippet where I would like xsl to apply to the xml. For some reason, I get runtime errors when I use TransformFile to try and transform the xml. Here is the aspx, <%@ Import Namespace="System.Data" %> [CODE] <form runat="server"> <asp:Repeater ID="myMusic" runat="server" DataSourceID="XmlDataSource1"> <HeaderTemplate> <table class="songs"> …

Member Avatar for dnanetwork
0
208
Member Avatar for jazz_vill

Hi I was tasked to create an admin panel which is more on database data manipulation. I want to use AJAX,XSLT, and PHP I've been studying a lot lately but most of the examples loads contains only a single page. Say I have navigation/menubar template I want to know how …

0
58
Member Avatar for wblakenc

I am very new to using XML and I have what should be an easy solution but google is failing me. I have one xml document with different data sets in it (see code below). What I want is to only work with one set of data at a time. …

Member Avatar for kaiLa
0
97
Member Avatar for Fost

Hi Guys and girls, I'm doing some work with XML documents and one is stored behind a .htpasswd arrangement. I have a script which requests the xml docs using XMLReader. So the problem is the secure xml file, does anyone know of a way to access the file without going …

Member Avatar for Fost
0
209
Member Avatar for RucGwl

Hi all, I have created a website and placed it in my domain. But i am getting following 2 errors "550/crossddomain.xml no such file or directory" and " Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: [url]ftp://solves@ftp.smartyhost.com.au/public/www/cu3er.swf[/url] cannot load data from config.xml?t=1275979253767. at Main/::frame2Action()" Please help me resolve these …

Member Avatar for rajarajan2017
0
172
Member Avatar for sri2003

Hi, How can i print "Continued on next page..." at the end of the prev. page when the records are printed in next page also using XSL FOP 1.0? Any sample example or URL please. Thanks in advance.

0
106
Member Avatar for sdhawan

Hi Guys , I am trying to load a xml file as follows and i am getting file not found exception even though the file is on the desktop.I have checked the file name and extension they are correct , can anyonehelp please [code] private void button1_Click(object sender, EventArgs e) …

Member Avatar for CFusion
0
113
Member Avatar for sdhawan
Member Avatar for komyg

Hi, I am developing a WSDL file for a Web Service and I am having a problem with the XSD schema associated with this WSDL. The Schema is below: [CODE] <wsdl:types> <xsd:schema targetNamespace="SNIPPED"> <!-- Classes de apoio --> <xsd:simpleType name="resultadoOperacao" final="restriction"> <xsd:restriction base="xsd:string"> <xsd:enumeration value="OK"/> <xsd:enumeration value="NOK"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType …

Member Avatar for komyg
0
285
Member Avatar for spectre1983

Hi all, I'm a bit of an XPath noob and I'd be much obliged if you'd point me in the right direction here. I want to select the first <product> in the source that has the child node <name> = 'bread' The expression below yields the correct naswer but I'm …

Member Avatar for iceandrews
0
111
Member Avatar for ajwei810192

Hi, I have an XML file that attaches an xsl stylesheet using version that has sorting function at the beginning of the file. At the same time, eason, I would like to put in some other information in the beginning, such as html headers as well. Here is my code: …

Member Avatar for ajwei810192
0
187
Member Avatar for ajwei810192

Hi, I have been trying to use multiple sorts on a long xml file using XSLT 2.0, which each one of the xml elements look like: [CODE]<song> <title>(I Just) Died In Your Arms Tonight</title> <category>Rock</category> <album>80 Popular Hits</album> <artist>Cutting Crew</artist> <date added="02-03-2009"/> </song>[/CODE] This is my XSL snippet, and I …

Member Avatar for ajwei810192
0
386
Member Avatar for Mr. Xtreme

Hello, I just joined daniweb today. Here goes my problem: Whenever I start my pc, internet stops working same with the sound and strangely the taskbar turns grey(ike the one in windows 98). Everything works fine except for the sound and the internet. I tried using system restore but the …

Member Avatar for jholland1964
0
172
Member Avatar for onizuka1

Hi all, I have used some forum browsing and the WxDemo to create my desired GUI and struggling to find some good reference material to add functionality to my design. This GUI will ideally pull / send information to other programs (in python and/or c) in the future but for …

Member Avatar for onizuka1
0
386
Member Avatar for ajwei810192

Hi, I am really new at ASP.NET, and I am wondering if there is a good way to extract XML attributes from ASP.NET. The example I am reading is here: [url]http://www.w3schools.com/aspnet/aspnet_datalist.asp[/url] Suppose I fix the XML snippet to: [CODE] <catalog> <cd> <title>Eros</title> <artist country="EU">Eros Ramazzotti</artist> <company>BMG</company> <price>9.90</price> <year>1997</year> </cd> </catalog> …

Member Avatar for ajwei810192
0
138
Member Avatar for ajwei810192

Hi, I have the code here as in the following: [CODE] <%@ Import Namespace="System.Data" %> <%@ Page Language="C#" Debug="true" %> <script runat="server"> sub Page_Load if Not Page.IsPostBack then dim mycdcatalog=New DataSet mycdcatalog.ReadXml(MapPath("alice_music_list.xml")) cdcatalog.DataSource= mycdcatalog cdcatalog.DataBind() end if end sub </script> <html> <body> <form runat="server"> <asp:Repeater id="cdcatalog" runat="server"> <HeaderTemplate> <table style=";font-family:Arial;width:56%;margin:1em …

Member Avatar for ajwei810192
0
547
Member Avatar for softdev

hi guys, i have this senario and i want know if that is possible. i want to apply some aspect-oriented concept. i want to have something like, say two classes. one extract some piece of data from xml file and use JSP to display the data. another class/aspect that log …

Member Avatar for ~s.o.s~
0
81
Member Avatar for mrkwagga

Hi Guys, I have a weird request, I would like to know how can I - if possible – embed an html button, that when pressed, it executes a path/command on the host machine (the webserver), I need to embed the shutdown.exe –s command, amongst others, in an html-page so …

0
51
Member Avatar for abcdabid

[CODE]<Security> - <User> <Username>jon</Username> <Password>khan</Password> <UserFolder>aliHomeDIR</UserFolder> </User> - <User> <Username>bob</Username> <Password>khan</Password> <UserFolder>aliHomeDIR</UserFolder> </User> </Security>[/CODE] I have xml file and i want to remove specific element having username jon [CODE] foreach (XmlNode parentNode in parentNodes) { for (int i = 0; i <= parentNode.ChildNodes.Count - 1; i++) { XmlNode childNode = …

Member Avatar for papanyquiL
0
91
Member Avatar for rag_pratap

Hi, i want to renaming tag in xml file with using xslt. Can anybody help me. [CODE=XML]<?xml version="1.0"?> <section> <p>1</p> <p>2</p> <p>3</p> <p>4</p> </section>[/CODE] OUTPUT:- [CODE=XML] <?xml version="1.0"?> <section> <paraone>1</paraone> <paratwo>2</paratwo> <parathree>3</parathree> <parafour>4</parafour> </section>[/CODE]

Member Avatar for iceandrews
0
303
Member Avatar for novateck

Hi, I work with Scriptura Designer (eclipse based) for document generation. I have to generate now a European transfer form. So I have to add a space between the characters. ex: <chead:LastName>Van Messem</chead:LastName> <chead:FirstName>Erwin</chead:FirstName> So I want in return between each character a blanco space. (Like this: V a n …

Member Avatar for iceandrews
0
125
Member Avatar for MH_Wadester

hey so heres whats happening recently i have been receiving the windows message "windows has Recovered from an Unexpected Shutdown" randomly... i dont know what triggered this because it happens occasionally on shutdown and i get the blue screen but a lot of the time i dont see the bluescreen.... …

Member Avatar for davidmorgen19
0
260
Member Avatar for sniper1983

Hi, When I have a class that has an object variabel where other types is in. When I send a web-request to the server and gets the variable, it works fine when the data is set to known-types. The problem is when I want to use the data in the …

Member Avatar for sniper1983
0
78
Member Avatar for Anish Vatsya

I have one alias file which is acting as a wraper to XML. <Alias name='Type'> <Xpath>@subType</Xpath> </Alias> generally this return MEConsumed or MEResource. I want the behaviour that if @subType=MEConsumed then it should return CON and when @subType=MEResource then it should return "REF". Help me with this .. i am …

Member Avatar for Anish Vatsya
0
137
Member Avatar for Edvin76

The Xml: Micfosoft(TM)'s modified Books.xml: The price attribute of the last book item was modified by me, now it appears two times, once as attribute of book and second time as a separate item inside the book item. [code=xml]<?xml version='1.0'?> <!-- This file represents a fragment of a book store …

Member Avatar for Edvin76
0
169
Member Avatar for vho123

Having trouble with this little DOM PHP task. When i parse it from unix with the command -> php DOMSearch.php "Brookside" it prints out Channel 5 Start : 2001-07-0521:55:00 However, it should print out all channels and start times from the "Brookside" series like below: Channel 4 Start : 2001-07-05T20:00:00 …

Member Avatar for MVied
0
132
Member Avatar for rag_pratap

[code=html]<table-group> <html> <head><title></title></head> <body> <table width="885"> <tr> <td width="20%"><p></p></td> <td width="20%"><p></p></td> <td width="60%"><p></p></td> </tr> <tr> <th align="left" valign="bottom"><p><b>Revision Date</b></p></th> <th align="left" valign="bottom"><p><b>Sections Revised</b></p></th> <th align="left" valign="bottom"><p><b>Description</b></p></th> </tr> <tr> <td align="left" valign="top"><p>7/1/02</p></td> <td align="left" valign="top"><p>All</p></td> <td align="left" valign="top"><p>Complete manual revision to reflect changes related to the MMIS and HIPAA compliance.</p></td> </tr> …

Member Avatar for iceandrews
0
633
Member Avatar for dbol

Anytime I try to extract the title of an article that has special characters, such as & or ', it's only returning the letters after the special characters. single quotes are displaying as ' (in xml) double quotes are displaying as " (in xml) ampersands are displaying as &amp; (in …

Member Avatar for rajarajan2017
0
142
Member Avatar for Loopah

So my friends are saying that one of my email addresses is sending them weird ad spam from my email and I recently got a warning from MSE about a fignotok.a and ponmocup.a. I deleted them with MSE but I wanted to make sure I was clean. Here's my HiJackThis …

Member Avatar for jholland1964
0
196
Member Avatar for nihao

Hello all: I find that the tag "<error-page>" could not be executed in my struts project. It could not be forwarded to the "error.jsp" when I try to access a not exist page or a wrong url.Why? The web.xml is like this: [code] <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="[URL="http://java.sun.com/xml/ns/j2ee"]http://java.sun.com/xml/ns/j2ee[/URL]" xmlns:xsi="[URL="http://www.w3.org/2001/XMLSchema-instance"]http://www.w3.org/2001/XMLSchema-instance[/URL]" xsi:schemaLocation="[URL="http://java.sun.com/xml/ns/j2ee"]http://java.sun.com/xml/ns/j2ee[/URL] …

Member Avatar for lawrence_o
0
182
Member Avatar for thebluestar

I have tried to upload the xml file into a column with xml type of the database table I use sql statement like: [COde=sql]USE xml_tbl go INSERT INTO xml_tbl(Filename,DATA) SELECT 'file1' a,* FROM OPENROWSET( BULK 'C:\XML\file1.xml' ,SINGLE_CLOB) as a [/COde] or into the existing column: [COde=sql]update tbl_xml set data = …

0
68
Member Avatar for shena

Hi, I created a macro in excel by importing XML file and then make amendments and then run to export as textfile. I have a column with specific characters like "A" or "C" as last characters of a string. I want to export that column strings after removing the last …

Member Avatar for shena
0
335
Member Avatar for surajrai

Hi, I have to do multithreading. In my case each thread should run in a specified timer interval given in a database. I tried a sample by storing the data in an xml file and reading them with linq to xml. But it seems all the thread takes the last …

Member Avatar for sknake
0
339
Member Avatar for interdream

Wasn't sure on the best place to post this... went for ASP.NET because that's the language most commonly associated with IIS. However, I am using PHP on an IIS7 server. I am trying to rewrite URLs on an IIS7 server (yes, the URL rewrite module is installed) and it works …

0
47
Member Avatar for chama89

I'm running Eclipse for Java. I created a DOM version of an XML file. Now I want to change an attribute of an element in the file. I called a method that called a method in the class that controls the DOM, and I got a dialog box saying "JDI …

Member Avatar for patrick076
0
1K
Member Avatar for albertkao

Pressing the enter key of the following page (created by JSP) submit page more than once. Both alert popup boxes appear as expected: alert('i ' + i + ' elem[i].checked ' + elem[i].checked); alert('alarmgroup ' + alarmgroup + ' rowsPerPage ' + rowsPerPage); appear. However, then this alert appear again, …

Member Avatar for fxm
0
155
Member Avatar for tutalia

Hi everyone, I need a Web Service that uses SSL inorder to test a software's functionality. Can any one give a sw address.. Thanks a lot.

Member Avatar for jhbalaji
0
60
Member Avatar for rockyman12

When i say best its not necessarily the price [I]its how much can it be trusted.(reliable)[/I] I don't trust web host reviewing websites. Till i came across this one I looked into that one because they seemed to be user reviews. [B]webhostingreviews.com/[/B] So while hosts like [B]Justhost[/B] are ranked number …

Member Avatar for jhbalaji
0
98
Member Avatar for albertkao

Pressing the enter key at the jsp page receive extra invalid data at the ProdController.java. The alertgroupStr receive "unack" as expected. However, I do not understand why alertgroupStr receive the extra invalid "null" later. Debug log: 11:14:52,187 DEBUG com.systems.monitoring.war.ProdController:54 - alertgroupStr unack ... 11:14:52,187 DEBUG com.systems.monitoring.war.ProdController:54 - alertgroupStr null ProdController.java: …

0
91
Member Avatar for andrew89

I have created a script that will send form data via XMLHTTP using POST and then update a div with the results. This is working fine as the correct results are displaying in the table, however I am having a few issues with launching some JQuery effects. The problem I …

Member Avatar for pritaeas
0
63
Member Avatar for Gospp

I want to build a Webservice that on given intervals request data from a SQL-server and update an internal list in the Webservice. The Webservice will be accessed from multiple clients and I don't to access to SQL-server every time the list is requested from the clients. Is this possible …

Member Avatar for pritaeas
0
410
Member Avatar for P00dle

Okay, so I'm having problems with my code. I've browsed Daniweb and couldn't find any solutions on here that work. I'm extracting 2 sets of texts from a .xml file. The first part is a directory name(eg. "C:\work\") and the second part is the name of a file in that …

Member Avatar for P00dle
0
4K
Member Avatar for capoon

Hi experts, i developed javascript code that connects to ms acess database 2003. Everything work fine as it can insert,update and delete information from database. But my problem is that when i try to validate all my input text so as to ensure that my user must fill all the …

0
89
Member Avatar for capoon

Hi experts, i developed javascript code that connects to ms acess database 2003. Everything work fine as it can insert,update and delete information from database. But my problem is that when i try to validate all my input text so as to ensure that my user must fill all the …

Member Avatar for diafol
0
244
Member Avatar for reidar

I'm just starting with PHP and I was given a rather difficult task. I need to search through multiple XML files in different directories, then return the name of the files that contain a given search input. Will it be easier to write a script that reads all XML files …

Member Avatar for SikoSoft
0
242
Member Avatar for StuartMillner

I have recently been experimenting wih an AIML bot (located here, it's open source: [url]http://ntoll.org/article/project-an-aiml-chatterbot-in-c[/url]). The link to the documentation is broken however, so I am having a lot of difficulty trying to get it to run. Currently the bot is reading and loading all the necessary .xml files to …

Member Avatar for StuartMillner
0
294
Member Avatar for pietromarchy

Hi guys, a not so complex question: [CODE] form xml.etree.ElementTree import * >>> tostring("<home><room>bedroom</room></home>") '<home><room>bedroom</room></home>' [/CODE] I would like to have the indentation in for the string. Something like: <home> [INDENT]<room>bedroom</room> [/INDENT] </home> Of course my document is a little complex. Is it possible to have it in an automatic …

Member Avatar for pietromarchy
0
674
Member Avatar for nirandhn

Hi, I am new in xslt ,i want to remove any tag from xml file with using xslt . Can anybody assit me. Thanks in Advance. Niranjan Kumar My XMl file:- [CODE=XML]<?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="emp.xsl"?> <company> <employee id="1"> <name>Niranjan<p>tkadakdk sadfafk ff</p></name> <roll>1</roll> <contact>Delhi</contact> </employee> <employee id="2"> <name>brijesh</name> <roll>1</roll> <contact>Noida</contact> …

Member Avatar for nirandhn
0
2K

The End.