1,599 Topics

Member Avatar for
Member Avatar for Sharpmax

Hello guys! I am new to web development in general and C# particularly. Recently I have been given a project to create a simple web application, using C# and .NET. The application is divided into three parts: Data Access Layer with an XML file attached to it, the Business Layer …

Member Avatar for alc6379
0
151
Member Avatar for chou73

hi all, please can u help me, it's urgent and i'm working on it about 5 days without result i have a xml file: [CODE] - <Menus> - <UsersMenu> <ID>1</ID> <Text>Button1</Text> - <UsersMenu> <ID>2</ID> <Text>B1I1</Text> <link>template.aspx</link> <parent>1</parent> </UsersMenu> - <UsersMenu> <ID>3</ID> <Text>B1I2</Text> <parent>1</parent> - <UsersMenu> <ID>6</ID> <Text>B1I2I1</Text> <link>template.aspx</link> <parent>3</parent> </UsersMenu> …

Member Avatar for chou73
0
211
Member Avatar for Blondeamon

Hello mates i am having a problem designing a new DTD over the existing one found at: [url]http://dblp.uni-trier.de/xml/dblp.dtd[/url] This is the DTD over their original XML file. I used a SAX parser to store specific data from the original file into my relational database. Now i have to do the …

Member Avatar for iceandrews
0
85
Member Avatar for BLY

Hi I'm trying to create a choosing statement by using a link ie [CODE] if(Link == google) run something else (Link == yahoo) [/CODE] Meaning that if the declared link is google it will do something else if it will load yahoo Here's what i'm thinking how the code is …

Member Avatar for BLY
0
104
Member Avatar for minamo99

Hello everyone, I am a beginning programmer using XSLT. I work at a company wich has a database witch generates catalogs, exporting XSL and XML to FOP.(wich converts to PDF). the program runs on apache and is build in delphi. That being said, I was wondering if it is possible …

Member Avatar for minamo99
0
1K
Member Avatar for mrclark

i am creating a web-album for my site. what i am trying to do, is on the homepage, if a user clicks on a specific thumbnail, it will got to the album using a #image[number] tag. i have this code so far for changing the images based on the tag …

Member Avatar for mrclark
0
86
Member Avatar for aljiro

Greetings Good People of DaniWeb, I have been on a search for a solution for my problem for weeks and weeks now. My search has brought me into this wonderful community in which I hope to find help. I will be doing my part in the community by providing help …

Member Avatar for aljiro
0
2K
Member Avatar for Rajicet

I have to display a <div> data in a loop in XSL.But the below code is not working. Please help. <script> i=3; for(i=0;i <xsl:text disable-output-escaping="yes">&lt;</xsl:text> count;i++) { </script> div style="float:left;background-color:#D3D3D3;width:100">test</div> <script> } </script>

Member Avatar for minamo99
0
75
Member Avatar for achava

Another total Nuby collection. I have an xml file from which I wish to eliminate all elements that have any attributes at all. All I really need to do is eliminate the contents of the attribute. How do I do this? My plan is to start with <xsl:template match="Contains an …

Member Avatar for fpmurphy
0
132
Member Avatar for saraswathy6

Hi, I have an xml like this <agency count="133">GOV.NIH.XYZ.465.56</agency> <agency count="129">GOV.NIH.ABC.245.21</agency> <agency count="216">GOV.NIH.NCI.456.23</agency> <agency count="48">GOV.USDA.4412.345.08</agency> <agency count="46">GOV.USDA.1411.345.00</agency> <agency count="51">GOV.USDA.5512.231.05</agency> <agency count="42">GOV.USDA.1411.16.10</agency> <agency count="39">GOV.USDA.5512.16.12</agency> <agency count="32">GOV.USDA.1411.17.03</agency> <agency count="60">GOV.FDA.4412.33.56</agency> <agency count="59">GOV.FDA.4410.45.87</agency> <agency count="55">GOV.FDA.1411.56.213</agency> <agency count="60">GOV.FDA.1412.86.45</agency> <agency count="55">GOV.FDA.1431.32.45</agency> I need to sort them based on the coutn for each agency . The results …

Member Avatar for iceandrews
0
118
Member Avatar for younk

Hi Im new to XSL. Im trying to read a XML file that has identical node names with different values. [CODE] <mondial> <country car_code="MK" capital="cty-cid-cia-Macedonia-Skopje"> <name>Macedonia</name> <indep_date>1991-09-17</indep_date> <government>emerging democracy</government> <encompassed continent="europe" percentage="100"/> <ethnicgroups percentage="22">Albanian</ethnicgroups> <ethnicgroups percentage="2">Serb</ethnicgroups> <ethnicgroups percentage="65">Macedonian</ethnicgroups> <ethnicgroups percentage="4">Turkish</ethnicgroups> <ethnicgroups percentage="3">Gypsy</ethnicgroups> <religions percentage="30">Muslim</religions> <religions percentage="67">Christian Orthodox</religions> <languages percentage="21">Albanian</languages> <languages …

Member Avatar for iceandrews
0
99
Member Avatar for dmarvp

Hi everyone, I have a little problem with the class XmlDocument in .net. I'm using framework 2.0 and I am loading an xmlDocument from a path. The xml has a node without value like this: <somexmlnode/> When I load the xml using the xmlDocument class, it seems that it is …

Member Avatar for dmarvp
0
137
Member Avatar for saraswathy6

Hi, I need to call a public static method that returns in xslt. I'm using jstl to do the transformation and hence using the jaxp parser which would use XSLTC or Xalan internally. The way I have the namespacee declaration for my xslt is <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:autn="http://schemas.autonomy.com/aci/" xmlns:myUtil="http://xml.apache.org/xalan/java/com.csa.porter.scat.CategoryUtils" xmlns:java="http://xml.apache.org/xalan/java" …

Member Avatar for saraswathy6
0
609
Member Avatar for glfnute

This is the usual "I'm new to XSLT and need help" plea ... I am trying to parse an XML document and create a "like" structure as output while performing some mapping functions. In trying to produce the output structure, I cannot seem to figure out how to get at …

Member Avatar for fpmurphy
0
119
Member Avatar for achava

Have I got a problem. I am quite new to xslt, and I have the following situation. I am presented with an xml file. I only want to extract the text in four of the tags present in the document. My first approach was to create a template for each …

Member Avatar for iceandrews
0
151
Member Avatar for Learning_Curve

[B]Question:[/B] Is it possible to [B]restrict the number of times an element can have a certain value[/B] through XSD? [B]Scenario:[/B] I have an element <ITEM> which has three child elements: <ITEM_BOOLEAN> <NAME_ELEMENT> <ITEM_MEMO_ELEMENT> <ITEM_BOOLEAN> [B]is restricted[/B] to only allow the values of "Y" or "N" is XSD I would like …

Member Avatar for Learning_Curve
0
199
Member Avatar for Learning_Curve

[B]Intent:[/B] I'm trying to create a simple GUI application (VB Desktop) that will allow me to modify an XML file's nodes which contains the program settings and table definitions for an application. The GUI application's datagridview contains three columns: colA, colB, colC. ColA should be the direct value from an …

Member Avatar for Learning_Curve
0
178
Member Avatar for SunnySideUp

Hi, How do I go about creating a XML document from information requested from multiple tables ? Do I need to split the queries up or can I just run it as one complete query ? Then how do I set it up so that information is output into an …

Member Avatar for digital-ether
0
96
Member Avatar for hanuinfy

Hi, I am new to XSLT, Please helo me in transforming the XML to XML transform I have XML like this <products> <product> <display value="32" /> <count value="0"/> </product> </products> Through XSLT I need to convert it like this <products> <product display="32" count="0"/> </products> Please help me out. This is …

Member Avatar for fpmurphy
0
239
Member Avatar for ibdatx

Hi, I have a listbox that is bound to a textblock as target and also has an xml file as source. My problem now is the correct syntax for inserting another listbox in between the listbox and the xml file. My code is shown below... <Window x:Class="newTestApp.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Window1" …

0
131
Member Avatar for eswar.aspire

Hello, I getting an error when generating an XML from php and couldn’t find any duplicate root element or space in my XML document. After generating an XML document, it should be saved in specified directory get from POST variable. Error Details: Only one top level element is allowed in …

0
86
Member Avatar for eswar.aspire

hello, I am new to php and apache..any help is appreciated. I am designing a music website..I am designed the music player with flash.I have xml file like this where my flash player play the songs from the url..I have a folder named songs. <song> <track>Princess Song</track> <artist>Artist Two</artist> <url>songs/princess.mp3</url> …

Member Avatar for eswar.aspire
0
997
Member Avatar for ibdatx

Hi all, I am new to XAML however I have an understanding of XML. I am trying to bind a button to an XML file such that when the button is clicked, it the xml element is displayed within a listbox. Then I want the listbox selected item to be …

0
111
Member Avatar for pritaeas

Below is the XML response you get from the W3C Validation API: [code=xml] <?xml version="1.0" encoding="UTF-8"?> <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> <env:Body> <m:markupvalidationresponse env:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:m="http://www.w3.org/2005/10/markup-validator"> <m:uri>http://www.pritaeas.net/</m:uri> <m:checkedby>http://validator.w3.org/</m:checkedby> <m:doctype>-//W3C//DTD XHTML 1.1//EN</m:doctype> <m:charset>utf-8</m:charset> <m:validity>true</m:validity> <m:errors> <m:errorcount>3</m:errorcount> <m:errorlist> <m:error> <m:line>10</m:line> <m:col>1</m:col> </m:error> <m:error> <m:line>12</m:line> <m:col>2</m:col> </m:error> <m:error> <m:line>14</m:line> <m:col>3</m:col> </m:error> </m:errorlist> </m:errors> <m:warnings> <m:warningcount>0</m:warningcount> <m:warninglist> </m:warninglist> …

Member Avatar for pritaeas
0
165
Member Avatar for kidwon

Hi guys, This below is my code: [CODE]<script language="javascript" type="text/javascript"> function bc () { var bc = document.getElementsByTagName("BusinessCard"); for (var i=0; i < bc.length; i++) { var create_card = document.createElement("div"); create_card.setAttribute("class" , "BusinessCard" ); create_card.setAttribute("className" , "BusinessCard" ); document.getElementsByTagName("body")[0].appendChild(create_card); } } </script> </head> <body onload="bc()" > <BusinessCard> <Name>Somebody Somewhere</Name> <phone …

Member Avatar for kidwon
0
128
Member Avatar for JOSheaIV

Okay I am working on a group project in class and I have to learn XML for it, would anyone be able to point me in the right direction. If I recall right we are using XML to communicate with a flash program we're building. ALso if anyone knows anything …

Member Avatar for iceandrews
0
98
Member Avatar for reeves14

Need help counting the # of days between two dates (ex: 1/2/10 and 1/24/10) Better yet, the # of hours would be a great alternative.

Member Avatar for iceandrews
0
150
Member Avatar for milenio

Hi all, first i would like to apologize if my question seems out strange or not well define, but I've never do this before. here it is my problem: I have a txt file with a delimiters. I have a XML file that should be used to load the data, …

Member Avatar for iceandrews
0
244
Member Avatar for Spycat

Hello all, This doesn't seem that it should be terribly difficult to do, but of course it is (for me anyway). I own a golf site, and I would like to insert the world rankings, which is in an XML format file into an existing html file. I have applied …

Member Avatar for macgurl70
0
1K
Member Avatar for luckybutlost

Hi, I am trying to get some xml data using a jquery .post request, but it's not outputting anything. The client-side code looks like this [CODE] <html> <head> <script type="text/javascript" src="jquery-1.4.2.js"></script> <script type="text/javascript"> function cstarter() { window.einterval = setInterval("cst()", 5000); window.big = "hi"; } </script> <script type="text/javascript"> function cst() { …

Member Avatar for Taywin
0
107

The End.