|
Ayman Mashal wrote: how can i do that ?
Do some research on XML and MIME or XML and Base64 Encoding
led mike
|
|
|
|
|
Hi friends ...
I have one doubt regarding my analysis ..
how to convert XML data to HTML data ..how its possible !!!
is there any protocals are needed to this convertion ..
plz suggest me!!
Thanks
raju.k
|
|
|
|
|
|
Dear All,
I am using Xindice(XML-DB) as my database for my VC++ application(VS2005).
From the documentation i understood that XML-RPC(Apache XML-RPC) is needed for communicating with the server. But the C++ interface and the documentation for Apache XML-RPC could not be found any where.
Can any one give a possible solution for the above ?
Is there any other way to communication with the Xindice database from a C++ application?
Many thanks in advance,
Prasanthmv
|
|
|
|
|
Prasanth M V wrote: But the C++ interface and the documentation for Apache XML-RPC could not be found any where.
That's because there is no C++ interface to document.
"a popular protocol that uses XML over HTTP to implement remote procedure calls."
That's a quote from the documentation[^]
led mike
|
|
|
|
|
Hi,
Then, how the Xindice database can be accesed from C++ appplication?
Thanks
Prasanth
|
|
|
|
|
Hi Friends,
I know xmlrcp-c library(C++ lib to communicate with the Xindice)can be used to acces to the Xindice server.
But i could not found any details regarding the server procedures exposed by the Xindice XML-RPC API.
Please help me.
I am realy stuck with problem for a couple of days......
Thanks
Prasanth
|
|
|
|
|
Prasanth M V wrote: But i could not found any details regarding the server procedures exposed
That's because it is completely dependent on the Server. What is exposed is whatever services developers put on the server and expose using a XML-RPC interface. It seems you have not understood what XML-RPC is[^].
led mike
|
|
|
|
|
Hi Led,
Good Morning
Let me to say my understanding about calling Xindice with its XML-RPC API Interface from a C++ application.
1. Xindice exposes its server procedures though its XML-RPC API Interface(For C++).
2. It is only needed to call those methods (server procedures or Database operation) exported by the library.
Please inform me if my understanding makes sense.
Please give me with some link or any useful information for finding the Xindice XML-RPC Interface for C++. I has been the searching for the same for the last one week.
Thanks
Prasanth
|
|
|
|
|
Prasanth M V wrote: 1. Xindice exposes its server procedures though its XML-RPC API Interface(For C++).
No. I provided a link to a page that explains what XML-RPC is, did you read it? Did you read any of the other pages it links to?
What is XML-RPC? It's a spec and a set of implementations that allow software running on disparate operating systems, running in different environments to make procedure calls over the Internet.
It's remote procedure calling using HTTP as the transport and XML as the encoding. XML-RPC is designed to be as simple as possible, while allowing complex data structures to be transmitted, processed and returned.
led mike
|
|
|
|
|
Hi Led Mike,
I have gone thorough the XML-RPC documentation.
Could you please answer(YES/NO) to some questiona?
1. To communicate to Xindice Database from C++ application, it is needed to use its Xindice XML-RPC C++ Inteface?
2. Or any general library available in the web can be used for this purpose and we only needs to invoke the methods in the server machine from the client side?
Thanks
Prasanth Vijay
|
|
|
|
|
Prasanth,
I have provided you the link to the Wikipedia Page on XML-RPC which states:
XML-RPC is a remote procedure call protocol which uses XML to encode its calls and HTTP as a transport mechanism.
If you do not understand what that means I can't explain it to you, perhaps you need to click on the links in that sentence on that page as a start to begin to understand the sentence.
led mike
|
|
|
|
|
Led Mike,
Thank you for all your support
I got C++ Interfec of Xindice XML-RPC
Thanks
Prasanth
|
|
|
|
|
I am havng an XML File in the format
serverroot
server
msgid 1 msgid
con_id 2 con_id
server
server
msgid 2 msgid
con_id>1 con_id
server
server
msgid 3 msgid
con_id 2 con_id
server
serverroot
All i want to do is to select distinct Con_ID from
this XML File using VB.NET Code.... How can i do this
i am new to xml .. any one plz help
Thanx in advance
|
|
|
|
|
Hi,
If you are using the latest version of the .Net framework then this task can be performed easily using LINQ.
Below is an example of what you are trying to do in C#:
XDocument servers = XDocument.Load(@"C:\server.xml");<br />
<br />
var q = from c in servers.Descendants("server")<br />
orderby (string)c.Element("con_id") ascending<br />
group c by (string)c.Element("con_id");<br />
<br />
foreach (var con_id in q)<br />
Console.WriteLine(con_id);
Sorry, I don't have a version of this in VB.Net!
Clean code is the key to happiness.
|
|
|
|
|
Hello everybody,
I'm hoping someone would have done this before; because I run into a need for something similar fairly frequently;
I'd like a generic XSLT that performs the following translation
--Input XML
<?xml version="1.0" encoding="utf-8"?>
<config>
<parent id="parent1">
<item id="item1" name="Foo" attr="SomeOtherAttr"/>
</parent>
<child id="child1" inherits="parent1">
<item1 id="item2" name="NewItem" someOtherAttr="YetMoreAttributes"/>
</child>
</config>
--Output XML
<?xml version="1.0" encoding="utf-8"?>
<config>
<child id="child1" inherits="parent1">
<item id="item1" name="Foo" attr="SomeOtherAttr"/>
<item1 id="item2" name="NewItem" someOtherAttr="YetMoreAttributes"/>
</child>
</config>
--
You can see this models inheritence in traditional languages, it would increase the flexibility of my XML configuration significantly. But writing XSLT is such a paradigm shift it's difficult to imagine the XSLT transform to do this.
If anyone can point me at existing/similar code (eg, xslt merge element) or if any of you xslt gurus have a complete implementation already handy. That'd be great.
Thanks,
Matthew.
|
|
|
|
|
hi all.
can use distinct or group by in xpatch query to select none duplicated node from a xml file?
sepel
|
|
|
|
|
http://www.net4manpower.com need software developer for exam realted software and also freelance wrbdesigner need for website with file uploading facility.
net4manpower offer 1000 freelance jobs for professionals
contact us:net4info@gmail.com
net4manpower
|
|
|
|
|
I need to fetch all the chapter Id,Sec1 id and head,Sec2 Id and Name, Sec3 Id and name untill it collects the whole datas from the book
/*
<book>
<chap1 id="ch01lev1sec1">
<chaptitle>XmlXchemas
<page id="Page_387">
<emphasis type="BoldItalic">Hungry Minds, Inc. End-User License Agreement
<sec1 id="ch01lev1sec1">
<page id="Page_387">
<emphasis type="BoldItalic">Hungry Minds, Inc. End-User License Agreement
<sec2 id="ch01lev2sec1">
<page id="Page_387">
<emphasis type="BoldItalic">Hungry Minds, Inc. End-User License Agreement
<sec2>
<sec1>
<sec1 id="ch01lev1sec1">
<page id="Page_387">
<emphasis type="BoldItalic">Hungry Minds, Inc. End-User License Agreement
*/
VanithaVasu
|
|
|
|
|
hi
i want to parse an XML file and extract the fields.is theer any generic parser in VC++ 8 (or even C++) so that even if i add one more tag to my XML file with little modification the program should work.
thnx in advance......
"Every morning I go through Forbes list of 40 richest people in the world. If my name is not in there, I go to work..!!!"
|
|
|
|
|
If you are considering using XML in your software I strongly urge you to spend some time learning the XML technology space before making decisions about how your going to use XML in your software. This might prove a sizable learning curve since the XML space is quite large now.
You could start here[^] but I don't suggest you consider that sufficient.
led mike
|
|
|
|
|
I need to add an xml-node to my xml file, which later i will validate. Is there any way to know the exact location where i need to add that node so that validation does not fail?
Thanks in Advance.
|
|
|
|
|
I work primarily with C++ and trying to get a handle on XML. Consider the following class of data:
classA
{
CString name;
int widgits[3];
}
Lets assume the data for the items in the class is:
name = "Bob"
widgits = {1,6,9}
If I was to create an XML file to hold data such as that above, how would the array of widgits be represented?
Would it look something like this?
<data>
<name>Bob</name>
<widgit>1</widgit>
<widgit>2</widgit>
<widgit>3</widgit>
</data>
It doesnt seem that having 3 child elements named "widgit" under the parent named "data" would be correct. Afteral how would it get read back in correctly?
Any help or keyword that I could use for a search would be appreciated. Even a good book on the subject !
Thank you for your help !
Jack
|
|
|
|
|
It would be more like:
<data>
<name>Bob</name>
<widgits>
<widgit>1</widgit>
<widgit>2</widgit>
<widgit>3</widgit>
</widgits>
</data>
since the widgets element would serve as a container (array) of widgets.
"We make a living by what we get, we make a life by what we give." --Winston Churchill
|
|
|
|
|
Oh I got lagged. Serious lag, 11 minutes worth.
led mike
|
|
|
|