|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
|
|
|
Re: How to write a module to handle additional XML attributesSurely someone out there knows if it's possible to write a ROME module to
handle attributes of one namespace added to elements of another namespace? On Tue, 02 Jun 2009 22:54:49 -0700, Greg Holmberg <holmberg2066@...> wrote: > > Hi ROME users-- > > > It appears to me that all the modules implemented so far are for > handling additional XML *elements*. I need to handle additional XML > attributes. Is this possible? > > For example, a search service I'm dealing with adds these attributes to > an OpenSearch element: > > <opensearch:Query > role="subset" > title="Einkaufsinfosatz (Q35CLNT042)" > totalResults="17" > searchTerms="connector:Q35042~PURCHASE_INFO_REC~ 53*" > foo:type="connector" > foo:connector="Q35042~PURCHASE_INFO_REC~" > /> > > Here's another example, this time adding attributes to an RSS element: > > <category > foo:type="connector" > foo:id="Q35042~PURCHASE_INFO_REC~" >> > > Is there a way to write a ROME module for these "foo" attributes added > to elements in other name spaces? > > thanks, > > > Greg Holmberg > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: How to write a module to handle additional XML attributesHi Greg
I've been using rome for years now and wanted the exact same thing... spent so much time looking for a solution and no one would help. I just decided to write it myself in about 20 lines with jdom. Wasn't what I wanted but it seemed if it doesn't follow the standard rss stuff, you have to do an enormous amount of work with rome, and no one wants to tell say anything. Nate Greg Holmberg wrote: > Surely someone out there knows if it's possible to write a ROME module to > handle attributes of one namespace added to elements of another namespace? > > > On Tue, 02 Jun 2009 22:54:49 -0700, Greg Holmberg > <holmberg2066@...> wrote: > >> Hi ROME users-- >> >> >> It appears to me that all the modules implemented so far are for >> handling additional XML *elements*. I need to handle additional XML >> attributes. Is this possible? >> >> For example, a search service I'm dealing with adds these attributes to >> an OpenSearch element: >> >> <opensearch:Query >> role="subset" >> title="Einkaufsinfosatz (Q35CLNT042)" >> totalResults="17" >> searchTerms="connector:Q35042~PURCHASE_INFO_REC~ 53*" >> foo:type="connector" >> foo:connector="Q35042~PURCHASE_INFO_REC~" >> /> >> >> Here's another example, this time adding attributes to an RSS element: >> >> <category >> foo:type="connector" >> foo:id="Q35042~PURCHASE_INFO_REC~" >> Is there a way to write a ROME module for these "foo" attributes added >> to elements in other name spaces? >> >> thanks, >> >> >> Greg Holmberg >> >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > -- Nathaniel A. Johnson Principal Systems Analyst Enterprise Service Presentation & Delivery Division of Enterprise Software Indiana University --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
| Free embeddable forum powered by Nabble | Forum Help |