| I think a CDATA section can be added in such a way that it appears as
comments to the CSD parser, and renders the contents of the file acceptable
to both CSound and a standard XML parser. The CDATA section begins on a
separate line, commented out as far as CSound is concerned, and the same for
the ending...
I played around with this at one time, but don't remember any more details
at the moment.
-----Original Message-----
From: Michael Gogins [mailto:michael.gogins@gmail.com]
Sent: Thursday, February 19, 2009 1:04 PM
To: Developer discussions
Subject: Re: [Cs-dev] CSD and XML
I invented the format, and that is exactly what I was thinking -- like
XML, tags can be ignored, but not as fussy or heavyweight as XML. I
did verify that some XML browsing programs would load CSDs as if they
were XML and show you the text. I don't know if that would still be
the case.
Regards,
Mikr
On Thu, Feb 19, 2009 at 1:26 PM, Anthony Kozar
wrote:
> I don't know what the original rationale was but it is similar to the
> Cecilia document format. I think there are advantages to the "XML-ish"
> format such as allowing ANY text outside of the recognized tags to be
> included without comment characters (thus allowing extensive documentation
> or program notes at the beginning of the file), and frontend programs can
> easily add their own tagged sections to a CSD and have them ignored by
> Csound and other frontends.
>
> Anthony Kozar
> mailing-lists-1001 AT anthonykozar DOT net
> http://anthonykozar.net/
>
> Jonatan Liljedahl wrote on 2/19/09 9:21 AM:
>
>> BTW, what was the reasoning when deciding for the XML-ish CSD format?
>> It's a bit odd to mix syntaxes in the same file like that... I'd rather
>> see something more in the line of csounds existing syntax:
>>
>> opts
>> ...
>> endopts
>>
>> instr N
>> ...
>> endin
>>
>> ...
>>
>> score
>> ...
>> endscore
>
>
>
----------------------------------------------------------------------------
--
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the
Enterprise
> -Strategies to boost innovation and cut costs with open source
participation
> -Receive a $600 discount off the registration fee with the source code:
SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
--
Michael Gogins
Irreducible Productions
Michael dot Gogins at gmail dot com
----------------------------------------------------------------------------
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |