1,599 Topics

Member Avatar for
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 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 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
64
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
76
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 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
66
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
36
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
39
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 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
Member Avatar for jeraldmuthu

This is the code generating xml to feed into Javascript How to convert javascript output of the image to swf format using JAVA.. [CODE] package com.info.chart; //Contributor: i18n : Pedro Casals Fradera (2006/06/22) import java.awt.Color; import java.awt.Font; import java.awt.Paint; import java.io.FileNotFoundException; import java.io.IOException; import java.io.OutputStream; import java.text.NumberFormat; import java.text.SimpleDateFormat; import …

0
85
Member Avatar for artemis_f

I am trying to attach an XML Schema to a document as mentioned here: [url]http://www.tech-recipes.com/rx/2099/word_2007_attach_xml_schema/[/url] However I am having trouble attaching the schema(s) in question. I am wondering if anyone can shed light into possible reasons this is happening. The XML Schemas I am trying to attach are these: [url]http://www.ddialliance.org/Specification/DDI-Lifecycle/3.1/XMLSchema/[/url] …

0
149
Member Avatar for dimasalang

hello.. just want to ask if it's possible to save html form field values in an xml file without using any server side script like ajax or php. i just want to use javascript and i want to do it offline witthout using any server like tomcat. is it possible? …

Member Avatar for dimasalang
0
2K
Member Avatar for Cupidvogel

Hi, I am providing a snippet of a large code, this snippet intends to dynamically insert a list of filenames into a <select> element on pageload, the filenames being read via Ajax from a XML file kept in the same folder as this one: [CODE] <html> <head> <title>hi</title> <script src="https://www.google.com/jsapi" …

0
73
Member Avatar for jeraldmuthu

In this class for each case i'm generating XML (XML creation code is in last) in Xhtml i added javascript [CODE] <tr> <td align='center'> <div id="chart1Div"> This text is replaced by chart. </div> <script type="text/javascript"> var chart1 = new FusionCharts("Charts/MSColumn3D.swf", "ChId1", "600", "600", "0", "1"); chart1.setXMLUrl("Charts/test.xml"); chart1.render("chart1Div"); </script> </td> </tr> …

0
89
Member Avatar for tshad

I am using VS 2010 and am debugging my XSLT on one of my XML files. This works fine. It splits so I can see 2 files at once - but that will only show me 2 files at once. 1) XSLT file as I walk through it 2) Either …

0
41
Member Avatar for tshad

I need to find a way to carry a value I get from a template to another template. Both templates are on the same level. I thought I could use variable or param to do this but I cannot make it work. I tried finding a way using Google but …

0
54
Member Avatar for caseyl89

So I have this code so far to parse some values from many XML files. What I can't figure out is how to declare the folder that i need it to open. I need the code to open up a folder on my c:\ that has lots of xml files …

0
73
Member Avatar for Mullaly

Hi, I am a newbie to C# and OOP.. I need some advice regarding my requirement.. 1st Part: There are persons who use mobiles, of many subscribers and also have many numbers in each subscribers. If we consider the XML tags it would be [CODE]<Persons> <PersonName1>XXX</PersonName1><Subscriber1><SubscriberName>ABC</SubscriberName> <Numbers><one>123456</one><two>123456</two>....<twenty>20</twenty></Numbers></Subscriber1><Subscriber2><SubscriberName>ABC</SubscriberName> <Numbers><one>123456</one><tow>123456</two>....<twenty>20</twenty></Numbers><Subscriber2> </Persons>[/CODE] Like …

0
103
Member Avatar for jashbela

Hi, I have error message . Please help me. 17 Attribute value "001" of type ID must be an NCName when namespaces are enabled. I am attaching file <!DOCTYPE cataloge [ <!ELEMENT cataloge (DVD)* > <!ELEMENT DVD (title?, genre?, rating?, viewerrating?, summary?, year?, director?, runtime?, studio?, actor? ) > <!ELEMENT …

Member Avatar for jashbela
0
824
Member Avatar for balu_mtx42

Hai all, Please help me to compare two xml files using vb script or java script. example of xml file [CODE] <table name="uninstall_software" numRows="0" remarks="" schema="dbo"> <column autoUpdated="false" digits="0" id="0" name="swtitle_id" nullable="false" remarks="" size="10" type="int"> <parent column="id" foreignKey="c_uninstall_swtitle_id" implied="false" onDeleteCascade="false" table="software_title"/> </column> <column autoUpdated="false" digits="0" id="1" name="machine_id" nullable="false" remarks="" size="10" …

0
93
Member Avatar for gwmbox

Can anyone provide me with an example working xsl contact form, nothing fancy just an example form that I can test and learn from. Thanks GW

0
45
Member Avatar for mmmathur06

Hi All, I have a xml something like this [CODE]<addres> <country>xxxx</country> <city>xxxx</city> <name>xxxxxxxx</name> <street>xxxxxxx</street> <!-- like this n number of element can come --> </addres>[/CODE] Out of those all tag any of tag e.g. <name> I don't want to produce in out put xml for exp. output should be like …

Member Avatar for mrame
0
103
Member Avatar for Lyandor

Hey guys, is there a way to get a node's name and assign it as a value to a variable using javascript? Here's an example structure of the xml. [CODE] <list> <student id="101"> <name>John Smith</name> <DOB>07-09-1987</DOB> <address>123 ABC street</address> </student> <student id="102"> <name>John Doe</name> <DOB>05-04-1986</DOB> <address>234 DEF street</address> <address2>345 GHI …

0
106
Member Avatar for caseyl89

Hi so i'm working on a project in c#. I have hundreds of xml files and I need to extract 6 values from each of the xml files and somehow display them on an excel datasheet. Here is an example of the xml file: [code] <XAxisCalib> <Max>288.93</Max> <Min>-48.08</Min> <MaxS>200</MaxS> <DfTHt>0</DfTHt> …

Member Avatar for caseyl89
0
1K

The End.