: like <field name="cat">software</field>
:
: and standerd xml writers have xml generated as the same start and end tags.
:
: in SOLR xml
: start tag = <field name="cat">
: end tag =  </field>

that "tag" is the same, the "tag" is "field" ... the field "tag" has a
mandatory "attribute" which is "name"

While it's certianly true that some people discourage use of XML
"attributes" when designing XML schema,s it doesn't change the fact that
having "attributes" is a very legal part of XML.

a quick google search for "xml attribute" turns up quite a few pages that
you may find useful, here's just a few for starters...

http://java.sun.com/webservices/jaxp/dist/1.1/docs/tutorial/overview/1_xml.html
http://www.xmlnews.org/docs/xml-basics.html#attributes
http://www.expertrating.com/courseware/XMLCourse/XML-Elements-Attributes-4.asp


-Hoss

Reply via email to