|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Embedded vCard
XML Namespaces (http://www.w3.org/TR/PR-xml-names) is designed to allow the sort of combination that you show in your example: <? xml version="1.0" ?> <answer xmlns="answer.dtd" xmlns:vcrd="vCard.dtd"> <caller> <vcrd:vCard version="3.0"> <vcrd:fn>Milla</vcrd:fn> </vcrd:vCard> </caller> </answer> The exact values you show for the attributes xmlns and xmlns:vcrd are not accurate, however. Both need to be URIs. While it is easily possible for you to create your own URI for 'answer,' if you want interoperability with other programs that will recognize the vcard namespace, you will need some common agreement on the name of the namespace for the vcard elements. Technically, this does not need to be a URI issued by the organization controlling vCard; it could be a URI merely recognized by you and whatever other programs you interoperate with; but it would obviously be beneficial to have a single, widely-used URI. xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








