3,634 Topics

Member Avatar for
Member Avatar for jaango123

Hi All I am referring an xml file(document.xml), through document function. Based on the input xml id value, I am taking the corresponding value from document.xml. The output will have this corresponding value and the position in input, as shown in the actualoutput.xml. However, would like to generate an output …

Member Avatar for jaango123
0
120
Member Avatar for madhan

Hi - I have an xml document that has the following data. <?xml version="1.0" encoding="utf-8"?> <ValidateClass xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <addr1Valid>73 McKNIGHT RD</addr1Valid> <addr2Valid /> <cityValid>PITTSBURGH</cityValid> <stateValid>P</stateValid> <stateZip>S15237351</stateZip> </ValidateClass> I am trying to convert the xml data to comma delimited string. for eg: 73 McKNIGHTRD,null,PITTSBURGH,P,S15237351 I' m trying to accompolish this using StringWriter …

Member Avatar for Teme64
0
845
Member Avatar for ttback

For the past 2 days, no matter which Sharepoint web service I access via Python's suds lib, the remote service always returns 403 Forbidden. I'm using Python Suds 0.4 and Python NTLM 1.0. Suds 0.4 has built-in support for accessing Python NTLM. I followed the documentation from Suds's website on …

0
63
Member Avatar for ajst

Hi Guys and girls, I'm trying to save the font settings of my component and load them back in via xml. I have xml working with saving and loading of every property except Font. When I save font its as an integer. But when I load the value back in …

Member Avatar for AceStryker
0
404
Member Avatar for metronomu

Hello , the problem is this, i need to install the XML-LibXML library and it seems to be easier to put salt in your eyes than to realize this. I get the error below which basically states that i cannot install the library because i don't have libxml2 installed. Of …

0
108
Member Avatar for raaif

I want to write an XML file in the following format [ICODE]<?xml version="1.0" encoding="utf-8" ?> <trans> <trans eng="string from listbox1" type="string from listbox2"/> <trans eng="string from listbox1" type="string from listbox2"/> <trans eng="string from listbox1" type="string from listbox2"/> <trans eng="string from listbox1" type="string from listbox2"/> <trans eng="string from listbox1" type="string from …

Member Avatar for raaif
0
181
Member Avatar for JimPatrick

Hi Guys, We are having an issue with the video playing on our client's site. The video plays fully locally but not fully once set live on the any of the browsers, it plays just the first 15secs, then it stops. Can anyone share some ideas as to how we …

Member Avatar for sun-tzu
0
174
Member Avatar for manish250

Hi All, I am new to web services.I want to know when i am writing the web services client how can i decide whether i have to write it using axis or axis2.I mean how to decide whether to use axis or axis2. Thanks to all in advance........

Member Avatar for pritaeas
0
149
Member Avatar for mrjimoy_05

Hey all, I have a problem to read a XML file using XmlReader. I have this code: [CODE] Dim xCount As Integer = 0 Using xReader As XmlReader = XmlReader.Create("tekno.xml") TreeView1.Nodes.Clear() Do While xReader.Read() With TreeView1 .Nodes.Add(xReader.Item("title")) .Nodes(xCount).Nodes.Add("(link: " & xReader.Item("link") & ")") .Nodes(xCount).Nodes.Add("Date: " & xReader.Item("pubDate")) .Nodes(xCount).Nodes.Add(xReader.Item("description")) xCount = …

0
96
Member Avatar for lukasrzeznik

Hello, I have one problem with xml reading. My xml file: <TransactionDetail> <SaleItem> [B]<ItemID>02900</ItemID>[/B] <Discount Splitted="false" TypeCode="6000"> <-- New section <LineNumber>7</LineNumber> [COLOR="Red"]<Amount>0.36</Amount>[/COLOR] <DiscountableAmount>1.19</DiscountableAmount> <DiscountName>RABATT</DiscountName> <DerivationRuleID>99</DerivationRuleID> <PromotionId>99</PromotionId> </Discount> </SaleItem> </TransactionDetail> How I can get "ItemID" when "Amount" > 0 ? My code: [CODE]XmlReader textReader = XmlReader.Create(new StreamReader(@"C:\TEMP\Working\EJR\"+ejrName, Encoding.GetEncoding("ISO-8859-1"))); XmlDocument xmlDoc = …

Member Avatar for lukasrzeznik
0
133
Member Avatar for Rahul V S

hi friends, I'm trying to read an XML file using a jQuery 1.4 ajax ... the code is something like this ... [CODE] $.ajax({ type: "GET", url: "abcde.xml", dataType: "xml", error: function(){ /* error lines goes here */ }, success: function(){ /* success lines goes here */ } }); [/CODE] …

Member Avatar for Matthew N.
0
234
Member Avatar for sudheer2250

Hi, I am applying transform to a input xml file using the following code. [CODE]//Applying transform for the input word xml file. XslTransform myXslTransform; myXslTransform = new XslTransform(); myXslTransform.Load(openFileDialogz_Xslt.FileName); myXslTransform.Transform("C://Target.xml", targetpath);[/CODE] In the XSLT file, wrote for displaying attributes as [CODE]<xsl:attribute name="label"> <xsl:value-of select="$level"/> </xsl:attribute> <xsl:attribute name="externalid"> <xsl:value-of select="$externalid"/> </xsl:attribute> …

0
65
Member Avatar for divyam_shukla
Member Avatar for lucas.ploeg

Hi, I have a program that generates an outputstream with XML-data. With a socket connection, I have to read multiple XML-files from the inputstream. To read only one XML-file from the inputstream is not a problem, the fact that there are more than one and I have to split up …

Member Avatar for JamesCherrill
0
3K
Member Avatar for sbutt

Hi Folks, I am using XSLT 1.0, and stuck in a situation where I am having decimal rounding problem. Let me give you an example: My generated XML is: [CODE] <?xml version="1.0" encoding="UTF-8"?> <CostSummary> <CostingItems> <CostingItem CostBasis="7" Description="Per Person" PassengerRPH="1"> <UnitCost Amount="3.333333" CurrencyCode="EUR"/> </CostingItem> <CostingItem CostBasis="7" Description="Per Person" PassengerRPH="2"> <UnitCost …

0
78
Member Avatar for prasadvandra

Could you please help me in replacing the namespaces in the output. my input is <soapenv:Body> <abc:requestDocumentRequest> <abc:brand>brand</util:brand> <abc:portal>port</util:portal> <abc:userId>userid</abc:userId> <abc:folderName>folder</abc:folderName> </abc:requestDocumentRequest> </soapenv:Body> I need the soap body with different namespaces <soapenv:Body> <xyz:requestDocumentRequest> <xyz:brand>brand</util:brand> <xyz:portal>port</util:portal> <xyz:userId>userid</xyz:userId> <xyz:folderName>folder</xyz:folderName> </xyz:requestDocumentRequest> </soapenv:Body>

0
44
Member Avatar for Haranadh

Hi Friends, I am new to this XML & XSL. I want to write a template which takes two arguements and it should take the node name and node value. in template i want to format the input value. Please share if any one can guide me on this. The …

0
132
Member Avatar for Quazy

Hello, I hope someone can give me some help. I have a datagridview (Unbound), wich calculate several numbers, and I use this following code to save 5 of the columns to a XML file. My problem is that I would like to load this file back to my datagridview, and …

Member Avatar for josker
0
207
Member Avatar for Cap'nKirk

Hi, I have made a small application that creates an RSS feed from my Cafe Press store using the Cafe Press API. As I am still in the developement stage I have currently created 2 feeds for testing purposes but I am struggling to understand what is going wrong with …

0
67
Member Avatar for xsltnewbie

I have the following source xml file. <root> <child1></child1> <child2></child2> </root> I need to convert it to <MYOWNTAG1> <TEST1>CurrentDate</TEST1> <TEST2>CurrentTime</TEST2> </MYOWNTAG1> <MYOWNTAG2> <XML> <![CDATA[<root><child1></child1><child2></child2></root>]]> <XML> </MYOWNTAG2> I'm having problem in inserting the CDATA section.Please help.

0
37
Member Avatar for Pgmer

Hi All, I have webservice which i having webmethod which returns boolean value. Its retruning the correct output value only when the connection is pointing to localhost. Can any one please guide me? Thanks

0
88
Member Avatar for zshadow

Hi, I have this xml file, in my XSLT file I want to process <Parcel .../> element first then the <DeliveryAdress ../> and then the <Consignment .../> element. I would be very grateful if someone could suggest a solution please. Thanks in advance. <xml version="1.0" ?> <MR23030B> <Header RECORD_TYPE="HD" METER_NO="10800" …

Member Avatar for zshadow
0
100
Member Avatar for manu555
Member Avatar for khadar1
0
67
Member Avatar for tigerinhunt

Hi, I have a large complex XML and I need to change certain elements values in it. So output of the XML has to remain exactly same except those value be changed. Name of the file, preferably remain same. Element Name & Values that will be changed will come from …

0
40
Member Avatar for jaango123

Hi All, We would like to remove some redundant lines in XMLfile1. The second block is repeated, except the ctrycd, second block, it is 826. Can we combine that aslso in first block, something like xmlfile2. We have many redundant lines like this. Any help is appreciated.

Member Avatar for jaango123
0
91
Member Avatar for fistofzen

I have this XML: <p> <span>Foo</span> <br/> </p> <p> <span>Foo</span> <br/> <span>Foo</span> <span>Foo</span> <br/> </p> <p> <span>Foo</span> <span>Foo</span> <br/> <span>Foo</span> <span>Foo</span> <span>Foo</span> <br/> </p> I would like to be able to select the <br/> tag first and then loop through the spans above them. The reason for this is to …

0
36
Member Avatar for Cap'nKirk

Hi, I have an XML file that I am trying to parse and then sort into an re-ordered list. Currently the XML file is ordered via date ascending i.e. oldest item first, newest last. I know how to parse an XML file using 'XMLNodeList - GetElementsByTagName' but what would be …

Member Avatar for Cap'nKirk
0
1K
Member Avatar for tejasagawane

While accessing my web service i am getting XMLHttpRequest status=0 in Crome/Mozilla and in IE getting XMLHttpRequest status=406. What is the solution for it so that i will successfully get responseText from server? I have tried accessing my html code with localhost but its getting same error,while when i run …

Member Avatar for Taywin
0
61
Member Avatar for Gabit

I need to create WSDL file for my [B]Web Service[/B]. Web service receives xml-based request and responses to it. [B]Sample xml-based request:[/B] [CODE]<?xml version="1.0" encoding="utf-8"?> <PEP_IBANCheckRequest> <OrderNumber>34552</OrderNumber> <IIN>81070581488</IIN> <RNN>5851515115</RNN> <IBAN>KZ86926002P468708027</IBAN> <PaymentAccountType>1</PaymentAccountType> <OrderDate>2011-08-26T11:36:59.4050385+06:00</OrderDate> </PEP_IBANCheckRequest>[/CODE] [B]Sample xml-based response:[/B] [CODE]<?xml version="1.0" encoding="utf-8"?> <PEP_IBANCheckResponse> <OrderNumber>34552</OrderNumber> <OrgOrderNumber>65412</OrgOrderNumber> <OrderRunDate>2011-08-26T12:00:51.0369231+06:00</OrderRunDate> <Status>0</Status> <OrgBIC>65156151</OrgBIC> <OrgRNN>5445848</OrgRNN> </PEP_IBANCheckResponse>[/CODE] By looking at …

0
81
Member Avatar for tawisak

[CODE]package demo.weatherforecast.main; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import org.xmlpull.v1.XmlSerializer; import android.app.Activity; import android.app.AlertDialog; import android.content.DialogInterface; import android.os.Bundle; import android.util.Log; import android.util.Xml; import android.view.View; import android.widget.AdapterView; import android.widget.AdapterView.OnItemClickListener; import android.widget.ListView; import android.widget.SimpleAdapter; import android.widget.Toast; public class EditCity extends Activity { String xmlFilepath …

0
54

The End.