1,599 Topics
| |
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 … | |
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> … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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"><</xsl:text> count;i++) { </script> div style="float:left;background-color:#D3D3D3;width:100">test</div> <script> } </script> | |
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 … | |
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 … | |
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 … | |
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 … | |
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" … | |
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 … | |
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 … | |
[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 … | |
[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 … | |
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 … | |
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 … | |
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" … | |
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 … | |
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> … | |
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 … | |
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> … | |
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 … | |
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 … | |
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. | |
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, … | |
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 … | |
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() { … |
The End.