RE: Updated examples for getter methods of API

Hi. Chris.

Just use below things ;)

 

/*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>

*/

 

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 UTC