![]() |
Previous | Next |
Add comments to metafiles by following Extensible Markup Language (XML) syntax. Comments begin with "<!--" and end with " -->".
Syntax
<!--Enter your comment text here.-->
Remarks
Comments can appear anywhere except within element content (between element open and close tags, < >). They are not part of the document's character data and are ignored when the metafile is parsed.
Windows Media Player version 6.4 will parse, recognize and implement metafile element tags within comment tags. When including metafile element tags within comment tags for Windows Media Player version 6.4 there must be no spaces or line breaks after the opening comment tag, <!--, and no spaces or line breaks before the ending comment tag, -->. This only applies to commenting out a set of element tags, <!--<BANNER> ... </BANNER>-->
The element tags within the comment tags would not be implemented in Windows Media Player version 7 or later. They would be effectively commented out by the comment tags.
Example Code
<ASX version = "3.0">
<!-- This information is only visible when editing a metafile file. -->
<!-- The following effort to comment out the BANNER will not work for Windows Media Player version 6.4. Windows Media Player version 6.4 would still parse the BANNER element and display the graphic.-->
<!--<BANNER href="c:\wmsdk\wmssdk\samples\dhtml\asfbutton3.gif">
</BANNER>-->
<ENTRY>
<REF href = "mms://nsserver/pubpt/filename.asf" />
</ENTRY>
<ENTRY>
<TITLE>WMA Port na Pucai</TITLE>
<!-- For Windows Media Player version 6.4, the DURATION VALUE will still be parsed and the media rendered for 15 seconds.-->
<!--<DURATION VALUE="00:00:15"/>-->
<REF href="c:\asfroot\port na Pucai.wma"/>
</ENTRY></ASX>
Previous | Next |