1,599 Topics
| |
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] | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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', … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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] … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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> … | |
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 … | |
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 … | |
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 … | |
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 … |
The End.