احفظ ملف XML بتنسيق XLTX في Perl
API
POST
https://api.aspose.cloud/v3.0/cells/{name}/SaveAs
يعد حفظ تنسيقات الملفات من XML بتنسيق XLTX مهمة معقدة. يتم تنفيذ جميع انتقالات تنسيق XML إلى XLTX بواسطة Perl SDK الخاص بنا مع الحفاظ على المحتوى الهيكلي والمنطقي الرئيسي لجدول بيانات XML المصدر. تعد مكتبتنا Perl حلاً احترافيًا لحفظ XML كملفات XLTX عبر الإنترنت. يوفر Cloud SDK هذا لمطوري Perl وظائف قوية ومخرجات XLTX مثالية.
Perl مثال على الكود لحفظ XML كـ XLTX باستخدام REST API
# For complete examples and data files, please go to https://github.com/aspose-cells-cloud/aspose-cells-cloud-perl/
my $config = AsposeCellsCloud::Configuration->new( client_id => $ENV{'ProductClientId'}, client_secret => $ENV{'ProductClientSecret'});
my $instance = AsposeCellsCloud::CellsApi->new(AsposeCellsCloud::ApiClient->new( $config));
my $name = 'Book1.xml';
my $save_options = undef;
my $folder = 'CellsTests';
my $newfilename = 'Book1Saveas.xltx';
$result = $instance->cells_save_as_post_document_save_as(name => $name,save_options => $save_options, newfilename => $newfilename, folder => $folder);
كيفية حفظ XML بتنسيق XLTX باستخدام مكتبة Cells Cloud Perl.
- تسجيل حساب فيلوحة القيادة للحصول على تفاصيل الحصص والترخيص API مجانًا
- قم بتثبيت مكتبة Perl وأضف المرجع (استيراد المكتبة) إلى مشروعك.
- افتح الملف المصدر في Perl.
- اتصل بالبريد_دفتر العمل_طريقة save_as للحصول على الدفق الناتج
متطلبات النظام
- Perl 5