[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Wiki Solr Index
Hi Doug,
In your example,
<float name="id">
"float" is the name of the XML element (or "tag"). "name" is the
name of an attribute, not the name of the tag, and "id" is the value
of that attribute.
Assuming you are using HTTPAPI's XML parser (you didn't say -- but
that would be the only one that's on-topic for this mailing list) then
you need to check the 'attrs' parameter to get the data. There's an
example of this in EXAMPLE15 of the current release, where it
retrieves the RSS version using the attrs parameter.
Good luck
On 3/1/2010 8:07 AM, doug wrote:
I have exhausted my research, and I am unable to find a solution to
why the XML parser only brings back a portion of the xml tag. For
example with the Apache Solr restful web service, the xml that is
returned has a variable type in the tag. For example, <float name
="id">10.9876</float>. What is returned from the parser is float, not
the actual name id. Could anyone please help?
Thanks,
Doug B
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
[1]http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
References
1. http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------