Adding a prefix to the Feed element

View: New views
2 Messages — Rating Filter:   Alert me  

Adding a prefix to the Feed element

by rebels_mascot :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey,

I'm looking for a way to add a prefix to the Feed element, e.g. <foo:feed>
I initialize the Feed using abdera.getFactory.newFeed() but I can't see how I can add a QName besides creating a new element or extension element.

I'm a fairly new to abdera so any help would be appreciated.

Thanks,
Brian

Re: Adding a prefix to the Feed element

by rebels_mascot :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Never mind :)

I used the ExtensionElement, I just hadn't it declared properly.

Thanks

rebels_mascot wrote:
Hey,

I'm looking for a way to add a prefix to the Feed element, e.g. <foo:feed>
I initialize the Feed using abdera.getFactory.newFeed() but I can't see how I can add a QName besides creating a new element or extension element.

I'm a fairly new to abdera so any help would be appreciated.

Thanks,
Brian