XDocument: Create custom declaration



I want to create Windows Media Player playlist files with XDocument. Therefore I have to create this declaration:



<?wpl version="1.0"?>


However, the XDeclaration object doesn't allow to replace "xml" with "wpl". Is there a proper way to handle this?


No comments:

Post a Comment