Main Topics
Browse All Topics how to write the following format of feed Request in asp.net
How do I get the employee list from below XML
<?xml version="1.0" encoding="utf-8"?>
<Employee>
<Some_XML_1 />
<Some_XML_2 />
<EmployeeList>
<id>1</id>
<name>abc</name>
</EmployeeList>
<EmployeeList>
<id>2</id>
...
Hi, i have a problem, and the problem is that i cant read the contents of the <content:encoded> from a xml.
If i could have any insight about he matter i would be very thankful.
Here is the current code:
I want to access the feed at
http://feeds.feedburner.co
and write valid raw xml file locally with php
Thank you for any guidance you can offer ;-)
Hello,
I'm looking for some tips and direction for making a web service that I will call with JSON.
I have some XML data that I would ultimately like to call from a server using JSON.
How can I get from | XML --> .ASPX --> JSON --> APP |...
Are there are any open source libraries which make it easy to create/update powerpoint files using open xml?
I am looking for something similar to EPPlus which is library to work with excel files using open xml.
I type text into shapes in Visio drawings derived from Templates. Now I want to add automation, by importing text automatically from various third party XMLs. Can I and ought I import the data fields of the 3rd party into MSOffice XML derived...
Hi All,
I get this as first line in RSS feed and it gives error
¿<?xml version="1.0" encoding="utf-8"?>
Do I need to replace ¿ with empty string before reading?
An error occurred while retrieving the RSS feed.
Complete database...
Hi
I am writing an import utility for our software that can read in the XML files produced by MS Project 2003, 2007 and 2010.
I am writing this in Java using Apache XMLBeans to turn the XSD schemas into Java classes that will parse the...
i am using
http://www.ibm.com/develop
listing number 5
i have it working well
im trying to get the end times now and im having problems its showing dec 69 dates for end time i guess its not reading the...
I have a complex xml file that I am parsing to load into db tables. I have attached one of the xml files for viewing. I am currently working on the FuelLine data. I want to number the fuelLine for each one in a //SaleEvent. So the first...
I've worked with tab and comma-delimited data but never XML data files.
Where would you see XML used?
Are there applications that are particularly XML-friendly?
Are there industries that prefer XML?
Perhaps particular web sites?
I am trying to do a 301 redirect through the web.config file of our website... the URL i am permanently redirecting is a little funky, so that is why I am getting the following error, but can anyone please look at the error and see if there is a...
Hi, I have xml file something like this
<shop>
<fruit="apple" cost="20" />
<fruit="orange" cost="30" />
<fruit="mango" cost="50" />
<vegetable="tamoto" cost="10" />
<vegetable="potato" cost="15" />
<fruit="curly flower"...
Our company receives an XML file from another company and we pull bits of information out of it using XPath queries. The format of the XML file is fixed by the software that the outside company is using and we cannot change it. Here is a...
Hello everybody, im trying to serialize a class and everything works as expected, however, the empty string properties are being serialized like this:
<Element />
and i need it to be like this:
<Element></Element>
I saw that using the...
I have a soap call that returns xml data in a single array. I need to figure out how to convert this data to a query format, so I can work with the individual columns and rows of data.
Here is a link to see the dump of the data: ...
I'm new to using xsl and wonder if someone could help me with something quite urgent.
I have attached the code, which generates a list of student coures, assigning a css class depending on what teamcode it is, S44, S45 etc.
However, the...
My xml loader is complaining about an invalid character as "Invalid character in the given encoding. Line 39, position 31." I could not find this character and dont know how to fix it? Any ideas thanks
Hi experts,
I have this XML, which I am not allowed to change. My question is how to use LINQ and select the name,phone,key2 and val2 from this XML?
<Root>
<OrganisationList>
<Organization>
<Name>xxx</Name>
...
I am new to web development, and I am considering using the ASP .NET XML Serializer control and I plan on placing the data from a big data entity into a BLOB or long string column within a SQL Server Database to temporarily store the entity that...
Hi,
I want to write some xpath that queries the event document below.
Here is my pseudo code
Give me all the Event/EventData/Data WHERE Event/Provider[@Name = "MYWCF Service" AND WHERE Event/TimeCreated[@SystemT
I'm currently working on converting my android app over to using MTOM. I figured it couldn't possibly be that difficult, just grab a working packet sent from my c# client and replace the data with my own. I also already have a working basic SOAP...
Hi
I don't use flash very often, but I have a client who needs me to update his website and it is flash based, with xml as a flat 'database'...
Some of the content has apostrophes in it, which are being displayed as
'
is there a...
I am trying to parse a Geocode XML Response. I can reference individual elements using something like this:
But how do I reference the attributes array contained in ExtendedData. What would be the best way to iterate over this array and...
I have some xml that I wish to transform, the transformation is dependant upon the
xsi:schemaLocation="http:/
or
xsi:schemaLocation="http:/
I have an SSIS agent which I saved as an SQL server package. I set the package protection level to ServerStorage.
Problem is when I run the agent via SQL Management studio it fails at the first step (the agent:
Failed to acquire connection...
I am working on an xhtml assignment. I am absolutely lost. Don't know much about Javascript. The instructor is difficult to get hold of at best. I've done what I can, but it doesn't work. I've found a finished copy online that does work...but...
The code above attempts to read link tags from an xml file and display them one by one. First problem is that the code reads all link tags, even tags that are not child of the same parent. I would want to read link tags only from a specific...
I have a joomla site. I have installed JCrawler to auto-build my sitemap.
It returns only one link when my site has over100 pages.
Presently, the pages are being called like index.php/some-page-name.
Why is jCrawler returning only 1 link?
Is there an automatic parsing and processing of XML Available in Oracle..
I am aware of using DBMS_XMLPARSER and XMLDOM Api's to navigate through each node of XML using these api's using extract functions..
Was wondering, is there a way...
I have this C# statement looking for "Author" in some XML using XPath.
The problem is, "Author" doesn't exist in the XML, and is causing the program to crash. How do I tell if "Author" exists before I start processing it?
Hi All,
I've got a ~300Mb XML file with an error in its structure somewhere. Importing into Access, through menu or the VBA equiv, just says no ('Illegal qualified name character'). How can I find the error? I just need to parse it until I...
Hi,
I have XML documents that are using a subset, e.g. 90% of all the elements available in some official, industry schema (cannot be modified). The business requirements for the project excludes about, say, 100 fields from this schema. What...
Hello all,
William Hill has kindly offer their football odds in a nice little XML file. I would love to be able to take the file and copy the data from the XML file to a MySQL database using PHP. Bets do not have the same amount of potential...
Exporting data from our database to Excel using CF8 using <cfsetting showdebugoutput="false">
<cfheader name="content-disposition"
<cfcontent type="application/msexcel"
And then generating XML....
Hello I have to write a snippet of code that filters out certain values of a parameter on a querystring being passed.
Something like an if statement that says:
if this value of the parameter gets passed, please show this graphic to the end...
Hi
Is there a recommened approach to applying an XSLT transformation against an HTML document ?
I would like to take an HTML input and produce some XML output.
I am currently using the SAXON XSLT processor in an java app.
Is SAXON the...
I type text into shapes in Visio drawings derived from Templates. Now I want to add automation, by importing text automatically from various third party XMLs. Can I and ought I import the data fields of the 3rd party into MSOffice XML derived...
I have an xml file with the following content
I need to retrieve all the Node elements where SubEl1 has a value of "abc". Actually what I really need is a list of SubEl2 values for those Node elements.
I am having trouble writing XPath...
<cfsavecontent variable="objxml">
<VehicleInfo Year="2010" Make="BMW" Model="328I SULEV">
<Sub-Model>CONVERTIBLE</Su
<Sub-Model>SEDAN 4 DOOR</Sub-Model> </VehicleInfo>
</cfsavecontent>...
Is it possible to take a "structured" non xml based plain text file and transform it into XML via XSLT ?
Can style sheets be used to filter xml data to basically hide certain fields?
Example:
If I wanted to filter the following xml below to only have <fielda>?
<test>
<fielda>abc</fielda>
<fieldb>123</fieldb>
</test>
Advance Result Maps.
My question is for the query below how to define a Result Map in MyBatis?
SELECT SUPPLIERS.SUPPLIER_NAME, ORDERS.ORDER_NUMBER FROM SUPPLIERS, ORDERS WHERE SUPPLIERS.SUPPLIER_ID = ORDERS.SUPPLIER_ID
Thanks,
Hi E's, I want use Goggle Weather Api in php.
For make a query to the API I use this URL: http://www.google.com/ig/a
The result was:
If I want get from xml result all "<low data" and all "<high data"...
How read one xml file and form another xml file using C#?
I have a xml file like,
<policydetails>
<current>
<no></no>
<type></type>
</current>
<prior>
<no></no>
<type></type>
</prior>
</policydetails>
I need to...
I have a live application running, but I need to take the data and import it into a different site.
Is there a way to change this to have it output to an excel file with the fields:
[articleID] [articleTitle] [articleContent]
Right now...
Hi,
If there is a table in the database with the following columns
ORDERID
REF_CODE
personid
orderedby
How is the "_" or case (upper or lower) handled when the POJO classes are generated for Ibatis?
Thanks,
Hello all,
Im calling CJ API and getting an XML as output, which I store in a variable called OUTPUT. This is my code:
Dim myHttpWebRequest As System.Net.HttpWebRequest =...
Hi there,
I need to convert a json file to xml in vb .net. I normally use Newtonsoft JSON.Net but with this particular JSON extract it is failing, even though when I run the JSON through an online JSON validator it validates OK.
I have...
how do you insert data from c# into an xml that was duplicate nodes?
<books>
<bookdetails>
<name>123</name>
</bookdetails>
<bookdetails>
<name>345</name>
</bookdetails>
</books>
I am trying to code this xsl stylesheet and not having done this before, I am lost. I do not have access to the actual xml being returned but do have access to the SQL Server procedure results that eventually ends up as the xml. The SQL Procedure...
<xsl:variable name="parentId" select="substring-before(s
If the variable name is a session already available to the application, is the above needed?
<xsl:if test="@id =...
I am currently transforming XML into an HTML table using XSL.
The XML file is a collection of 'Roads' - which I am rendering out to a table.
XML: http://sandbox5.project4.n
XSL:...
Hi,
Can anyone explain why XSD is used?
As a .Net developer where will you use it?
Thanks
Hi does anyone know of a good tool for writing a web page in HTML?
Hi
What sort if VB.net code would I use to systematically read through the attached REPORTS.XML file and in a line like the following one fins the Word "PARENT"
<PARENT>REPORTS</PARENT>
I have to create a hierarchy of information based...
Is there a way to easily convert an excel document to a pdf? I create the xlsx using the openxml sdk. I have heard that itextsharp would work, but that looks like I would have to manually create the document. I only want to pass a path to my...
Hello,
I am working with some pre-existing code and don't know much of anything about xml. I have an xml file that contains form data elements. I have an xsl file that is supposed to create an html wrapper around those elements along with...
Experts,
I have a problem..I need to allow following characters ( space, hyphen -, forward slash /, back slash\, apostrophe' ) in my textbox and validations has to pass. I achieved through regular expressions. Whether these special...
Hello Experts,
I am trying to get the correct syntax for a HTTP Post request in VB6, to upload listings onto an Ebay shop.
I recently searched EE and found the topic, and part solution, for exactly the same instance I wanted to resolve,...
I have a data schema/model issue that is stretching my knowledge of implementation in SQL and I think I will need to implement in XML. would like some thoughts as well as best practices if XML is th e way to go.
I will generisize the problem:...
I am getting an error in my Java code when parsing an xml file:
[Error] :6:2: cvc-elt.1: Cannot find the declaration of element 'aaa.bbb'.
What does the cvc-elt mean?
How do I read the following xml using LINQ? I want to load a ListBox with TheText and ID and filter the query on WeekOf.
Here's what I have, but it does not work.
Dim recs As XElement = XElement.Load(MapPath(APP_
Hello Experts,
I am trying to read the ECB's currency list, but I've come across an issue - the feed has two values in what I assume is a child node, but I don't know how to parse it and make it print out the list (initial step).
I have...
I have an xmldocument. The outerxml looks like this:
<ppmdmsg action="savecharges" class="api" msgtime="02/27/2012 09:35:39 AM" patientid="3394"...
Hi,
I need to convert an xml file to a pipe delimited file. I have written an xsl stylesheet. It is working fine except that in the original xml file if any field stretches over 2 lines, the xsl is putting a pipe after every line. I am not...
Hi - I was looking for a tutorial or a "How To" in order to learn how add 1 small XML call to a web page of ours. It is 2-lines of XML code (our Key and a part number) and the XML returned is simply a "Quantity in Stock" that we want to display...
Hello,
I have a really weird problem... I have created a page that reads an XML stream, which doesn't work if there are only a couple of markers in the stream, but works fine if there are more.
Here's the code from apage that doesn't show...
I am currently transforming XML into an HTML table using XSL.
The XML file is a collection of 'Roads' - which I am rendering out to a table.
XML: http://sandbox5.project4.n
XSL:...
Hi
How do I loop through the following VB.net code and use the GetAttributes to find the
key, descition, and parent of the following XML nodes
<REPORTS xmlns:xsi="http://www.w3.o
<REPORTS...
Hi, how do I create the following xml file in c sharp code:
<?xml version="1.0" encoding="utf-16" ?>
<ci:CommandInstruction xmlns:xsi="http://www.w3.o
I am having trouble transforming XSL using PHP. The multiple responses from the PHP server are:
Here is my HTML/PHP file (PHP won't execute unless the file has a PHP suffix):
Here is the XML data file:
Here is the XSL...
Hi Experts,
I am looking for VB6 code to read and write a "configuration file" using XML.
Maybe something similar to this vb.net code:
http://www.experts-exchang
Regards,
Leigh
Hello,
I need to know how to do a simple XML search. I believe this could be done client side with jquery or javascript.
For example, I would like to be able to click one of several graphics and load the corresponding xml entry.
I am...
Hi,
Please help with a problem I have reading descendent data using Linq to SQL. I have the following LINQ query (which doesn't work!)
var methodStatements = (from methodStatement in xDocument.Descendants("met
select new...
I am trying to get one of the C# examples from MS working... they have this statement:
and I'm getting these errors during the build:
Prager_Book_Inventory.WDSL
The name...
Dear friends,
I create a SoapClient object, into PHP application, for reading the WSDL file below:
where $wsdl is the URL to WSDL file
It fails with next error: SOAP-ERROR: parsing schema: unexpected <element> in restriction
I just...
Why am i unable to place a choose within another choose, when the code already allowed me to do before?
What would be a workaround then?
<xsl:variable name="tempVar">
<xsl:choose>
<xsl:when test="count($Match) = 0">
<xsl:choose>
...
I have a servlet that uploads an XML to a website. I have configuration hardcoded in the servlet. I would like to know:
1) How to move that configuration out of the java files.
2) How to interface a front end like a jsp to configure the...
Hello experts.
I am building a control (using VB.Net) that allows printing Fedex Labels. I got everything working, but I cannot figure out how to print multiple labels. Like if I have 3 or 4 packages going to the same address, and they all...
I have an XSL with a for-each select that ignores the text FRGT. I need to add that it should also ignore FRGH. How do I add it?
<xsl:for-each select="SorSalesOrderInvoi
I plan to write a program to help me manage some recipes (I have thousands of recipes).
I'm trying to decide whether to use XML or Java.
I have a pc running XP Pro and one running Windows 7 Pro.
My plan was to use some simple...
Hello,
Attached is a small sample of an Amazon settlement file.
For each <Order> and <Adjustment> node, I need to list AmazonOrderID and the sum of any Amount fields inside, using xpath or similar.
I am using Oxygen XML, but I am open to...
I have a database that needs to be updated periodically. My employer wants to keep a base instance of it in MS Access, and update one in a local SQLite table.
I've been able to grab all of the data out of the MS Access table (into XML), but...
how to programatically create xml document in c# with multiple records using a loop. Please see an example of the document which I want to create in the code
I have a strip of XML code that is looping inside a loop.
The code works fine up until the members loop. It halts everything...
How do I loop inside a loop?
Hello,
We have a webbased ticket tracking system used in MSIE 8.0. Attachments sometimes come in .XML format and are simply available by clicking the link. MSIE will open in a separate window with the XML "raw garble." You then have to...
I have a snippet of code that I'd like to place in a template so that it can work dynamically. The xml can be in one of 2 formats:
"Main/Carrier/Code" or "../MainInfo/Main/Carrier/
How do I reference either case in one template, so that I...
Hello all,
I have a question about importing data (product information) from an xml file in to a database. Through extraction I assign the needed xml nodes to different variables. (With many thanks to Ray Paseur) which I then use to populate...
I want to echo just the 2 first-name from these xml fields using php
so output should be
bob
mary
and there are many <resume></resume>
We have a few WSS3.0 Intranet sites. In order to display navigation buttons in the left pane, I have created swf files and added the code to an XML file, then linked that XML file to an XML viewer web part that I added to the masterpage of the...
Hi Experts,
I have written below code in c# 2.0.
1) I need to write clean coding
2) Above code should give best in performance
3) It should be good optimized
Please suggest what changes can I do to have best and clean coding....
A client (at a law office) was sent an .xfml file and isn't sure how to open it. I can't really seem to find much information online about this extension and was wondering if this is even something that is meant to be opened? When I open with IE,...
Hi,
I am using XSL to render data on the screen. The data from the database contains HTML tags like <BR> <I> etc. I use XSL:Value-Of to display the data on the screen. But the data does not render the text formatted based on the tags. Instead...
im working in adobe flash project & i wanna add some content like images and text using "XML"
Hello there,
I have an application built in ASP.NET that uses XSLT server side to generate an html report on our server. Works very well, however now we need to re-direct the transformation to another server for a partner we are working with....
Can a schema (.xsd) contained in a .jar file be access from the java code?
Hi Guys,
I have an xml file where the data is as below and basically I need to copy all the information in the consignment section and to copy all the trackingevents to a new XML file but sorting the tracking events by date / time order.
...
I have the following bit of code.
<td align="right" valign="top">
<xsl:for-each select="//GetOrderDetailsI
<xsl:value-of...
Gertone
156,693
Guru
1,200 points yesterday
ProfileRay_Paseur
94,525
Master
0 points yesterday
Profilekaufmed
25,000
0 points yesterday
Profilezc2
20,460
0 points yesterday
Profilefor_yan
14,648
0 points yesterday
ProfileTheLearnedOne
13,400
0 points yesterday
ProfileMlandaT
13,200
0 points yesterday
Profileaikimark
13,000
0 points yesterday
Profilenepaluz
11,000
0 points yesterday
Profilemwvisa1
10,650
0 points yesterday
ProfileDhaest
10,100
0 points yesterday
ProfileBuggyCoder
9,700
0 points yesterday
Profileleakim971
8,800
0 points yesterday
Profilemccarl
8,000
0 points yesterday
Profilesrosebabu
8,000
0 points yesterday
Profileahoffmann
7,600
0 points yesterday
Profilepfrancois
7,300
0 points yesterday
Profile_agx_
7,200
0 points yesterday
ProfileStingRaY
7,000
0 points yesterday
ProfileCodeCruiser
6,975
0 points yesterday
Profileanarki_jimbel
6,750
0 points yesterday
Profilesdstuber
6,000
0 points yesterday
Profilegirionis
5,600
0 points yesterday
Profileun1x86
5,000
0 points yesterday
Profilebasicinstinct
4,721
0 points yesterday
Profile