OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Choosing a target name for a processing instruction

[ Lists Home | Date Index | Thread Index ]


> Michael Good wrote:
>
>> Well, maybe I'm doing something wrong, but when I tried to use
>>
>>  ProcessingInstruction pi = doc.createProcessingInstruction("feature",
>> "");
>>
>> the result was
>>
>> <?feature ?>
>>
>> instead of
>>
>> <?feature?>
>>

Why not just provide a proper target, such as
 <?MusicXML1.3 feature?>

That may overcome that particular application's problem, and is better
markup because it indicates that the PI has to do with retrofitting new
features on an old document type.

Cheers
Rick Jelliffe




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS