Next in thread → Next in month →

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

From
Rick Jelliffe <>
To
Date
2006-05-04T03:42:19Z
ID
<>
Thread
Re: [xml-dev] Choosing a target name for a processing instruction
> 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
Next in thread → Next in month →