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

Updated examples for getter methods of API

From: Chris Poppe <Chris.Poppe@ugent.be>
Date: Wed, 12 May 2010 08:46:57 +0200
To: <public-media-annotation@w3.org>
Message-ID: <05d401caf19e$eb01a200$c104e600$@Poppe@ugent.be>
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:  <mailto:chris.poppe@ugent.be> chris.poppe@ugent.be

 

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

 
Received on Wednesday, 12 May 2010 06:47:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 12 May 2010 06:47:38 GMT