3,634 Topics

Member Avatar for
Member Avatar for iskinner

From help I received yesterday I have this code that will parse through an XML file generating an output from various nodes based on the relationships between them. Example XML [CODE] <gedcom> <INDI ID=@I001@> <FAMC>@F001@</FAMC> ... </INDI> <INDI ID=@I002@> <FAMC>@F002@</FAMC> ... </INDI> <INDI ID=@I003@> <FAMC>@F003@</FAMC> ... </INDI> ... <FAM ID=@F001@> …

Member Avatar for iskinner
0
159
Member Avatar for CJdamaster

Hi there, I'm working on a project which incorporates the following: [LIST] [*]Reading data from XML [*]Writing data to XML [*]Interpreting XML and passing the information to various places [/LIST] These are on different threads, and I've used a Mutex to make sure they don't try opening the main XML …

Member Avatar for CJdamaster
0
164
Member Avatar for pragati_2010

<xs:complexType name="Thing"> <xs:complexContent> <xs:extension base="ax:Object"> <xs:sequence> <xs:element maxOccurs="unbounded" minOccurs="0" name="Thing" nillable="true" type="ax:Item"/> <xs:element minOccurs="0" name="number" nillable="true" type="xs:double"/> </xs:extension> </xs:complexContent> </xs:complexType> This is the XSD structure

Member Avatar for Erwan Amoureux
0
105
Member Avatar for arigasa

I try to receive XML sample from w3schools.com ([url]http://www.w3schools.com/XML/cd_catalog.xml[/url]) but get nothing (xmlhttp.status=0). My local web server is Apache on VMWare (host OS Win7, Guest OS Ubuntu, Network adapter - NAT). Here is the code: [CODE]xmlhttp=new XMLHttpRequest(); xmlhttp.open("GET","http://www.w3schools.com/XML/cd_catalog.xml", true); xmlhttp.onreadystatechange=function() { if(xmlhttp.readyState==4) alert("status " + xmlhttp.status); } xmlhttp.send(); [/CODE] It …

0
41
Member Avatar for addmaths07

Hey! I am developing a type of an rss reader. Which fetches latest 1-2 feeds from a webserver and publishes them to a subscriber. The problem I am facing is, this [URL="http://www.feedparser.org/"]feedparser[/URL] is using etag and modified date to recognise latest feeds. It works fine with the servers which support …

0
98
Member Avatar for y2kshane
Member Avatar for teambuilding

Hi guys, I need to ping a few hundreds of backlinks as only some actually are indexed. Could you please advise what is the best way of creating an RSS from the multipple URLS (hundreds). I remember in the past trying some site that creates RSS feed from the list, …

Member Avatar for antesnop3
0
129
Member Avatar for mikelaw47

I have just downloaded William Hill poker software but when i run it there seems to be a lot of issues. My mouse arrow and loading icon vibrate so not able to navigate the site. When i click to exit the whole thing freezes. I troubleshoot and get message incompatible …

Member Avatar for Techi
0
119
Member Avatar for fiju

How to create xml from MSSQL database.Could any one help me to find out this . It would be much helpful and appreciated if any provide me an example also.

Member Avatar for debasisdas
0
77
Member Avatar for iskinner

I have XML data where information in nodes relate to other nodes. I am trying to figure out how to generate output based on these relationships. XML sample <gedcom> <indi id="@I001"> <famc>@F002@</famc> </indi> ... <fam id="@F002"> <husb>@I005@</husb> <wife>@I007@</wife> </fam> </gedcom> XSLT sample <xsl:template match="/"> <xsl:apply-templates select="/gedcom/indi[@id='@I001@']"/> </xsl:template> <xsl:template match="indi"> <xsl:value-of …

Member Avatar for xml_looser
0
1K
Member Avatar for Asen

I generate my xml into "variable string str" by using "dataset.GetXml" and then I write the "xml which is contained in variable str" into "file.xml" by using "sFile.WriteLine(str) while 'sFile' is a stream reader" My reason for using 'writeline' instead of 'dataset.WriteXml' because I need to encrypt the 'xml stored …

Member Avatar for Asen
0
192
Member Avatar for jmwmulle

I'm an amateur web developer trying to move toward more professional coding practices, and I'm making my first site that makes extensive use of ajax. I've used the xmlHttpRequest object on a few occasions, for which simply creating functions as I needed them were adequate. But the site I am …

Member Avatar for jmwmulle
0
233
Member Avatar for iskinner

Thanks to some great help for my first ever post on this formum [ [URL="http://http://www.daniweb.com/forums/thread346113.html"]Fetch a node based on a value of another node.[/URL]] I am now recursively traversing through my XML data where nodes are related to each other. Example XML [ICODE] <gedcom> <INDI ID="@I001@"> ... <FAMC>@F001@</FAMC> </INDI> <INDI …

0
119
Member Avatar for al2henry

I have created an .xml file with 2 items linking to 2 announcements/news stories on the Conservation News page that I intend to update frequently in the near future. This .xml file has been validated. I would like visitors to the page to be so entranced with the range of …

Member Avatar for al2henry
0
265
Member Avatar for radhikakumaran

Hello all, I hv jst recently started using C# and i need to read some Xml documents using C#. I hv a Xml document as , [CODE] <?xml version="1.0" encoding="utf-16"?> <add>< fnum>12</fnum> <snum>12</snum> </add> [/CODE] Now, i need to independently get the values of the elements fnum and snum and …

Member Avatar for bhagawatshinde
0
191
Member Avatar for k_manimuthu

I derived Datatable in one class(DataTableEx), then i created one property(TotalRecordCount), then i assigned 5000 to that new property(TotalRecordCount), then i convert this datatable into xml, so it's created.Now i try to convert xml to Datatable, i am not able to get 5000 value to TotalRecordCount Property. so how i …

0
92
Member Avatar for bhanu1607

Hi, Can any one help me. Please Explain this code. [CODE] <div id="toolMenu"> <ul> <xsl:for-each select="categories/category"> <xsl:sort select="@order" data-type="number"/> <xsl:apply-templates select="."> <xsl:with-param name="content" select="'false'"/> </xsl:apply-templates> </xsl:for-each> <!-- Commented to Remove help --> <!--<xsl:if test="//tool/@hasHelp='true'"> <li> <a accesskey="h" href="javascript:;" class="icon-sakai-help"> <xsl:attribute name="onclick">window.open('<xsl:value-of select="config/helpUrl"/>','Help','resizable=yes,toolbar=no,scrollbars=yes, width=800,height=600')</xsl:attribute> <xsl:attribute name="onkeypress">window.open('<xsl:value-of select="config/helpUrl"/>','Help','resizable=yes,toolbar=no,scrollbars=yes, width=800,height=600')</xsl:attribute>Help</a> </li> </xsl:if>--> </ul> …

Member Avatar for xml_looser
0
126
Member Avatar for dvprez

Hi, I need a little help importing an XML file into sqlserver 2008. I followed this example [url]http://www.sql-server-performance.com/articles/dba/Loading_XML_data_into_SQL_Server_2008_p1.aspx[/url] (make sure you goto the rest of the pages in the article!) , generated the schema etc., but I can't get the import to do what I need. I was able to …

Member Avatar for l.geetha86
0
582
Member Avatar for pragati_2010

The value i am getting in a tag is like <text>customers/id/name/place</text> now i want to retrieve the last value after the / that is 'place'.The problem i am facing is the value in text is changing for e.g it could be <text>customers/id/name/place</text> <text>suppliers/id/Germany/thing</text> <text>supply/id/location/book</text> what i want is the last …

Member Avatar for xml_looser
0
102
Member Avatar for f_atencia

Hi peoples, Suppose I have an XML file [CODE] <Application> <Segment1> <ID>Sam</ID> <Fee>2.50</Fee> <Fee>1.00</Fee> </Segment1> </Application> [/CODE] In a nutshell, I want to move the two <Fee> Elements to another section so it looks like this; [CODE] <Application> <Segment1> <ID>Sam</ID> </Segment1> <Segment2> <Fee>2.50</Fee> <Fee>1.00</Fee> </Segment2> </Application> [/CODE] It would invlove …

Member Avatar for mrame
0
130
Member Avatar for standa333

Hello, i´m beginer in XSL and i need help. In attachment, is source xml and my xsl. I have problem with filtering element date. Because, when i run transform result is duplicate. Can you help me? thx Stan

Member Avatar for standa333
0
132
Member Avatar for bhanu1607

Hi, I need to concatenate 3 strings to make URL dynamically. [CODE] <xsl:variable name="userurl"> <xsl:choose> <xsl:when test="currentUser/first != ''"> <xsl:value-of select="currentUser/first"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="currentUser/userid"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="url"> <xsl:value-of select="concat('http://localhost:8080/xsl-portal/site/~',$userurl,'/page/487d2e0a-ca50-440b-a8c2-e98a2cee632c')"/> </xsl:variable> <xsl:text>|</xsl:text> <a href="{$url}" target="_blank"> <xsl:text>Search</xsl:text> </a> [/CODE] Here i am not able to get the link, The …

Member Avatar for mrame
1
91
Member Avatar for Srinivasrajan

How to find errors in a given xml file, for e.g., in the following xml file.... <?xml version="1.0" encoding="ISO-8859-1"?> <bookstore> <book category="cooking"> <title lang="en">Everyday Italian</title> <author>Giada De Laurentiis</author> <year>2005</year> <price>30.00</price> </book> <book category="children"> <title lang="en">Harry Potter</title> <author>J K. Rowling</author> <year>2005</year> <price>29.99</price> </book> <book category="web"> <title lang="en">XQuery Kick Start</title> <author>James McGovern</author> …

Member Avatar for mrame
1
159
Member Avatar for suther

I need one help.. I have faced problem, while sending XML request to Message Queue. Message has posted to Message Queue(body), but with dot between characters.eg: (T.e.s.t.M.e.s.s.a.g.e) Is there any message format to send plain text? sub sendInbox() { my $Body = shift; #my $Queue = "DIRECT=OS:tandbpc137\\private\$\\testqueue"; my $Queue = …

0
68
Member Avatar for maofree

Hi to all I use a cms and I want to modify an its module. I need to pass a variable to a xml file (this xml is necessary for a flash slideshow), like the value of a folder like '/example' If I create a system variable in php and …

Member Avatar for maofree
0
318
Member Avatar for achava

I am trying to extract the important text, and only the important text from an RSS feed. I have determimed that all of the items in the feed have the important text underneath a tag that starts <div id="important text"> ... In some of the files the important text is …

Member Avatar for achava
0
157
Member Avatar for tombliboo

Hi Please help this is driving me insane, I've simplified my XML and stylesheet below for explaining what I'm trying to achieve. My stylesheet is successfully generating a HTML file for each of my categories using title i.e. This Category.html That Category.html It also generates a simple index.html at the …

Member Avatar for tombliboo
0
172
Member Avatar for SuPrAiCeR69

How can I perform the following with this API? Form is setup in PHP for registered user to enter domain name On submit.. Check if domain is available > - If NO > output to XML > run the loop again in 5 minutes - If YES > output to …

Member Avatar for HemantPHP
0
195
Member Avatar for paramveer

HEllo Everybody..... feels nice to be part of daniweb..community..joined only today...... i am quite ignorant of XML.....but now i have to develop a c/c++ program which reads a XML file......stored on LAN.....retreives the content of the file...and do necesarry manipulation with the retreived data......actually the xml file contains the name …

Member Avatar for giskumar
0
3K
Member Avatar for bluesheeva

Hi, I created a new web service and a client that request for this web service by using SOAP message. Before consuming the web service, I created a class that implements SOAPHandler to intercept the soap message and authenticate the client. I would like to redirect the page to registration …

Member Avatar for Daisy_S
0
145

The End.