3,634 Topics

Member Avatar for
Member Avatar for ppetree

Hey All! I'm having trouble getting the nodeValue of a specific set of nodes. The xml looks like this: [ICODE] <root> <SpecialParameter>Some Text</SpecialParameter> <SpecialInfo someNumber="123456789"></SpecialInfo> <book> <title>Rusty Bedsprings</title> <author>I. P. Knightly</title> </book> <book> <title>Rush To The Out House</title> <author>Willie Makeit</title> </book> </root> [/ICODE] What I need to get are the …

Member Avatar for iamthwee
0
191
Member Avatar for CSharpUser

First, I want to admit I am totally new at Linq queries. Your help and patience are GREATLY appreciated! I am trying to perform a query on a loaded XML document with the code below, but no matter what I try, I continually get an unhandled NullReferenceException error: [CODE] XDocument …

Member Avatar for CSharpUser
0
435
Member Avatar for klemme

I have this bit which I have actually only tried in Google Chrome, but it works finte there: Im using ajax to get data from the Db, when popuating one select list based on whats selected from another: But in Internet Explorer 9, it doesnt work: [CODE] // JavaScript Document …

Member Avatar for blocblue
0
197
Member Avatar for kadriirdak

Hi There, I have an XML file and I list them by check boxes, categorized by their parent (branch). After selection of the check box, I take them and give the values `$branch`(only one at a time) and `$roles`(can be many eg. SBP|BNA) to web services. And run this web …

Member Avatar for kadriirdak
0
83
Member Avatar for hervens

Hello, I have the current sample xml document below: [CODE]<Units> <category name="Temp"> <unit id="0"> <unit_name>celcius</unit_name> <fromFormula>inFrom0</fromFormula> <-- need this value <toFormula>inTo0</toFormula> </unit> <unit id="1"> <unit_name>fahrenheit</unit_name> <fromFormula>inFrom1</fromFormula> <toFormula>inTo1</toFormula> </unit> </category> <category name="Length"> <unit id="0"> <unit_name>feet</unit_name> <fromFormula>InLengthFrom</fromFormula> <toFormula>inLenghTo</toFormula> </unit> </category> </Units>[/CODE] Now, I am trying to retrieve the value "inFrom0" from the …

0
55
Member Avatar for noobprogrammer

Hi everyone, i was given a book.xml file which contains all the title,author of the books. Here's how it looks like. <?xml version="1.0" ?> <Books> <Item> <BookID>A001</BookID> <Title>A Tale of Two Cities</Title> <Author>Charles Dickens</Author> <Language>English</Language> <Year>1859</Year> <Quantity>5</Quantity> </Item> <Item> <BookID>A002</BookID> <Title>The Lord of the Rings</Title> <Author>J. R. R. Tolkien</Author> <Language>English</Language> …

Member Avatar for Gribouillis
0
148
Member Avatar for noobprogrammer

Hi everyone here, Can someone please guide me in transforming XML-to-SQL output with Python? I need to create 2 tables (Books and Patrons) into SQL. How much i suppose to start with??? <?xml version="1.0" ?> <Books> <Item> <BookID>A001</BookID> <Title>A Tale of Two Cities</Title> <Author>Charles Dickens</Author> <Language>English</Language> <Year>1859</Year> <Quantity>5</Quantity> </Item> <Item> …

0
72
Member Avatar for Munnazz

HI, I have a DataSet which returns three rows say A,B,C. Data will be in the Following format. A B C 1 5 9 2 6 10 3 7 11 4 8 12 Now i want to convert this into xml in the below mentioned format.. [code=xml] <chart showValues='0' caption='Cost …

Member Avatar for Mitja Bonca
0
184
Member Avatar for jeraldmuthu

Sorry **How to add image in pdf header.** i get the image url in String. String Image = request.getContextPath() + "/pdf.gif"; parameters.put("pageHeaderText", Image); i passed to the xsl <xsl:value-of select="$pageHeaderText"/> but the after generating pdf the url path of Image i get into the string displaying(not Image) in the header …

0
104
Member Avatar for ChaseRLewis

Well I've been following the rapidxml sparse documentation but I'm getting confused because I'm getting an error saying "expected =" when I call parse<0>(char* c). Messy code I know, but trying to figure out how to use this api I'm new with. Loading Code [CODE]bool Shader::Load(const char* path) { std::ifstream …

0
91
Member Avatar for rkchowdary

help needed to output a comma separated ASCII file from an incoming xml file using xslt. Below Listed are the input and output. I am struck on defining the template to read each character from the input xml file. Any help is highly appreciated... [B]INPUT:[/B] <DST xml:lang="en-US"> <jobName version="1.0">SRVAuthenticate</jobName> <trace>0</trace> …

Member Avatar for pritaeas
0
256
Member Avatar for GabrielZiden

Hallo there. I have the following XML [CODE]<coordenadoria> <disciplina class="X" cod="AM123"> ...blablabla </disciplina> <disciplina class="X" cod="AM123"> ...blablabla </disciplina> </coordenadoria>[/CODE] Now, i have two kinds of 'selecs' i can do. I can choose a Discipline by its Cod, or its Cod+Class. using the following code, i can choose its Cod only. …

Member Avatar for dknochen
0
178
Member Avatar for manish250

hi all, i have developed a web service(https based) client which is running on my 4 servers.i am facing a issue on a server like this. javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target while client on all other 3 server is …

0
157
Member Avatar for zigpy_siva

Hi, we are using the XML Template of MS Word, and trying to use XPath(in a tool not code, but the same is not working in code also) to read the data from the xml file. attached the sample code, xml file and the XSD used to generate the word …

0
103
Member Avatar for rayidi

Dear Friends, Am trying to builing a social networking site that user can post his update on profile text bat. Once we click on the share button the text field value will pass to the function of xmlHTTP request, but here is not passing a value. Please help me. I …

0
113
Member Avatar for Stew007

A simple thing to do but I have a brain blockage this morning and would like some help. I have the following XML... <IntegrationMessage> <RoutingSlip> <NewMessageType> <Market> </Market> </NewMessageType> </RoutingSlip> <XML> <NewFile> ----- ----- I want to extract off using XSLT everything under the XML node so I am left …

Member Avatar for mmmathur06
0
111
Member Avatar for youvi

how can i create an xml file of datas in a database??see actually i have a database "data" and 3 tables named "gold","silver","normal".These three tables contains a lot of records as well...i just want the code to generate the xml file of the database "data". i want to retrieve the …

Member Avatar for vibhaJ
0
63
Member Avatar for knan

<text> <p><s id="s1"><ng><w pws="yes" id="w1" p="CD">25</w> <w l="woman" pws="yes" id="w4" p="NNP" common="true" headn="yes">Woman</w></ng> <vg tense="past" voice="act" asp="simple" modal="no"><w l="create" pws="yes" id="w10" p="VBD" headv="yes">created</w></vg> <pg><w pws="yes" id="w18" p="IN">for</w></pg> <ng><w vstem="succeed" l="success" pws="yes" id="w22" p="NN" headn="yes">success</w> <w l="barbie" pws="yes" id="w30" p="NN" headn="yes">barbie</w></ng> <ng><enamex type="location"><w l="reynold" pws="yes" id="w37" p="NNP" locname="single">Reynolds</w></enamex> <w l="sep" pws="yes" …

Member Avatar for snippsat
0
221
Member Avatar for hatebin

Hello Im trying to code something like this [CODE] public class Decoding{ Decoding(InputStream in) //constructor Object obj = new XMLDecoder(in) } } [/CODE] [CODE] public class Test{ public static main(String[] args0){ JButton button = new JButton(); decoder = new Decoding(new FileInputStream("somtheing.xml")); button= decoder } } [/CODE] So as you see …

Member Avatar for hatebin
0
112
Member Avatar for desbest

[B]How do I get the value of a node with XPath?[/B] Get all nodes which have a price above 35 [COLOR="Green"]/bookstore/book[price>35.00][/COLOR] But when I change the > to an = for equals, the query fails. Please help. By the way I'm using php, but that shouldn't matter as XPath is …

Member Avatar for pritaeas
0
169
Member Avatar for chamnab

can i write XML with JAVA ? if can ,can anyone tell me what book should i read ?

Member Avatar for peter_budo
0
145
Member Avatar for shannonkr

I'm trying to create an xsd dictionary for some data migrations, I don't fully understand how to format xsd:pattern values correctly, I was wondering if anyone had any ideas. I have some values that were done already: <xsd:pattern value="[a-zA-Z]{1}([#-. a-zA-Z0-9]*)"/> <xsd:pattern value="([ a-zA-Z0-9]*)"/> But I don't know how to manipulate …

Member Avatar for nmaillet
0
184
Member Avatar for michael!
Member Avatar for sacarias40

is there an existing api for a postal code system? for example, you are at a gas stations website, and you want to find a station nearest you. so you type in your postal code and it returns the result.\ thanks.

Member Avatar for gcornejo
0
98
Member Avatar for sam230

I am making a project where when you select a city, you will get all the hotels on google map as markers.. now i got two options whether make an external xml file for all the hotels and read that file.. or get result for database.. so friends what you …

Member Avatar for jkon
0
145
Member Avatar for vaanipala

Hi, I'm getting the following error when i try to get the next sibling of the current node in php: Fatal error: Call to undefined method DOMElement::next_sibling() in C:\wamp\www\Ajax\getcd.php on line 1 does anyone know on what i'm doing wrong? thank you. cd_catalog.xml [CODE]<CATALOG> <CD> <TITLE>Empire Burlesque</TITLE> <ARTIST>Bob Dylan</ARTIST> <COUNTRY>USA</COUNTRY> …

Member Avatar for hielo
0
153
Member Avatar for manu555

xml file [CODE] <?xml version="1.0"?> <tiltviewergallery> <photos> <photo id="10" imageurl="images/logo/cb0dc425946c764543897decab7cca56.jpg" linkurl="gallery.php?id=2&amp;gid=10"><title>ascsaas</title><description>sacsac</description></photo> <photo id="11" imageurl="images/logo/1896949a52b7685ebec8bc01862d6d68.jpg" linkurl="gallery.php?id=5&amp;gid=14"><title>sssa</title><description>sassa</description></photo> </photos> </tiltviewergallery> [/CODE] php code [CODE] $sql = "SELECT `id` FROM `galleryimg` WHERE `id`=$id"; $result = dbQuery($sql); $row = dbFetchAssoc($result); //$linkurl = 'gallery.php?id='.$row['id']; //$imageurl = 'imgs/'.$catImage; global $srvRoot; if (file_exists($srvRoot.'gallery.xml')) { $tiltviewergallery = simplexml_load_file($srvRoot.'gallery.xml'); foreach($tiltviewergallery->photos->photo …

0
67
Member Avatar for Dean_Grobler

Hello there, I'm busy working on a project using GWT and Sencha GXT libraries. I have come to this stage that I now have to populate a tree with data received from an XML file... I have no idea how to do this, I've gone through the javaDocs but it …

Member Avatar for RicardoE
0
176
Member Avatar for varoluscu_prens

Hi there; There is a problem in my code. I've designed a web site that reads and querying over a XML file. Here is my XML file structure: <?xml version="1.0" encoding="utf8"?> <Root> <User> <name> ayça <name> <surname> demir <name> <department> ftr </department> <TCIdno secrecy="c">48622845695</TCIdno> <rank> tuğgeneral </rank> <telNo> 2114 </telNo> …

Member Avatar for Mad4Mini
0
151
Member Avatar for bibiki

Hey there, seems like this part of DaniWeb is not as active as other parts, but in hope I get an answer, I'm asking. I have this xml file: [CODE] <?xml version="1.0" encoding="ISO-8859-1"?> <?xml-stylesheet type="text/xsl" href="site.xsl"?> <navigation> <link> <name>About</name> <content></content> <target>www.google.com</target> </link> <link> <name>Friends</name> <content></content> <target>www.google.com</target> </link> <link> <name>Archive</name> <content></content> …

Member Avatar for bibiki
0
144

The End.