1,599 Topics

Member Avatar for
Member Avatar for Nitin Daphale

I am getting that exception('Chart:' undeclared namespace) on executing the code [CODE] xmlString =" <Chart:Bullet values='100,200' size='100x20' shading='5' >"; XmlDocument doc = new System.Xml.XmlDocument(); doc.LoadXml(xmlString); [/CODE]

Member Avatar for hielo
0
90
Member Avatar for katmai539

Hello, i'm working on a xml-style format protocol for question-and-answer applications. The concept is simple: there are just a few types answers possible (just like in real life): open answers which are entered as strings, numeric answers as integers, multiple choice answers and ratings (which are just numeric integers, really, …

0
220
Member Avatar for aplh_ucsc

Hi. I'm new to xml. This is my sample codes. [CODE]<!-- library1.xml --> <?xml version="1.0" encoding="utf-8"?> <?xml-stylesheet type="text/xsl" href="library.xsl"?> <lib> <book> <name>Modern Operating System</name> <author>Andrew S. Tanenbaum</author> <edition>3rd Edition</edition> <price>1500</price> <ISBN>978-81-203-3904-1</ISBN> </book> <book> <name>PHP and MySQL Web Development</name> <author>Luke Welling and Laura Thomson</author> <edition>4th Edition</edition> <price>1200</price> <ISBN>672-32672-8</ISBN> </book> <book> <name>Rapid …

Member Avatar for iceandrews
0
128
Member Avatar for computerbear

Hello, Class assignment, I get partway there, but borders do not show up. We have text files we turn into XML and css by inserting some prefixes and namespaces, etc. Each listing under an agent should be in its own box with a border. I just get long paragraphs after …

Member Avatar for computerbear
0
160
Member Avatar for fraenckel

I'm setting up a validation xml file for a struts2 based web app. I'm getting an error when the file (CustomerAction-validator.xml) is loaded. At the top of the xml file, I have the following [CODE]<!DOCTYPE validators PUBLIC "-//OpenSymphony Group//XWork Validator 1.0.2//EN" [B]"http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd"[/B]>[/CODE] The Tomcat error I get(I can't easily cut …

0
84
Member Avatar for athlon32

Hello Daniweb, I'm currently working on a pretty straight-forward AJAX application. In this application, I get some XML, and then parse it. An example of what I'm working with is as such: [code] <?xml version="1.0"?> <postRoot xml:lang="EN"> <post type="comment" date="January 1, 1970"> <user>athlon32</user> <content>Hello World</content> </post> </postRoot> [/code] Now, I've …

Member Avatar for @developer
0
89
Member Avatar for ragunathan46

How to use send requist to url and How to get responce from url in XML format (send and response both format XML) and iam using PB9.0 and PB 10

0
48
Member Avatar for ibdatx

Hi, I have a question regarding navigating to a listbox item in C#. I have written code which populates a listbox from an xml file in xaml (thus bound to it). However I want to navigate to the selected item in the listbox using code in c#. I can navigate …

Member Avatar for ibdatx
0
277
Member Avatar for faintfascinatio

I have an xml file, structure like so: [CODE] <people> <person.1> <fname>brian</fname> <lname>smith</lname> </person.1> <person.11> <fname>joe</fname> <lname>carey</lname> </person.11> </people> [/CODE] I am using openxml to read this file and insert names (and other person information) into a table. [CODE] DECLARE @person xml, @idoc int EXEC sp_xml_preparedocument @idoc OUTPUT, @person INSERT …

Member Avatar for faintfascinatio
0
143
Member Avatar for ilyaz

Suppose I have the following collection of "word" elements: [CODE] <word> <id>1</id> <text>My</text> </word> <word> <id>2</id> <text>name</text> </word> <word> <id>3</id> <text>is</text> </word> <word> <id>4</id> <text>Joe</text> </word> [/CODE] Given an integer ID value, in order to find the corresponding TEXT, I can do this: [CODE] <xsl:key name="word-by-id" match="word" use="id"/> return key('word-by-id', …

Member Avatar for fpmurphy
0
137
Member Avatar for ilyaz

I have the following segment inside my XSLT transform: [CODE] <property name="Value"><xsl:value-of select="for $index in ...[/CODE] msxsl.exe produces the following error: [I]Code: 0x80004005 Expected token 'EOF' found '$'. for -->$<--index in ...[/I] Is this a syntax error? The code before the shown segment seems to be fine. What am I …

Member Avatar for iceandrews
0
117
Member Avatar for Ossehaas

Ok here is the problem, I got a 2 column page and I need the background color of a fo:block-container to flow like this: 1. Left column: left side page to center page 2. Right column: center page to right side page 3. Top: where block-container starts 3. Bottom: bottom …

Member Avatar for Ossehaas
0
513
Member Avatar for jaango123

Hi all, [code=xml]<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ABC="http://www.ABCSPGM.DSUPFREQ.Request.com"> <soapenv:Header> <ABC:ABCSHeader> <ID>xyz</ID> <ConsumerTransactionId>5667</ConsumerTransactionId> </ABC:ABCSHeader> </soapenv:Header> <soapenv:Body> <ABC:ABCSPGMOperation> <ABC:req> <ABC:plastic_number>1234</ABC:plastic_number> </ABC:req> </ABC:ABCSPGMOperation> </soapenv:Body> </soapenv:Envelope>[/code] The above is my input passed by the client. How can I extract the values within the tag 'ID','ConsumerTransactionId' and 'ABC:plastic_number' using simple xpath expressions. I know that if we give …

Member Avatar for iceandrews
0
100
Member Avatar for ChaosKnight11

Hi there, I have started working on a new C# app which will be installed directly onto our customers' computers to access our services remotely. I'm still in the phase of planning how everything will fit together. I normally use PostgreSQL for our back-end database needs, but I can't think …

Member Avatar for sachintha81
0
194
Member Avatar for sajohnson05

I need help trying to get the majors "CSAT" and "ISAS" into the Majors/Concentration column and then have the corresponding course numbers with commas. Any Help XML Code [code]<?xml version="1.0"?> <!-- coursinfo.xml, uses three XSLT stlyesheets to create the desired view of the data ITEC 325 - assignment --> <?xml-stylesheet …

Member Avatar for sajohnson05
0
185
Member Avatar for bangaram9

need an xslt for a collection control that produces the below: <ul> <li>{quicklink}</li> <li>{quicklink}</li> <li>{quicklink}</li> <li>{quicklink}</li> <li>{quicklink}</li> <li>{quicklink}</li> <li>{quicklink}</li> <li>{quicklink}</li> </ul> <ul> <li>{quicklink}</li> <li>{quicklink}</li> <li>{quicklink}</li> <li>{quicklink}</li> <li>{quicklink}</li> <li>{quicklink}</li> <li>{quicklink}</li> <li>{quicklink}</li> </ul> The key here is to have a count on the items. After the 7th item, it needs to start …

Member Avatar for iceandrews
0
82
Member Avatar for newuser17

I want to store data that user inputs [form based in form of xml] into a postgres database, so I would like to know is it wise to develop a web service or how do I transfer data. I am completely clueless how to head on with the problem

0
130
Member Avatar for Mexxman

Hi to all. Please help me add xml file to jquery slider. I want to show image from xml file. For example I have Nivo slider because they have a good transition effect. I'm a noob in Javascript and because I here. And xml file should look like this: [CODE] …

Member Avatar for naive_kumar
0
94
Member Avatar for weloki

I'm using XSLT to try to grab content from an html page. I want to select all the <p> tags but exclude all the <li> tags. There is one page where the li tags are not within any of the p tags. For this page, how can I select all …

Member Avatar for weloki
0
68
Member Avatar for sri.k

Hi all, This is sri. I've done some program to read xml elements in java.But i didnt get them in a structured way like root element and its name and child elements and their names.I am getting end tag names after tag value also.so pls help me in getting elements …

Member Avatar for sri.k
0
165
Member Avatar for TheBrenda

What to create XPath(s) that I can can use in a FOR loop to retrieve each of the <app> and <coapp> fname & mname. Want my result to be "1 - Danny L", "2 - Wendy R", "3 - Brenda", "4 - Tim G". I have played with this XPath …

Member Avatar for iceandrews
0
330
Member Avatar for niki_97

Hi all, I've been trying to use a lookup table in order to find a text prompt according to the key(@name) that is retrieved from the source xml. Here follows snippets of my xml and xsl. It all looks to be correct, but it's not displaying the prompt text... I …

Member Avatar for iceandrews
0
688
Member Avatar for ceyesuma

Hello. Can anyone bring me up to speed to use XML to manage adding and removing tabs from a JTabbedPane? I am adding tabs and I Would like some code or links that could show me how to serialize any changes I make to a JTabbedPane. Thanks

Member Avatar for ceyesuma
0
132
Member Avatar for tomccabe

I have an XML file like such: [CODE]<spice> <sections> <contact></contact> <products></products> <people></people> <homes></homes> <harvest></harvest> <contactCopy> <banners><![CDATA[Lots of <u>text</u> with tons of <a href="#">links</a> and <i>other</i> markup.]]></banners> </contactCopy> <homesCopy> <banners><![CDATA[Lots of <u>text</u> with tons of <a href="#">links</a> and <i>other</i> markup.]]></banners> </homesCopy> <productsCopy> <banners><![CDATA[Lots of <u>text</u> with tons of <a href="#">links</a> and …

Member Avatar for hielo
0
290
Member Avatar for sri.k

Hi this is sri and i am new to java.Here is a xml file. My task is to parse all the xml elements in java without using any parser like dom,sax. So pls help me[U] how to parse xml elements without parsers[/U].I have to get same out put as when …

Member Avatar for sri.k
0
193
Member Avatar for achava

This one ought to be extremely easy for experienced xslt-ers. I have an html file, and in it are things like <div class="ghoul"></div> <div class="vampire></div> and so on. In my stylesheet, I have different things to do with the div's depending on the class. So I have <xsl:template match="div"> <xsl:choose> …

Member Avatar for achava
0
535
Member Avatar for mikemoser

Hi All, I am trying to create an XML file that saves email addresses and files. This would then be read by another application and will send the emails and attach the files to the email. I am using the OpenFileDialog to get the file path and name. But when …

Member Avatar for mikemoser
0
514
Member Avatar for ibdatx

Hi, I have a WPF program written in C# that updates an Xml file from a textbox when a submit button is clicked. The code works as I can tell that the xml file is updated after the execution of the program, however I would like the update in real …

0
75
Member Avatar for David_B

Hi All, New here and very new to .Net. I am currently trying to learn about consuming web services within .net and am having trouble with the following example. I have the WSDL file to contact a vehicle look up web service which based on the selection in a drop …

0
86
Member Avatar for NewbieProgram

I need to select attributes from my XML file and output the info into a table using XSL, need to output day name, instructor and class being taught, the problem is that I have multiple attirubtes within each group. my XML: <?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="g4.xsl"?> <schedule> <student_info> Vitaliy Berkovich …

Member Avatar for NewbieProgram
0
2K

The End.