GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SPOPS::Export::XML(3) User Contributed Perl Documentation SPOPS::Export::XML(3)

SPOPS::Export::XML - Export SPOPS objects in XML format

 # See SPOPS::Export

Implement XML output for SPOPS::Export.

document_tag

Define the document tag. Default is: 'spops', so the resulting document is:

 <spops>
  ...
 </spops>

object_tag

Define the surrounding tag for each object. Default is 'spops-object', so if you use the default "document_tag" as well the resulting document will look like:

 <spops>
    <spops-object>
       <field1>bar</field1>
       <field2>foo</field2>
    </spops-object>
    <spops-object>
       <field1>foo</field1>
       <field2>bar</field2>
    </spops-object>
    ...
 </spops>

create_header

Output the opening document tag.

create_footer

Output the closing document tag.

create_record( $object, $fields )

Output the individual object.

serialize_field_data( $data )

Escape relevant values in $data. For right now, we just escape the '&', '<' and '>' characters.

Minimal escaping

We currently do fairly minimal escaping. Will probably use HTML::Entities or some other module to deal with this.

Nothing known.

SPOPS::Export

SPOPS::Manual::ImportExport

Copyright (c) 2001-2004 intes.net, inc.. All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Chris Winters <chris@cwinters.com>
2004-06-02 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.