国产一级a片免费看高清,亚洲熟女中文字幕在线视频,黄三级高清在线播放,免费黄色视频在线看

打開APP
userphoto
未登錄

開通VIP,暢享免費電子書等14項超值服

開通VIP
CUJ >?Code Generation Templates Using XML and XSL
 

Code Generation Templates Using XML and XSL

Cristian Georgescu

XML is indisputably the long-awaited lingua franca for defining and transmitting structured data. With a little help from XSL, it can also generate C++ code for you.


Introduction

Dealing with complexity is one of the biggest challenges of programming. There is a great need for tools that help us to better understand and manage software complexity. Such tools would not only help create better code, but would also increase software development productivity. Code generators are tools that generate complex code from a simpler model. Code generators are therefore an ideal candidate for helping cope with software complexity.

XML is an open standard of the W3C (World Wide Web Consortium) designed for describing structured data. XSL (eXtensible Stylesheet Language) is a companion language used to transform and format XML. While XML is a way of representing information, XSL is the language for manipulating information [1].

XML and XSL have emerged from the need to exchange and present data over the Internet. Another reason for the emphatic acceptance of XML is that this technology has an unprecedented capability to yield surprisingly elegant solutions for the most unexpected problems. And perhaps the best kept secret of today’s hype around XSL is that it gives you the power to create your own code generators. Using XML and XSL together to create custom code generation templates may be yet another killer app for these two technologies.

In this article, I will explore the possibility of creating custom code generators using XML and XSL by presenting a simple example. XML will contain a representation of the conceptual model of the problem, whereas XSL will do the work of generating the code, based on information extracted from the XML model.<>

本站僅提供存儲服務,所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點擊舉報。
打開APP,閱讀全文并永久保存 查看更多類似文章
猜你喜歡
類似文章
3種即將肯定會沖擊市場的面向軟件開發(fā)人員的工具
自定義 Hibernate Tools 的模板
Choosing a Template Engine for code generation
Templates文件夾里面的東西能刪除嗎?
5+ jQuery Sitemap Plugins and Generator Tools
XML認證教程,第 4 部分: XSL樣式單
更多類似文章 >>
生活服務
分享 收藏 導長圖 關(guān)注 下載文章
綁定賬號成功
后續(xù)可登錄賬號暢享VIP特權(quán)!
如果VIP功能使用有故障,
可點擊這里聯(lián)系客服!

聯(lián)系客服