Return <value> from /base? Options
itiden
Posted: Tuesday, April 22, 2008 1:53:05 PM
Rank: Newbie

Joined: 4/18/2008
Posts: 3
Location: Sweden
Hi
Im testing /base functionality and will probably be using it for a project that uses flashelements.
When calling a function thru /Base, it returns <value>[value]</value>...

I would like to return a XML that I have full control of. No <value>-node i possible? <value>-node might be okey, but i dont want its content in cdata.

Is this possible? And is the some more documentation about /base and what you can do with it somewhere?
drobar
Posted: Tuesday, April 22, 2008 2:12:10 PM

Rank: Umbracoholic

Joined: 9/8/2006
Posts: 1,432
Location: KY, USA
The best documentation on /Base are at:
http://umbraco.org/documentation/books/introduction-to-base
http://www.objects.dk/2006/10/8/umbraco-base-preview.aspx

cheers,
doug.



MVP 2007-2009 - Official Umbraco Trainer for North America - Percipient Studios
mortenbock
Posted: Tuesday, April 22, 2008 2:58:42 PM

Rank: Addict

Joined: 7/19/2006
Posts: 739
Location: Århus, Denmark
I think, that if your Base method returns a string, then it will automatically get the <value> schema. But if you return an XML document, then it will use the exact schema you have set up.

Am I wrong about that?

Morten Bock - Level 2 certified - MVP 2008/2009 - My danish blog with a few english posts

Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.