xml

Extract data from PostgreSQL DB without using pg_dump

There is a PostgreSQL database on which I only have limited access (e.g, I can't use pg_dump). I am trying to create a local "mirror" by exporting certain tables from the database. I do not have the permissions needed to just dump a table as SQL from within psql. Right now, I just have a Python script that iterates through my table_names...

Finding a specific XmlNode inside XmlDocument.OuterText

Hi, I have the following program : string oldText= "<xml><xml1>text</xml1><xml1>text</xml1><xml>"; xmlDocument.LoadXml(oldText); //... var nodes = xmlDocument.SelectNodes("//*[contains(text(), 'text')]"); var node0 = nodes[0]; var node1 = nodes[1]; var newText = xmlDocument.OuterXm...

Absolute Xpath to get list of childnodes?

Hi this my xml file, <?xml version="1.0"?> <worldpatentdata xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt; <meta name="elapsed-time" value="329" xmlns="http://ops.epo.org"/&gt; <exchange-documents xmlns="http://www.epo.org/exchange"&gt; <exchange-document country="AT"...

JavaCard monitoring folder

I want to write a two way application: applet for javacard and an application in C#. I've got the C# covered but i want to know if with JavaCard i can monitor a folder on the memory and how would i go about doing that. I have a shared folder let's call it temp in which i want to store buffer information between the simulated smartcard a...

No xml output on page

I am trying to output xml on my aspx page. But it returns no result. The aspx page: <%@ Page Language="C#" AutoEventWireup="false" CodeBehind="Sitemap.aspx.cs" Inherits="Servicebyen.Presentation.Web.Sitemap" %> The code behinde: protected void Page_Load(object sender, EventArgs e) { Response.Clear(); Response.ContentType = ...

JSON parsing using SOAP request and response

hello all in my project i want to use JASON parsing my sample soap request and response is here below please guide me how can i do that // soap request // <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XM...

With logback not able to send mail..? any body please help.....with is

please go through following.... <appender name="stdout" class="ch.qos.logback.core.ConsoleAppender"> <layout class="ch.qos.logback.classic.PatternLayout"> <Pattern>%d %p %c - %m%n</Pattern> </layout> </appender> <!-- --> <!-- Declare the SMTPAppender --> <!-- --> <app...

How to Generate XML from Database

Hi , I am fetching data from two tables CARRIER_IFTA ,IFTA_NAME. My Select Query is like below.. SELECT t1.IFTA_LICENSE_NUMBER,t1.IFTA_BASE_STATE,t2.NAME_TYPE,t2.NAME from CARRIER_IFTA t1 inner join IFTA_NAME t2 on t1.IFTA_LICENSE_NUMBER=t2.IFTA_LICENSE_NUMBER My Data is coming in this way... IFTA_LICENSE_NUMBER IFTA_BASE_ST...

Flash caroussel xml parse html link

Hello I am trying to modify a carousel script I have in flash. Its normal function is making some icons rotate and when clicked they zoom in, fade all others and display a little text. On that text I would like to have a link like a "read more". If I use CDATA it wont display a thing, if I use alt char like &#60;a href=&#34;www.googl...

soap response to xml (simple_xml)

Hi i am trying to convert a soap response to XML. Soap has an envelop and a body <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt; <soap:Body> When try to convert $responseXML = simplexml_load_string($string);...

Using VTD-XML to modify element text only

Hi, I want to achieve below thing in vtd-xml xml modifier class. Original xml <xml> <element attr1='1' attr2='2' attr3='3'>text</element> </xml> int p = vn.getText() xm.updateToken(p, "new text"); But the code here is modifying the text to new text but it's not copying all the attributes. Any idea how to achieve this? Other op...

How to transform huge xml files in java?

As the title says it, I have a huge xml file (GBs) <root> <keep> <stuff> ... </stuff> <morestuff> ... </morestuff> </keep> <discard> <stuff> ... </stuff> <morestuff> ... </morestuff> </discard> </root> and I'd like to transform it into a much smaller one which retains only a few of the elements. My ...

CXF: is it possible to generate a webservice response for specified method with specified data to string?

Hi, we are using cxf webservices with java server and .NET client. We generate WSDL file based on our java code, and MS Visual Studio automaticaly generate deserializers, based on WSDL. Now we need to add jms support to our app. Because we use both Java and .NET, we can only put serealized xml objects to jms mesage as a text (we can't p...

how jaxb generates the custom tags (java to wsdl/xml) ??

I want to generate a xml (say a bpel xml). how can I do that using jaxb. thx ...

Issue with XSL for website sitemap XML

Hi The XSL for a website sitemap is not working as expected. The URL elements are not being looped through? Please can you take a look: XML: http://www.telephonesystems.co.uk/sitemap.xml XSL: http://www.telephonesystems.co.uk/css/sitemap.xsl Thanks ...

AppCrash in IIS when accessing the XmlNode.OuterXml property of a large XML data

This is really strange. It doesn't happen when I run my solution in VS, but when it's running under IIS (it's just a SOAP WebService) I get an AppCrash whenever I access the OuterXml property of a request that has nested nodes, many levels (thousands) deep. Does anyone have an idea? In the logs there is nothing useful except for the w...

php and XML range into array

The code below helps be to get the WHOLE XML and put it into an array. What I'm wondering is, what would be a good way to get the XML only from item 3 - 6 or any arbitrary range instead of the whole document. $d = new DOMDocument(); $d->load('http://news.google.com/?output=rss'); foreach ($d->getElementsByTagName('item') as $t) { $...

A question about DOM parser used with Python

I'm using the following python code to search for a node in an XML file and changing the value of an attribute of one of it's children.Changes are happening correctly when the node is displayed using toxml().But, when it is written to a file, the attributes rearrange themselves(as seen in the Source and the Final XML below). Could anyone...

XML/RDF to Java Objects with XSD

So here's the scenario...I have an XSD file describing all the objects that I need. I can create the objects in Java using JAXB no problem. I have an XML/RDF file that I need to parse into those objects. What is the EASIEST way to do this? I have been looking into Jena and have played around with it, but can't see how to easily map th...

Does anyone know why my maps only show grid

I've doubled checked my API key is right and that is right I doubled checked that it was correct. Here is my source and XML could anyone check to see what is wrong. Also I make sure I have internet. <?xml version="1.0" encoding="utf-8"?> <uses-permission android:name="android.permissions.INTERNET"/> <uses-permission android:na...