Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > Atom Extensions sample

Reply
Thread Tools

Atom Extensions sample

 
 
ibrahimover@gmail.com
Guest
Posts: n/a
 
      09-27-2007
Hi all

i have been searching for how to make extention elements on atom and i
find some documents on it but couldnt understand how to do


as understand we have to add code below to relaxng.rng file but
question is where is that file and how will use my new rng file

structuredExtensionElement =
element * - atom:* {
(attribute * { text }+,
(text|anyElement)*)
| (attribute * { text }*,
(text?, anyElement+, (text|anyElement)*))
}


i guess there should be easier way to do this like we do on
soarequests ,xml ... defining elements at xsd and it as namespace
but i couldnt find any sample files

basicly what i want to do is adding XXXX,YYYY,ZZZZ

<?xml version="1.0" encoding="utf-8"?>
<feed version="0.3" xmlns="http://purl.org/atom/ns#">
<title>dive into mark</title>
<link rel="alternate" type="text/html"
href="http://diveintomark.org/"/>
<modified>2003-12-13T18:30:02Z</modified>
<author>
<name>Mark Pilgrim</name>
</author>
<XXXX>
<YYYY>........................................</YYYY>
</XXXX>
<entry>
<ZZZZ>.......................................... </ZZZZ>
<title>Atom 0.3 snapshot</title>
<link rel="alternate" type="text/html"
href="http://diveintomark.org/2003/12/13/atom03"/>
<id>tag:diveintomark.org,2003:3.2397</id>
<issued>2003-12-13T08:29:29-04:00</issued>
<modified>2003-12-13T18:30:02Z</modified>
</entry>
</feed>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
looking for asp.net sample with vb.net backend sample is there one? Jake ASP .Net 0 02-09-2006 10:44 PM
Unable to access extensions menu or add extensions (I've tried past suggestions) nospam@spam.com Firefox 8 12-01-2005 01:33 AM
Atom-Newsfeed on Website (Atom->HTML) chlori HTML 1 09-21-2005 03:43 PM
JSTL and Atom feed parsing Marc Dugger Java 0 12-15-2004 06:19 PM
AToM (draft-martini) on 7200 Semion Lisyansky Cisco 0 04-30-2004 01:59 PM



Advertisments