2006年08月01日 星期二 08:57
就是这个意思。不过要和java兼容的话就要求使用统一的类型。。。比如都使用.net的类型或者使用IDL类型 ----- Original Message ----- From: wang yingqi To: python-chinese at lists.python.cn Sent: Monday, July 31, 2006 10:11 PM Subject: Re: [python-chinese] 目前有没有类似Java的xmldecoder和xmlencoder的Python实现? 是我没说清楚,不好意思,我不知道你指的列集与我想的是不是一样的,其实我想要的就是将一个对象序列化到一个xml文件中去,再在适当的时候将其反序列化(对象化?)为一个内存对象.dot Net也有类似的功能,Java的xml en/decoder也完成了这个功能,我想python是不是也有?如果有的话,.是什么?没有的话,有没有人需要?大家可以讨论研究尝试实现一份! On 7/31/06, chenwei <chenwei at sobey.com> wrote: 是指对象的Marshal/DeMarshal吧 ----- Original Message ----- From: "limodou" < limodou at gmail.com> To: <python-chinese at lists.python.cn> Sent: Monday, July 31, 2006 4:38 PM Subject: Re: [python-chinese] 目前有没有类似Java的xmldecoder和xmlencoder的Python实现? > On 7/31/06, wang yingqi <wangyingqi at gmail.com> wrote: >> >> 大家好~ >> 将xml数据对象化,而且可以兼容Java 的XML de/encoder的实现?目前有没有现成的? >> 谢~ >> > 没看懂。数据怎么对象化,能说得再清楚一些吗?或举一个例子什么的。 > > -- > I like python! > My Blog: http://www.donews.net/limodou > My Django Site: http://www.djangocn.org > NewEdit Maillist: http://groups.google.com/group/NewEdit > -------------------------------------------------------------------------------- > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese _______________________________________________ python-chinese Post: send python-chinese at lists.python.cn Subscribe: send subscribe to python-chinese-request at lists.python.cn Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn Detail Info: http://python.cn/mailman/listinfo/python-chinese -- wangyingqi c++/python/palm/ ------------------------------------------------------------------------------ _______________________________________________ python-chinese Post: send python-chinese at lists.python.cn Subscribe: send subscribe to python-chinese-request at lists.python.cn Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn Detail Info: http://python.cn/mailman/listinfo/python-chinese -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060801/a8a1d20a/attachment.html
2006年08月01日 星期二 09:32
嗯,我想我解释的清楚了一些! 其实这个也是在实际中需要的才提出来~,因为跨语言交互数据的时候,一个java对象转为xml存在数据库中,python想用它,于是就有了这个需求。 xml de/encoder在java中应用很多(java我不熟,有其他同学告诉我的!:)),因此,我想如果python也有一份兼容实现的话,应该有其用武之地! On 8/1/06, chenwei <chenwei at sobey.com> wrote: > > 就是这个意思。不过要和java兼容的话就要求使用统一的类型。。。比如都使用.net的类型或者使用IDL类型 > > ----- Original Message ----- > *From:* wang yingqi <wangyingqi at gmail.com> > *To:* python-chinese at lists.python.cn > *Sent:* Monday, July 31, 2006 10:11 PM > *Subject:* Re: [python-chinese] > 目前有没有类似Java的xmldecoder和xmlencoder的Python实现? > > > 是我没说清楚,不好意思,我不知道你指的列集与我想的是不是一样的,其实我想要的就是将一个对象序列化到一个xml文件中去,再在适当的时候将其反序列化(对象化?)为一个内存对象.dot > Net也有类似的功能,Java的xml > en/decoder也完成了这个功能,我想python是不是也有?如果有的话,.是什么?没有的话,有没有人需要?大家可以讨论研究尝试实现一份! > > On 7/31/06, chenwei <chenwei at sobey.com> wrote: > > > > 是指对象的Marshal/DeMarshal吧 > > ----- Original Message ----- > > From: "limodou" < limodou at gmail.com> > > To: <python-chinese at lists.python.cn> > > Sent: Monday, July 31, 2006 4:38 PM > > Subject: Re: [python-chinese] > > 目前有没有类似Java的xmldecoder和xmlencoder的Python实现? > > > > > > > On 7/31/06, wang yingqi <wangyingqi at gmail.com> wrote: > > >> > > >> 大家好~ > > >> 将xml数据对象化,而且可以兼容Java 的XML de/encoder的实现?目前有没有现成的? > > >> 谢~ > > >> > > > 没看懂。数据怎么对象化,能说得再清楚一些吗?或举一个例子什么的。 > > > > > > -- > > > I like python! > > > My Blog: http://www.donews.net/limodou > > > My Django Site: http://www.djangocn.org > > > NewEdit Maillist: http://groups.google.com/group/NewEdit > > > > > > > > > -------------------------------------------------------------------------------- > > > > > > > > > _______________________________________________ > > > python-chinese > > > Post: send python-chinese at lists.python.cn > > > Subscribe: send subscribe to python-chinese-request at lists.python.cn > > > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > > > > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > _______________________________________________ > > python-chinese > > Post: send python-chinese at lists.python.cn > > Subscribe: send subscribe to python-chinese-request at lists.python.cn > > Unsubscribe: send unsubscribe to > > python-chinese-request at lists.python.cn > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > > > -- > wangyingqi > c++/python/palm/ > > ------------------------------ > > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > -- wangyingqi c++/python/palm/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060801/be105245/attachment.htm
2006年08月01日 星期二 09:45
On 8/1/06, wang yingqi <wangyingqi at gmail.com> wrote: > > 嗯,我想我解释的清楚了一些! > 其实这个也是在实际中需要的才提出来~,因为跨语言交互数据的时候,一个java对象转为xml存在数据库中,python想用它,于是就有了这个需求。 > xml > de/encoder在java中应用很多(java我不熟,有其他同学告诉我的!:)),因此,我想如果python也有一份兼容实现的话,应该有其用武之地! > > java的序列化没怎么用过,好象也没有看到有python的实现。至于用武之地嘛,可以试试jython呢? -- I like python! My Blog: http://www.donews.net/limodou My Django Site: http://www.djangocn.org NewEdit Maillist: http://groups.google.com/group/NewEdit
2006年08月01日 星期二 09:59
Èç¹ûÄãÖ»ÊÇÏë¸újava½»»»Êý¾ÝµÄ»°£¬ÄÇô¿ÉÒÔÓÃjythonµ÷javaµÄÏà¹ØÀà ²»¹ýÄ¿Ç°jython»¹²»ÄÜÍêȫʵÏÖpython2.2µÄËùÓÐÌØÐÔ Best Regards, Zachary Wu (Îâ°~ÀÚ) Software Engineer, Enterprise Content Management FVT, IBM China Software Development Lab Tel: +86 10 82782244-3235. Fax: 82782244-2886 Tie Line: 915-2244-3235 Internet: xiaoleiw at cn.ibm.com Notes ID: Xiao Lei Wu/China/Contr/IBM at IBMCN Address: 8/F, Block A, Power Creative Building, No.1, East Road, Shang Di, Beijing 100085, P.R. China python-chinese-bounces at lists.python.cn дÓÚ 2006-08-01 09:32:13: > àÅ£¬ÎÒÏëÎÒ½âÊ͵ÄÇå³þÁËһЩ£¡ > ÆäʵÕâ¸öÒ²ÊÇÔÚʵ¼ÊÖÐÐèÒªµÄ²ÅÌá³öÀ´¡«£¬ÒòΪ¿çÓïÑÔ½»»¥Êý¾ÝµÄʱºò£¬Ò»¸ö > java¶ÔÏóתΪxml´æÔÚÊý¾Ý¿âÖÐ,pythonÏëÓÃËü£¬ÓÚÊǾÍÓÐÁËÕâ¸öÐèÇó¡£ > xml de/encoderÔÚjavaÖÐÓ¦ÓúܶࣨjavaÎÒ²»Ê죬ÓÐÆäËûͬѧ¸æËßÎÒ > µÄ£¡£º£©£©£¬Òò´Ë£¬ÎÒÏëÈç¹ûpythonÒ²ÓÐÒ»·Ý¼æÈÝʵÏֵĻ°£¬Ó¦¸ÃÓÐÆäÓÃÎäÖ®µØ£¡ > > > On 8/1/06, chenwei <chenwei at sobey.com> wrote: > ¾ÍÊÇÕâ¸öÒâ˼¡£²»¹ýÒªºÍjava¼æÈݵĻ°¾ÍÒªÇóʹÓÃͳһµÄÀàÐÍ¡£¡£¡£±ÈÈ綼ʹ > ÓÃ.netµÄÀàÐÍ»òÕßʹÓÃIDLÀàÐÍ > ----- Original Message ----- > From: wang yingqi > To: python-chinese at lists.python.cn > Sent: Monday, July 31, 2006 10:11 PM > Subject: Re: [python-chinese] Ä¿Ç°ÓÐûÓÐÀàËÆJavaµÄxmldecoderºÍ > xmlencoderµÄPythonʵÏÖ£¿ > > > ÊÇÎÒû˵Çå³þ,²»ºÃÒâ˼£¬ÎÒ²»ÖªµÀÄãÖ¸µÄÁм¯ÓëÎÒÏëµÄÊDz»ÊÇÒ»ÑùµÄ£¬Æäʵ > ÎÒÏëÒªµÄ¾ÍÊǽ«Ò»¸ö¶ÔÏóÐòÁл¯µ½Ò»¸öxmlÎļþÖÐÈ¥,ÔÙÔÚÊʵ±µÄʱºò½«Æä·´Ðò > Áл¯(¶ÔÏó»¯?)Ϊһ¸öÄÚ´æ¶ÔÏó.dot NetÒ²ÓÐÀàËƵŦÄÜ£¬JavaµÄxml > en/decoderÒ²Íê³ÉÁËÕâ¸ö¹¦ÄÜ£¬ÎÒÏëpythonÊDz»ÊÇÒ²ÓÐ?Èç¹ûÓеĻ°,.ÊÇʲô£¿ > ûÓеĻ°£¬ÓÐûÓÐÈËÐèÒª?´ó¼Ò¿ÉÒÔÌÖÂÛÑо¿³¢ÊÔʵÏÖÒ»·Ý! > On 7/31/06, chenwei <chenwei at sobey.com> wrote: > ÊÇÖ¸¶ÔÏóµÄMarshal/DeMarshal°É > ----- Original Message ----- > From: "limodou" < limodou at gmail.com> > To: <python-chinese at lists.python.cn> > Sent: Monday, July 31, 2006 4:38 PM > Subject: Re: [python-chinese] Ä¿Ç°ÓÐûÓÐÀàËÆJavaµÄxmldecoderºÍ > xmlencoderµÄPythonʵÏÖ£¿ > > > > On 7/31/06, wang yingqi < wangyingqi at gmail.com> wrote: > >> > >> ´ó¼ÒºÃ¡« > >> ½«xmlÊý¾Ý¶ÔÏ󻯣¬¶øÇÒ¿ÉÒÔ¼æÈÝJava µÄXML de/encoderµÄʵÏÖ£¿Ä¿Ç°ÓÐûÓÐÏÖ ³ÉµÄ£¿ > >> л~ > >> > > û¿´¶®¡£Êý¾ÝÔõô¶ÔÏ󻯣¬ÄÜ˵µÃÔÙÇå³þһЩÂ𣿻ò¾ÙÒ»¸öÀý×ÓʲôµÄ¡£ > > > > -- > > I like python! > > My Blog: http://www.donews.net/limodou > > My Django Site: http://www.djangocn.org > > NewEdit Maillist: http://groups.google.com/group/NewEdit > > > > > -------------------------------------------------------------------------------- > > > > _______________________________________________ > > python-chinese > > Post: send python-chinese at lists.python.cn > > Subscribe: send subscribe to python-chinese-request at lists.python.cn > > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > -- > wangyingqi > c++/python/palm/ > > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > -- > wangyingqi > c++/python/palm/ _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060801/704452d3/attachment.htm
2006年08月01日 星期二 10:07
²»¿ÉÄÜΪÁËÕâ¸öÐèÇó¾Í»»jython£¬Ä¿Ç°µÄ×ö·¨ÊÇдһ¸öС·¶Î§µÄÊÊÓù¤¾ß¶øÒÑ£¬Âú×ãÁËÎÒ×Ô¼ºµÄÐèÇó£¬ÓÐЩʱºò¾ÍÊÇÕâÑù£¬Æäʵ×Ô¼ºµÄÐèÇóºÜ¼òµ¥µÄ£¬µ«ÊÇ×ÜÊÇÍù´óÁËÏ룬Ïë×öͨÓõģ¬Ïë±ðÈËÒ²ÄÜ´ÓÖлñÒ棬ºÇºÇ£¡ »¹ÓУ¬ÕâЩ²»ÄܵȰɣ¬¿ÉÒÔÕÒÒ»ÏÂjavaתºóµÄdtd£¬ÓÐʱ¼äÒªÏëÏë¿´¡«£º£© On 8/1/06, Xiao Lei Wu <xiaoleiw at cn.ibm.com> wrote: > > Èç¹ûÄãÖ»ÊÇÏë¸újava½»»»Êý¾ÝµÄ»°£¬ÄÇô¿ÉÒÔÓÃjythonµ÷javaµÄÏà¹ØÀà > ²»¹ýÄ¿Ç°jython»¹²»ÄÜÍêȫʵÏÖpython2.2µÄËùÓÐÌØÐÔ > > > Best Regards, > > Zachary Wu (Îâ°~ÀÚ) > Software Engineer, Enterprise Content Management FVT, IBM China Software > Development Lab > Tel: +86 10 82782244-3235. Fax: 82782244-2886 Tie Line: 915-2244-3235 > Internet: xiaoleiw at cn.ibm.com > Notes ID: Xiao Lei Wu/China/Contr/IBM at IBMCN > Address: 8/F, Block A, Power Creative Building, No.1, East Road, Shang Di, > Beijing 100085, P.R. China > > python-chinese-bounces at lists.python.cn дÓÚ 2006-08-01 09:32:13: > > > àÅ£¬ÎÒÏëÎÒ½âÊ͵ÄÇå³þÁËһЩ£¡ > > ÆäʵÕâ¸öÒ²ÊÇÔÚʵ¼ÊÖÐÐèÒªµÄ²ÅÌá³öÀ´¡«£¬ÒòΪ¿çÓïÑÔ½»»¥Êý¾ÝµÄʱºò£¬Ò»¸ö > > java¶ÔÏóתΪxml´æÔÚÊý¾Ý¿âÖÐ,pythonÏëÓÃËü£¬ÓÚÊǾÍÓÐÁËÕâ¸öÐèÇó¡£ > > > xml de/encoderÔÚjavaÖÐÓ¦ÓúܶࣨjavaÎÒ²»Ê죬ÓÐÆäËûͬѧ¸æËßÎÒ > > µÄ£¡£º£©£©£¬Òò´Ë£¬ÎÒÏëÈç¹ûpythonÒ²ÓÐÒ»·Ý¼æÈÝʵÏֵĻ°£¬Ó¦¸ÃÓÐÆäÓÃÎäÖ®µØ£¡ > > > > > > On 8/1/06, chenwei <chenwei at sobey.com> wrote: > > ¾ÍÊÇÕâ¸öÒâ˼¡£²»¹ýÒªºÍjava¼æÈݵĻ°¾ÍÒªÇóʹÓÃͳһµÄÀàÐÍ¡£¡£¡£±ÈÈ綼ʹ > > ÓÃ.netµÄÀàÐÍ»òÕßʹÓÃIDLÀàÐÍ > > ----- Original Message ----- > > From: wang yingqi > > To: python-chinese at lists.python.cn > > Sent: Monday, July 31, 2006 10:11 PM > > Subject: Re: [python-chinese] Ä¿Ç°ÓÐûÓÐÀàËÆJavaµÄxmldecoderºÍ > > xmlencoderµÄPythonʵÏÖ£¿ > > > > > > ÊÇÎÒû˵Çå³þ,²»ºÃÒâ˼£¬ÎÒ²»ÖªµÀÄãÖ¸µÄÁм¯ÓëÎÒÏëµÄÊDz»ÊÇÒ»ÑùµÄ£¬Æäʵ > > ÎÒÏëÒªµÄ¾ÍÊǽ«Ò»¸ö¶ÔÏóÐòÁл¯µ½Ò»¸öxmlÎļþÖÐÈ¥,ÔÙÔÚÊʵ±µÄʱºò½«Æä·´Ðò > > Áл¯(¶ÔÏó»¯?)Ϊһ¸öÄÚ´æ¶ÔÏó.dot NetÒ²ÓÐÀàËƵŦÄÜ£¬JavaµÄxml > > en/decoderÒ²Íê³ÉÁËÕâ¸ö¹¦ÄÜ£¬ÎÒÏëpythonÊDz»ÊÇÒ²ÓÐ?Èç¹ûÓеĻ°,.ÊÇʲô£¿ > > ûÓеĻ°£¬ÓÐûÓÐÈËÐèÒª?´ó¼Ò¿ÉÒÔÌÖÂÛÑо¿³¢ÊÔʵÏÖÒ»·Ý! > > > On 7/31/06, chenwei <chenwei at sobey.com> wrote: > > ÊÇÖ¸¶ÔÏóµÄMarshal/DeMarshal°É > > ----- Original Message ----- > > From: "limodou" < limodou at gmail.com> > > To: <python-chinese at lists.python.cn> > > Sent: Monday, July 31, 2006 4:38 PM > > Subject: Re: [python-chinese] Ä¿Ç°ÓÐûÓÐÀàËÆJavaµÄxmldecoderºÍ > > xmlencoderµÄPythonʵÏÖ£¿ > > > > > > > On 7/31/06, wang yingqi < wangyingqi at gmail.com> wrote: > > >> > > >> ´ó¼ÒºÃ¡« > > >> ½«xmlÊý¾Ý¶ÔÏ󻯣¬¶øÇÒ¿ÉÒÔ¼æÈÝJava µÄXML de/encoderµÄʵÏÖ£¿Ä¿Ç°ÓÐûÓÐÏֳɵģ¿ > > >> л~ > > >> > > > û¿´¶®¡£Êý¾ÝÔõô¶ÔÏ󻯣¬ÄÜ˵µÃÔÙÇå³þһЩÂ𣿻ò¾ÙÒ»¸öÀý×ÓʲôµÄ¡£ > > > > > > -- > > > I like python! > > > My Blog: http://www.donews.net/limodou > > > My Django Site: http://www.djangocn.org > > > NewEdit Maillist: http://groups.google.com/group/NewEdit > > > > > > > > > > -------------------------------------------------------------------------------- > > > > > > > _______________________________________________ > > > python-chinese > > > Post: send python-chinese at lists.python.cn > > > Subscribe: send subscribe to python-chinese-request at lists.python.cn > > > Unsubscribe: send unsubscribe to > python-chinese-request at lists.python.cn > > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > _______________________________________________ > > python-chinese > > Post: send python-chinese at lists.python.cn > > Subscribe: send subscribe to python-chinese-request at lists.python.cn > > Unsubscribe: send unsubscribe to > python-chinese-request at lists.python.cn > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > > > > > -- > > wangyingqi > > c++/python/palm/ > > > > _______________________________________________ > > python-chinese > > Post: send python-chinese at lists.python.cn > > Subscribe: send subscribe to python-chinese-request at lists.python.cn > > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > _______________________________________________ > > python-chinese > > Post: send python-chinese at lists.python.cn > > Subscribe: send subscribe to python-chinese-request at lists.python.cn > > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > > > > > -- > > wangyingqi > > c++/python/palm/ _______________________________________________ > > > python-chinese > > Post: send python-chinese at lists.python.cn > > Subscribe: send subscribe to python-chinese-request at lists.python.cn > > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > -- wangyingqi c++/python/palm/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060801/797e2600/attachment.html
2006年08月01日 星期二 10:11
On 8/1/06, wang yingqi <wangyingqi at gmail.com> wrote: > > 不可能为了这个需求就换jython,目前的做法是写一个小范围的适用工具而已,满足了我自己的需求,有些时候就是这样,其实自己的需求很简单的,但是总是往大了想,想做通用的,想别人也能从中获益,呵呵! > > 还有,这些不能等吧,可以找一下java转后的dtd,有时间要想想看~:) > > 没有就自已做吧。 -- I like python! My Blog: http://www.donews.net/limodou My Django Site: http://www.djangocn.org NewEdit Maillist: http://groups.google.com/group/NewEdit
2006年08月01日 星期二 10:37
这种情况下,应该使用SOAP这样的语言中立的对象描述协议。 在06-8-1,wang yingqi <wangyingqi at gmail.com> 写道: > > 嗯,我想我解释的清楚了一些! > 其实这个也是在实际中需要的才提出来~,因为跨语言交互数据的时候,一个java对象转为xml存在数据库中,python想用它,于是就有了这个需求。 > xml > de/encoder在java中应用很多(java我不熟,有其他同学告诉我的!:)),因此,我想如果python也有一份兼容实现的话,应该有其用武之地! > > > On 8/1/06, chenwei <chenwei at sobey.com> wrote: > > > > 就是这个意思。不过要和java兼容的话就要求使用统一的类型。。。比如都使用.net的类型或者使用IDL类型 > > > > ----- Original Message ----- > > *From:* wang yingqi <wangyingqi at gmail.com> > > *To:* python-chinese at lists.python.cn > > *Sent:* Monday, July 31, 2006 10:11 PM > > *Subject:* Re: [python-chinese] > > 目前有没有类似Java的xmldecoder和xmlencoder的Python实现? > > > > > > 是我没说清楚,不好意思,我不知道你指的列集与我想的是不是一样的,其实我想要的就是将一个对象序列化到一个xml文件中去,再在适当的时候将其反序列化(对象化?)为一个内存对象.dot > > Net也有类似的功能,Java的xml > > en/decoder也完成了这个功能,我想python是不是也有?如果有的话,.是什么?没有的话,有没有人需要?大家可以讨论研究尝试实现一份! > > > > On 7/31/06, chenwei <chenwei at sobey.com> wrote: > > > > > > 是指对象的Marshal/DeMarshal吧 > > > ----- Original Message ----- > > > From: "limodou" < limodou at gmail.com> > > > To: <python-chinese at lists.python.cn> > > > Sent: Monday, July 31, 2006 4:38 PM > > > Subject: Re: [python-chinese] > > > 目前有没有类似Java的xmldecoder和xmlencoder的Python实现? > > > > > > > > > > On 7/31/06, wang yingqi < wangyingqi at gmail.com> wrote: > > > >> > > > >> 大家好~ > > > >> 将xml数据对象化,而且可以兼容Java 的XML de/encoder的实现?目前有没有现成的? > > > >> 谢~ > > > >> > > > > 没看懂。数据怎么对象化,能说得再清楚一些吗?或举一个例子什么的。 > > > > > > > > -- > > > > I like python! > > > > My Blog: http://www.donews.net/limodou > > > > My Django Site: http://www.djangocn.org > > > > NewEdit Maillist: http://groups.google.com/group/NewEdit > > > > > > > > > > > > > -------------------------------------------------------------------------------- > > > > > > > > > > > > > _______________________________________________ > > > > python-chinese > > > > Post: send python-chinese at lists.python.cn > > > > Subscribe: send subscribe to python-chinese-request at lists.python.cn > > > > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > > > > > > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > _______________________________________________ > > > python-chinese > > > Post: send python-chinese at lists.python.cn > > > Subscribe: send subscribe to python-chinese-request at lists.python.cn > > > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > > > > > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > > > > > > > > -- > > wangyingqi > > c++/python/palm/ > > > > ------------------------------ > > > > _______________________________________________ > > python-chinese > > Post: send python-chinese at lists.python.cn > > Subscribe: send subscribe to python-chinese-request at lists.python.cn > > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > > _______________________________________________ > > python-chinese > > Post: send python-chinese at lists.python.cn > > Subscribe: send subscribe to python-chinese-request at lists.python.cn > > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > > > -- > wangyingqi > c++/python/palm/ > > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > -- 欢迎访问: http://blog.csdn.net/ccat 刘鑫 March.Liu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060801/2dc47937/attachment.htm
Zeuux © 2025
京ICP备05028076号