XML Help and Schemas for SWIS DIP
SWIS DIP participants can submit their inspection data in XML (EXtensible Markup Language) format through machine-to-machine transfer via XML web services. Generally, XML would only be used by LEAs who already have an in-house database system such as Decade’s EnvisionConnect. An LEA could develop their own system, but it would require an information technology professional familiar with XML programming transforming the in-house system into the very specific XML schema developed by CalRecycle for SWIS DIP.
Using Envision Connect
If you choose to use Envision Connect to submit inspection
data, review the
Guidelines for XML Submission (PDF,
770 KB) and complete/submit the
Application for XML Submission (Adobe PDF, 378 KB)
(6/1/11) to
CalRecycle. Once approved, (may take up to 2 weeks), CalRecycle
IT staff will contact the LEA technical staff person to provide
necessary codes so you can begin submitting data.
Developing Own System
If your LEA is going to develop its’ own system, it is
important to grasp the fundamentals of XML. Having an
understanding of XML data types, elements, regular expressions,
attributes are all essential in order to create XML documents
which will be accepted by CalRecycle. Additionally,
understanding XSD (XML Schema Definition) schemas is also
essential in order to make your XML compliant with CalRecycle.
Please note that CalRecycle cannot provide training or
assistance in XML programming to LEAs. LEAs will need
to use their own in-house information technology resources or
find contractors/vendors who can perform this type of work.
Below are some links that may be useful starting points for learning more about XML.
- http://msdn.microsoft.com/en-us/xml/default.aspx
- http://www.w3schools.com/xml/default.asp
- http://www.xml.com/pub/a/98/10/guide0.html
To begin the process, review the
Guidelines for XML Submission (PDF,
770 KB) and complete/submit the
Application for XML Submission (Adobe PDF, 378 KB)
(6/1/11) to
CalRecycle checking the appropriate box. Once approved, (may
take up to 2 weeks), CalRecycle IT staff will contact the LEA
technical staff person with the XML schemas so your system can
be designed and will work with your IT staff to test the system
before you can begin submitting data. Any significant
changes/updates to XML schemas will be posted on the SWIS DIP
website and significant advanced notice provided to existing
SWIS DIP users.
Schemas
All XML schemas used as part of the SWIS Digital Inspections Program (SWIS DIP) are included here. Any significant changes/updates to XML schemas will be posted here with significant advanced notice to existing SWIS DIP users.
Current Schemas
- Inspection Schema (Version 1.0, Sept.2009
Note)
www.calrecycle.ca.gov/schemas/swis/SWISInspectionv1.xsd - Submissions Results Schema (Version 1.0,
Sept.2009)
www.calrecycle.ca.gov/schemas/swis/SWISInspectionResponsev1.xsd
Past Schemas
- Inspection Schema (Version 1.0 - Nov.2008,
Notes)
www.calrecycle.ca.gov/schemas/swis/SWISInspectionv1-Nov2008.xsd
Solid Waste Facilities' Digital Inspection Program, http://www.calrecycle.ca.gov/SWFacilities/Inspections/DIP/
Cody Oquendo: Cody.Oquendo@CalRecycle.ca.gov (916) 341-6719
