<i id='3zB1l'><tr id='3zB1l'><dt id='3zB1l'><q id='3zB1l'><span id='3zB1l'><b id='3zB1l'><form id='3zB1l'><ins id='3zB1l'></ins><ul id='3zB1l'></ul><sub id='3zB1l'></sub></form><legend id='3zB1l'></legend><bdo id='3zB1l'><pre id='3zB1l'><center id='3zB1l'></center></pre></bdo></b><th id='3zB1l'></th></span></q></dt></tr></i><div id='3zB1l'><tfoot id='3zB1l'></tfoot><dl id='3zB1l'><fieldset id='3zB1l'></fieldset></dl></div>

    <tfoot id='3zB1l'></tfoot>

    • <bdo id='3zB1l'></bdo><ul id='3zB1l'></ul>

    <small id='3zB1l'></small><noframes id='3zB1l'>

        <legend id='3zB1l'><style id='3zB1l'><dir id='3zB1l'><q id='3zB1l'></q></dir></style></legend>
      1. 从 XSD 生成 PHP 类?

        generate PHP classes from XSD?(从 XSD 生成 PHP 类?)
        • <bdo id='E3LYj'></bdo><ul id='E3LYj'></ul>
          <i id='E3LYj'><tr id='E3LYj'><dt id='E3LYj'><q id='E3LYj'><span id='E3LYj'><b id='E3LYj'><form id='E3LYj'><ins id='E3LYj'></ins><ul id='E3LYj'></ul><sub id='E3LYj'></sub></form><legend id='E3LYj'></legend><bdo id='E3LYj'><pre id='E3LYj'><center id='E3LYj'></center></pre></bdo></b><th id='E3LYj'></th></span></q></dt></tr></i><div id='E3LYj'><tfoot id='E3LYj'></tfoot><dl id='E3LYj'><fieldset id='E3LYj'></fieldset></dl></div>

          <small id='E3LYj'></small><noframes id='E3LYj'>

          • <tfoot id='E3LYj'></tfoot>

                  <tbody id='E3LYj'></tbody>
              1. <legend id='E3LYj'><style id='E3LYj'><dir id='E3LYj'><q id='E3LYj'></q></dir></style></legend>
                1. 本文介绍了从 XSD 生成 PHP 类?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  世界上有 JavaBeans 或 PHP 的 JAXB 的类似物吗?是否可以从 XML 模式生成 PHP 类?

                  Is there in the world analogues of JavaBeans or JAXB for PHP? Is it possible to generate PHP classes from XML schema?

                  将 API 发布为 XSD 架构是一种常见的做法.Java 和 C# 人员可以通过直接从 XSD 生成类来利用这一点.PHP有同样的工具吗?

                  It's common practice to publish API's as XSD schemas. Java and C# guys can get advantage of this by generating classes right from XSD. Is there same tool for PHP?

                  推荐答案

                  我现在正在处理这个问题,并会在它达到更不稳定的状态时立即发布该工具.在这里查看 http://mikebevz.com/xsd-to-php-tool/

                  更新.我刚刚发布了第一个工作原型,它适用于 UBL 2.0 模式和一个简单的模式,但更严格的测试正在进行中.如果您发送您正在使用的模式,我将不胜感激,因此我会将它们包含在测试套件中.

                  I'm working now on this issue and going to release the tool as soon as it reaches more-less stable state. Check here http://mikebevz.com/xsd-to-php-tool/

                  Upd. I've just release first working prototype, it works fine with UBL 2.0 schemas and one simple schema, but more serious testing is on the way. I'd appreciate if you send schemas you're working with, so I'd include them in the test suite.

                  更新.2. XSD2PHP 达到 0.0.5 版本.查看 https://github.com/moyarada/XSD-to-PHP 的进度

                  Upd. 2. XSD2PHP reached version 0.0.5. Check the progress on https://github.com/moyarada/XSD-to-PHP

                  这篇关于从 XSD 生成 PHP 类?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  DeepL的翻译效果还是很强大的,如果我们要用php实现DeepL翻译调用,该怎么办呢?以下是代码示例,希望能够帮到需要的朋友。 在这里需要注意,这个DeepL的账户和api申请比较难,不支持中国大陆申请,需要拥有香港或者海外信用卡才行,没账号的话,目前某宝可以
                  PHP通过phpspreadsheet导入Excel日期,导入系统后,全部变为了4开头的几位数字,这是为什么呢?原因很简单,将Excel的时间设置问文本,我们就能看到该日期本来的数值,上图对应的数值为: 要怎么解决呢?进行数据转换就行,这里可以封装方法,或者用第三方的
                  mediatemple - can#39;t send email using codeigniter(mediatemple - 无法使用 codeigniter 发送电子邮件)
                  Laravel Gmail Configuration Error(Laravel Gmail 配置错误)
                  Problem with using PHPMailer for SMTP(将 PHPMailer 用于 SMTP 的问题)
                  Issue on how to setup SMTP using PHPMailer in GoDaddy server(关于如何在 GoDaddy 服务器中使用 PHPMailer 设置 SMTP 的问题)
                2. <i id='ErGpl'><tr id='ErGpl'><dt id='ErGpl'><q id='ErGpl'><span id='ErGpl'><b id='ErGpl'><form id='ErGpl'><ins id='ErGpl'></ins><ul id='ErGpl'></ul><sub id='ErGpl'></sub></form><legend id='ErGpl'></legend><bdo id='ErGpl'><pre id='ErGpl'><center id='ErGpl'></center></pre></bdo></b><th id='ErGpl'></th></span></q></dt></tr></i><div id='ErGpl'><tfoot id='ErGpl'></tfoot><dl id='ErGpl'><fieldset id='ErGpl'></fieldset></dl></div>
                3. <legend id='ErGpl'><style id='ErGpl'><dir id='ErGpl'><q id='ErGpl'></q></dir></style></legend>
                      • <bdo id='ErGpl'></bdo><ul id='ErGpl'></ul>

                            <small id='ErGpl'></small><noframes id='ErGpl'>

                              <tbody id='ErGpl'></tbody>

                            <tfoot id='ErGpl'></tfoot>