W3C home > Mailing lists > Public > public-media-annotation@w3.org > May 2010

RE: Updated examples for getter methods of API

From: 이원석 <wslee@etri.re.kr>
Date: Wed, 12 May 2010 16:52:20 +0900
Message-ID: <B4EAD1122C31304099A5CDEA5447210F01E16E54@email2>
To: <Chris.Poppe@UGent.be>
Cc: <public-media-annotation@w3.org>
Hi. Chris.

Just use below things ;)

 

/*Resulting in:

DCMetadata[0] = "&lt;?xml version="1.0"?&gt; &lt;metadata xmlns="http://example.org/myapp/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://example.org/myapp/ http://example.org/myapp/schema.xsd" xmlns:dc="http://purl.org/dc/elements/1.1/"&gt; &lt;dc:title&gt;DC title&lt;/dc:title&gt;&lt;/metadata&gt;

*/

 

Best regards

Wonsuk.

 

From: public-media-annotation-request@w3.org [mailto:public-media-annotation-request@w3.org] On Behalf Of Chris Poppe
Sent: Wednesday, May 12, 2010 3:47 PM
To: public-media-annotation@w3.org
Subject: Updated examples for getter methods of API

 

Dear all,

 

According to my AP 237 I have updated the API document with the missing examples for some of the methods.

 

Only problem, I do not know how to include xml in the javascript examples. The below code fragment 

/*Resulting in:

DCMetadata[0] = "<?xml version=\"1.0\"?> <metadata xmlns=\"http://example.org/myapp/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://example.org/myapp/ http://example.org/myapp/schema.xsd\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\"> <dc:title>DC title</dc:title></metadata>"; 

*/

 

Results in 

 

/*Resulting in:

DCMetadata[0] = "  DC title"; 

*/

 

Maybe Wonsuk you have a solution?

 

Kind regards,

Chris

 

 

Ghent University - IBBT
Faculty of Engineering
Department of Electronics and Information Systems (ELIS)
Multimedia Lab Gaston Crommenlaan 8 bus 201
B-9050 Ledeberg-Ghent
Belgium

 
t: +32 9 33 14959
f: +32 9 33 14896
t secr: +32 9 33 14911
e: chris.poppe@ugent.be <mailto:chris.poppe@ugent.be> 

 

URL: http://multimedialab.elis.ugent.be <http://multimedialab.elis.ugent.be> 

 
Received on Wednesday, 12 May 2010 07:53:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 12 May 2010 07:53:02 GMT