Altova Mailing List Archives>Archive Index >xml-dev Archive Home >Recent entries >Thread Prev - RE: [xml-dev] Choosing a target name for a processing instruction [Thread Next] Re: [xml-dev] Choosing a target name for a processing instructionTo: xml-dev@-----.---.--- Date: 5/4/2006 3:37:00 AM > 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 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
