3,634 Topics
| |
I am working on a windows based project with WCF component. i have 2 problems with it currently. I use c#. 1. I get an error saying "Could not find end point element with the name xxx and contract yyy are in ServiceModel client configuration section. this might be because … | |
i want to give administrator of my website the privilege to change his password tht is stored in xml.the administrator types the new password in "NewPass.Text" and then retype the password in "ConfirmNewPass.Text". We have successfully compared the condition in the "IF" statement.The problem is inserting the password into xml(in … | |
Hi, I have the code as in the following: [CODE] Sub submit(ByVal sender As Object, ByVal e As EventArgs) songNodesOut.Text = String.Empty Dim file As String = Context.Server.MapPath("alice_music_list2.xml") Dim document As XmlDocument = New XmlDocument() document.Load(file) Dim songList As XmlNodeList songList = document.SelectNodes("/music_songs/song[category='" & drop1.SelectedItem.Text & "']") Dim songDisplay As … | |
I'm a fairly advance Python programmer. I'm am making a text based RPG which is easy for my skill but I've been wanting to learn XML for my C# project especially. My RPG is HEAVILY inspired by fallout 3. I love the dialogue options and I want to write an … | |
Hi, I have an XML: [CODE] <A> <B> <C>a</C> </B> <B> <C>b</C> </B> <B> <C>c</C> </B> </A> [/CODE] and I need the output as [CODE] <X name="a"> <Y name="b"> <Z name ="c"/> </Y> </X> [/CODE] i don't know how to write the XSL for it, tried few things but couldn't … | |
Hi, I am wondering if anyone on the list could help me search an xml file based on the user input. Right now, I have two separate files, one that shows all the data from an xml file, and the other is a simple web form with a button like … | |
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" %> … | |
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"> … | |
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 … | |
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. … | |
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. | |
Hi guys how can I insert multiple xml files in one table. Thanks | |
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 … | |
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 … | |
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: … | |
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 … | |
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> … | |
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 … | |
[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 = … | |
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] | |
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 … | |
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 … | |
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 … | |
[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> … | |
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 & (in … | |
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 = … | |
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. | |
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 … | |
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 … | |
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 … |
The End.