3,634 Topics

Member Avatar for
Member Avatar for btech_Saurabh

Hi Developers..... I have a Problem.... I have a XML file.....n I have to Read the Data from that XML file n Create a New File and the Data is in a Binary Format.....(All the code is in C# only) I have used the BinaryReader,BinaryWriter and BinaryFormatter but i can't …

Member Avatar for Diwakar Kumar
0
5K
Member Avatar for LucianAdamson

I've been through post after post after post for the last few hours trying to figure this out... im new to the XML parsing stuff so I am starting to get frustrated. Here is a sample of the XMl im trying to parse: <level id="1"> <prop n="PROPERTY" v="VALUE"/> </level> <level …

Member Avatar for LucianAdamson
0
286
Member Avatar for LucianAdamson

Hello all! Hopefully there is someone out there who can help me with what I need to achieve. Goal: Loop through XML file, reading node by node searching for a node with a specific attribute with a specific value, then write to another attribute of said node found. I feel …

Member Avatar for LucianAdamson
0
354
Member Avatar for marco.denhartog.5

Hello, I want to generate xml from this input xml: <?xml version="1.0" encoding="UTF-8"?> <document tifToPDF="no" procesDocId=""> <file name="" rendition="application/pdf" major="-1"> E:\Data\Import\ContentServer\IIC01_P9505_D121017_T023126_D0000001.pdf </file> <meta> <categories> <category name="Beschrijving"> <properties> <property name="Ketenproces"> <value>Incasso</value> </property> <property name="Bedrijfsfunctie"> <value>Productie</value> </property> <property name="Bedrijfsproces"> <value>Productie_Incasseren</value> </property> <property name="Werkproces"> <value>FA_Incasso</value> </property> <property name="Vertrouwelijkheid"> <value>vertrouwelijk</value> </property> <property name="Documentrichting"> <value>uitgaand</value> …

Member Avatar for marco.denhartog.5
0
159
Member Avatar for samsons17

Hi there, I have the xml file (HSBB_voice_20120925_0000000182.cdr.bc_lerr.xml) that contains data between tags that i want to extract. The sample data from the xml file that i have etracted is like below : ----------------------------------------------------------------------------------- <record record_no = "62" error_code="100">D20|000000063|56604960 071411E2 BC9D24B6 FDB63DEA|6088342010|0166662635|DEFAULT|1348579536|1348579538|3|0|IDD|Flat Rate <record record_no = "63" error_code="100">D20|000000064|7A257C4E 071411E2 BC9D24B6 …

Member Avatar for Watael
0
187
Member Avatar for salam786191
Member Avatar for G_Waddell
0
32
Member Avatar for shanki himanshu

what is the use of string.xml file in android? is it like defining global strings if we have multiple .java files in android application? correct me if i am wrong

Member Avatar for peter_budo
1
69
Member Avatar for ratanji

actually my task is to create 4 pages data submission form.. i want to store the first three pages data in browser and when i click the final submit button in 4th page 've to insert all the data at a time in mysql so how can i can anyone …

Member Avatar for arijith04
0
255
Member Avatar for kendaop

Hi everyone. I'm teaching myself Android and it's been nothing but trouble. I'm having difficulty even doing some of the simplest tasks. Anyways, I've created a login screen, and when the user presses "OK", I want to switch activities, but it's not working. Here're my Logcat erros: 10-26 10:24:23.779: E/Trace(952): …

Member Avatar for peter_budo
0
612
Member Avatar for ppstyle

Hi! I am looking for a Web Service from which a user can send SMS from his account to a number of his choice. The free ones on the net are not working. The way2sms ones are working but obviously they show the number of the registered way2sms account. I …

Member Avatar for aruhat
0
234
Member Avatar for chopstix21

I want to obtain a better xml file using some xslt and xml below. <?xml version="1.0" encoding="UTF-8"?> <Pallets><Pallet> <PalletNumber>2</PalletNumber> <Product>1</Product> <Quantity>2</Quantity> </Pallet> <Pallet> <PalletNumber>2</PalletNumber> <Product>1</Product> <Quantity>4</Quantity> </Pallet> <Pallet> <PalletNumber>2</PalletNumber> <Product>2</Product> <Quantity>1</Quantity> </Pallet> <Pallet> <PalletNumber>3</PalletNumber> <Product>1</Product> <Quantity>2</Quantity> </Pallet> <Pallet> <PalletNumber>4</PalletNumber> <Product>2</Product> <Quantity>2</Quantity> </Pallet></Pallets> I need to sum up quantity per pallet …

0
105
Member Avatar for smoothe19

Hope my explanation is clear.. Here are the XML elements <element name="LastTimeBuyDate" type="dateTime" nillable="true"/> <element name="LastTimeDeliveryDate" type="dateTime" nillable="true"/> What I am trying to do in XSLT is state that when the lasttimebuydate is empty to add the "nillable="true"" to the xml output... same thing for lasttimedeliovery date <cim:LastTimeBuyDate><xsl:value-of select="ecim:LAST_TIME_BUY_DATE"/></cim:LastTimeBuyDate> <cim:LastTimeDeliveryDate><xsl:value-of …

Member Avatar for smoothe19
0
157
Member Avatar for eantz

Hi.. I have an XML file like this <?xml version="1.0" encoding="UTF-8"?> <player> <user> <username>destiya</username> <password>destiya</password> </user> <user> <username>dian</username> <password>dian</password> </user> </player> then I want to parse it with javascript and here is my javascript code : function loadXML(path) { var xhttp; xhttp = new XMLHttpRequest(); xhttp.open("GET", path, false); xhttp.send(); return …

0
53
Member Avatar for suresh.xsltlist

Hi, Can someone help me on this. Really appreciated. **Requirement:** 1. To generate separate html files for each pal:fragment element, for the source document attached ,the files gets name based on @fragment-id which is present on the pal:fragment elements. 2. The <pal:fragment> can be nested, wrapped with<div> element. 3. The …

0
169
Member Avatar for sanjeewa.abeywardana

I would rather like to know any **recommened** cookbooks for **Web services in csharp or vb .net** .... Most of them in Java thats the issue for me..

Member Avatar for sanjeewa.abeywardana
0
158
Member Avatar for rexdon

On generating schema file for xml file using visual studio, i want to predefine datatype for xml schema. i.e if xml file is having an element <value>20<value> On generating schema, the datatype has to come'string' instead of default 'unsigned byte'

0
107
Member Avatar for jakub.peciak

Hi, I have a XML file: <?xml version="1.0" encoding="ISO-8859-1"?> <Report> <config repstarttime="" rependtime=""></config> <cashdrops></cashdrops> <cashsheets></cashsheets> <cspdata></cspdata> <fdremdata> <fdrementry ENTRYID=""></fdrementry> </fdremdata> <SHIFTDATA> <SHIFT_CD_Index ShiftSystemIndex="1" Shift_CD_Used="1" ></SHIFT_CD_Index> <SHIFT_CD_Index ShiftSystemIndex="2" Shift_CD_Used="1" ></SHIFT_CD_Index> <SHIFT_CD_Index ShiftSystemIndex="3" Shift_CD_Used="1" ></SHIFT_CD_Index> <SHIFT_CD_Index ShiftSystemIndex="4" Shift_CD_Used="1" ></SHIFT_CD_Index> </SHIFTDATA> <Order> <OrderHead filelocation="" filesuccess="TRUE" Attendant=""></OrderHead> <NFC1DATA nfc1count="0"></NFC1DATA> <PAYMENTDATA paymentcount="1"> <payentrydata id="1"></payentrydata> </PAYMENTDATA> …

Member Avatar for jakub.peciak
0
399
Member Avatar for rajilakshmi

I am creating a web application using php. I want to create a sitemap for my application. I dont know how to create that xml file and how to include in php. And also I want to know that, is it possible to check that in my localhost before upload …

Member Avatar for rajilakshmi
0
638
Member Avatar for devgud

Hi I need a general xslt to convert XML to JSONX My input is <Login> <Groups> <Group> <Name>john</Name> <Password/> </Group> <Group> <Name>john</Name> <Password/> </Group> </Groups> </Login> I need output as below <json:object xmlns:json="http://www.ibm.com/xmlns/prod/2009/jsonx"> <json:object name="Login"> <json:object name="Groups"> <json:array name="Group"> <json:object> <json:string name="Name">john</json:string> <json:null name="Password"/> </json:object> <json:object> <json:string name="Name">john</json:string> <json:null name="Password"/> …

0
58
Member Avatar for AmieCutie

I've been working on a CMS built using AJAX and PHP. Pretty much it saves everything to XML files. Everything is working perfectly except getting the root node's attributes to save. These are never brought in to edit, I don't want these visible in the CMS. So what happens when …

Member Avatar for AmieCutie
0
148
Member Avatar for Venter

Actually I'm having a form with 4pages At the 4th page i'had submit button.so i want to save the data of 1,2,3 pages in xml.wen i click on submit button in 4th page.i want to insert all 4 pages data in mysql.. Anyone help me Plzzz. Thanx In Advanceeeeee...........

Member Avatar for Mike Askew
0
67
Member Avatar for rexdon

on opening xml file with noepadd++ all fields are coming in a single line..Please help me to make it multiple lines <?xml version="1.0" encoding="utf-8"?><clsUserConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><PrjDescValues><string>PrjName</string><string>8</string><string>Project Name</string><string>Creator Name</string><string>Department Name</string><string>xxxxxxxxxxxx</string><string /><string> .</string><string> / /</string><string>CSConfigurator</string><string>ESP9</string></PrjDescValues><HarnessValues><string>HarnessTab</string><string>2</string><string>1044-02-00</string><string>00</string></HarnessValues><MRVRValues><string>MRVRTab</string><string>2</string><string>MR in CSIM</string><string>VR in CSIM</string></MRVRValues><ValvesValues><string>ValvesTab</string><string>13</string><string>LC06</string><string>EvFL</string><string>EvFR</string><string>EvRL</string><string>EvRR</string><string>AvFL</string><string>AvFR</string><string>AvRL</string><string>AvRR</string><string>USV1</string><string>USV2</string><string>HSV1</string><string>HSV2</string></ValvesValues><WssFLValues><string>DF11s</string><string>3</string><string>48</string><string>0.322447</string><string>50</string></WssFLValues><WssFRValues><string>DF11s</string><string>3</string><string>48</string><string>0.322447</string><string>50</string></WssFRValues><WssRLValues><string>DF11s</string><string>3</string><string>48</string><string>0.322447</string><string>50</string></WssRLValues><WssRRValues><string>DF11s</string><string>3</string><string>48</string><string>0.322447</string><string>50</string></WssRRValues><LampsValues><string>LampsTab</string><string>38</string><string>80.0</string><string>20.0</string><string>Active</string><string>Active</string><string>Active</string><string>Active</string><string>Active</string><string>Active</string><string>Active</string><string>Active</string><string>Active</string><string>Active</string><string>Active</string><string>Active</string><string>1</string><string>2</string><string>3</string><string>4</string><string>5</string><string>6</string><string>1</string><string>2</string><string>3</string><string>4</string><string>5</string><string>6</string><string>TCS</string><string>ABS</string><string>INFO</string><string>ESP</string><string>EBD</string><string>PALA</string><string>MFL</string><string>L1</string><string>L2</string><string>L3</string><string>L4</string><string>L5</string></LampsValues><SwitchesValues><string>SwitchesTab</string><string>30</string><string>Ubatt_R</string><string>Ubatt_R</string><string>Ubatt_R</string><string>Ubatt_R</string><string>Ubatt_R</string><string>Ubatt_R</string><string>GND</string><string>GND</string><string>GND</string><string>GND</string><string>GND</string><string>GND</string><string>GND</string><string>GND</string><string>GND</string><string>GND</string><string>GND</string><string>GND</string><string>Switch 1</string><string>Switch 2</string><string>Switch 3</string><string>Switch 4</string><string>Switch 5</string><string>Switch 6</string><string>True</string><string>True</string><string>True</string><string>True</string><string>True</string><string>True</string></SwitchesValues><PressureSensorFLValues><string>Not Used</string><string>0</string></PressureSensorFLValues><PressureSensorFRValues><string>Not Used</string><string>0</string></PressureSensorFRValues><PressureSensorRLValues><string>Not Used</string><string>0</string></PressureSensorRLValues><PressureSensorRRValues><string>Not Used</string><string>0</string></PressureSensorRRValues><PressureSensorMBCValues><string>Not Used</string><string>0</string></PressureSensorMBCValues><PressureSensorBC1Values><string>Not Used</string><string>0</string></PressureSensorBC1Values><PressureSensorBC2Values><string>Not Used</string><string>0</string></PressureSensorBC2Values><VacuumSensorValues><string>Not …

Member Avatar for Mike Askew
0
228
Member Avatar for rexdon

While opening my xml file for editting using notepad++,all the fields are coming in a single line. Please help me in making the correct format. <?xml version="1.0" encoding="utf-8"?><clsUserConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><PrjDescValues><string>PrjName</string><string>8</string><string>Project Name</string><string>Creator Name</string><string>Department Name</string><string>xxxxxxxxxxxx</string><string /><string> .</string><string> / /</string><string>CSConfigurator</string><string>ESP9</string></PrjDescValues><HarnessValues><string>HarnessTab</string><string>2</string><string>1044-02-00</string><string>00</string></HarnessValues><MRVRValues><string>MRVRTab</string><string>2</string><string>MR in CSIM</string><string>VR in CSIM</string></MRVRValues><ValvesValues><string>ValvesTab</string><string>13</string><string>LC06</string><string>EvFL</string><string>EvFR</string><string>EvRL</string><string>EvRR</string><string>AvFL</string><string>AvFR</string><string>AvRL</string><string>AvRR</string><string>USV1</string><string>USV2</string><string>HSV1</string><string>HSV2</string></ValvesValues><WssFLValues><string>DF11s</string><string>3</string><string>48</string><string>0.322447</string><string>50</string></WssFLValues><WssFRValues><string>DF11s</string><string>3</string><string>48</string><string>0.322447</string><string>50</string></WssFRValues><WssRLValues><string>DF11s</string><string>3</string><string>48</string><string>0.322447</string><string>50</string></WssRLValues><WssRRValues><string>DF11s</string><string>3</string><string>48</string><string>0.322447</string><string>50</string></WssRRValues><LampsValues><string>LampsTab</string><string>38</string><string>80.0</string><string>20.0</string><string>Active</string><string>Active</string><string>Active</string><string>Active</string><string>Active</string><string>Active</string><string>Active</string><string>Active</string><string>Active</string><string>Active</string><string>Active</string><string>Active</string><string>1</string><string>2</string><string>3</string><string>4</string><string>5</string><string>6</string><string>1</string><string>2</string><string>3</string><string>4</string><string>5</string><string>6</string><string>TCS</string><string>ABS</string><string>INFO</string><string>ESP</string><string>EBD</string><string>PALA</string><string>MFL</string><string>L1</string><string>L2</string><string>L3</string><string>L4</string><string>L5</string></LampsValues><SwitchesValues><string>SwitchesTab</string><string>30</string><string>Ubatt_R</string><string>Ubatt_R</string><string>Ubatt_R</string><string>Ubatt_R</string><string>Ubatt_R</string><string>Ubatt_R</string><string>GND</string><string>GND</string><string>GND</string><string>GND</string><string>GND</string><string>GND</string><string>GND</string><string>GND</string><string>GND</string><string>GND</string><string>GND</string><string>GND</string><string>Switch 1</string><string>Switch 2</string><string>Switch 3</string><string>Switch 4</string><string>Switch 5</string><string>Switch 6</string><string>True</string><string>True</string><string>True</string><string>True</string><string>True</string><string>True</string></SwitchesValues><PressureSensorFLValues><string>Not Used</string><string>0</string></PressureSensorFLValues><PressureSensorFRValues><string>Not Used</string><string>0</string></PressureSensorFRValues><PressureSensorRLValues><string>Not Used</string><string>0</string></PressureSensorRLValues><PressureSensorRRValues><string>Not …

Member Avatar for amy2389
0
182
Member Avatar for varma51

gud morning frends i need ur valuable reply..here is my xml data i want to display dis data in the html table..so i need html code for to display dis data in the form of table.. [xml code] <?xml version="1.0" encoding="ISO-8859-1"?> <!-- Edited by XMLSpy® --> <?xml-stylesheet type="text/html" href="j.html"?> <catalogs> …

Member Avatar for varma51
0
261
Member Avatar for lokesh.r.kandula

Hi, I have some requirement which is explained below. The input XML is something like: <item> <body> <blocks> <block> <userDefinedFields> <userDefinedField> <fieldLabel>KOBAR</fieldLabel> <fieldDisplayLabel>Global KO</fieldDisplayLabel> <fieldValue>0</fieldValue> <fieldType>numeric</fieldType> </userDefinedField> <userDefinedField> <fieldLabel>KIBAR</fieldLabel> <fieldDisplayLabel>Global KI</fieldDisplayLabel> <fieldValue>50</fieldValue> <fieldType>numeric</fieldType> </userDefinedField> <userDefinedField> <fieldLabel>BSWP</fieldLabel> <fieldDisplayLabel>Global SW</fieldDisplayLabel> <fieldValue>1</fieldValue> <fieldType>integer</fieldType> </userDefinedField> </userDefinedFields> <otherFields> <otherField/> </otherFields> <userDefinedFields> <userDefinedField> <fieldLabel>EXCLN</fieldLabel> <fieldDisplayLabel>Exclude N</fieldDisplayLabel> …

Member Avatar for lokesh.r.kandula
0
159
Member Avatar for ditty

Can any one give me a description of 'shopping feed'. Actually what it means?

Member Avatar for pritaeas
0
105
Member Avatar for Priti_P

Hi, I have a doubt as if i have a "xml format" text message in my email body then how can i cobert it into an array so that i can fetch each node form it for example: my email body containts xml format: <?xml version="1.0" ?> <candidate> <name>Superduper automation</name> …

Member Avatar for Priti_P
0
2K
Member Avatar for hwoarang69

i am useing java xml to make android apps. in my xml file i have a 2 edittext where user will enter 2 numbers. <EditText android:id="@+id/ET_FIRST" android:layout_width="300dp" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:layout_marginTop="50dp" android:hint="Enter 1st number hint" android:inputType="numberDecimal" android:textColor="#ffffff" android:textSize="25dp" android:textStyle="bold" /> <EditText android:id="@+id/ET_SECOND" android:layout_width="300dp" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:layout_marginTop="100dp" android:hint="Enter 2nd number hint" android:inputType="numberDecimal" …

Member Avatar for Wisestepp
0
269
Member Avatar for zido85

Hi,i have an xml files that looks like this [code] <?xml version="1.0" encoding="utf-8"?> <photogallery ID="8" name="Residential"> <album ID="5" name="Leb" photogallery="Residential" date="29/10/2008" location="Lebanon" architecture="Roman" img="thumbnail_1245677486.jpg"> <picture ID="Leb" path="thumbnail_1245670921"/> </album> <album ID="6" name="Leb" photogallery="Residential" date="29/10/2008" location="Lebanon" architecture="Roman" img="thumbnail_1245677486.jpg"/> <picture ID="Leb" path="thumbnail_1245670921"/> <picture ID="Leb" path="thumbnail_1245670921"/> </album> <album ID="7" name="Leb" photogallery="Residential" date="29/10/2008" location="Lebanon" architecture="Roman"/> …

Member Avatar for redblue35
0
3K
Member Avatar for hwoarang69

i am trying to play music when my app start but this line is giving me a error. on 'res'. so i have a project called ANDROID_01 ANDROID_01 > res > sound ourSong = MediaPlayer.create(Splash.this, R.res.sound.intro); my folder tree ANDROID_01 assets bin gen libs res drawable layout menu sound intro.mp3 …

0
66

The End.