w3pop.com :: ÍøÂçѧԺ :: APPML :: °¸ÀýÑо¿£ºHTML ±¨¸æ
AppML uses standard SQL to control the selection of data, and a query element to define data fields that can be queried at runtime.
AppMLʹÓñê×¼µÄSQLÀ´¿ØÖÆÊý¾ÝÑ¡Ôñ£¬Ê¹ÓòéÑ¯ÔªËØÀ´¶¨ÒåÔÚÔËÐÐʱ¼äÄÚÓÃÓÚ±»²éѯµÄÊý¾Ý×ֶΡ£
<appml> <database> <filters> <htmlreport/> </appml> |
Click here to see the output produced by the HTML Report Service.
µã»÷ÕâÀï²é¿´Í¨¹ýHTML±¨¸æ·þÎñ²úÉúµÄ½á¹û¡£
When you run the example, use the FILTER link at the top of the report to filter the report!
µ±ÄãÔËÐÐÕâ¸ö°¸Àýʱ£¬Ê¹ÓÃλÓÚ±¨¸æ¶¥²¿µÄFILTERÁ´½ÓÀ´¹ýÂ˱¨¸æ¡£
This AppML description has added information about ordering, querying, and filtering the data:
AppMLÃèÊöÒѾÌí¼ÓÁ˹ØÓÚ¶©µ¥¡¢²éѯºÍ¹ýÂËÊý¾ÝµÄÐÅÏ¢£º
<appml> <filters> <htmlreport/> |
Click here to see the output produced by the HTML Report Service.
µã»÷ÕâÀï²é¿´Í¨¹ýHTML±¨¸æ·þÎñ²úÉúµÄ½á¹û¡£
AppML is also perfect for producing HTML reports with a corporate layout.
AppML¶ÔÓÚʹÓù²Í¬²¼¾ÖÀ´²úÉúHTML±¨¸æÒ²ÊǷdz£ÍêÃÀµÄ¡£
By adding a <stylesheet> tag with the name of your own CSS file you can easily change the layout of a report.
ͨ¹ýÌí¼ÓÔÚÑëÊÓ±íÎļþÖÐÖ¸¶¨Ãû³ÆµÄ<stylesheet>±êÇ©£¬Äã¿ÉÒÔºÜÇáËɵظı䱨¸æµÄ²¼¾Ö¡£
By modifying the standard stylesheet ("appml_stylesheet.css"), you can easily change the layout of ALL your reports.
ͨ¹ýÐ޸ıê×¼µÄÑùʽ±íÎļþ£¨"appml_stylesheet.css"£©£¬Äã¿ÉÒÔºÜÇáËɵĸıäËùÓб¨¸æµÄ²¼¾Ö¡£
<appml> <htmlreport> |
Click here to see the output produced by the HTML Report Service.
µã»÷ÕâÀï²é¿´Í¨¹ýHTML±¨¸æ·þÎñ²úÉúµÄ½á¹û¡£
With AppML it is easy to create reports divided into sections, e.g. Sales per year, Sales per category, Customers by country, Sales per customer, etc.
ͨ¹ýAppML£¬Äã¿ÉÒÔºÜÇáËɵĴ´½¨±¨¸æÆ¬¶Ï¡£¾Ù¸öÀý×ÓÀ´Ëµ£¬±¨¸æÃ¿ÄêµÄÏúÊۼǼ¡¢¿Í»§¹ú¼®¡¢Ã¿»§Ïû·ÑÁ¿µÈµÈ¡£
The AppML <section> element divides the output into sections. Any legal HTML elements can be put inside this element. The AppML <break> element is used to define breaks in the report.
AppML<section>ÔªËØ½«²úÉúµÄ½á¹û·Ö³ÉÁËÈô¸ÉƬ¶Ï¡£ÈκÎÒ»¸öºÏ·¨µÄHTMLÔªËØ¿ÉÒÔ±»·Å½ø¸ÃÔªËØÄÚ¡£AppML<break>ÔªËØÊÇÓÃÓÚ¶¨Ò屨¸æÖеĻ»ÐзûµÄ¡£
View the output produced by the HTML Report Service
²é¿´ÓÉHTML±¨¸æ·þÎñµÄÊä³ö½á¹û
View the AppML source file
²é¿´AppMLÔ´Îļþ
Note: ALL the examples above use the same AppML service to produce the HTML report! This saves you a lot of development time!
×¢Ò⣺ÉÏÊöËùÓеݸÀý¶¼Ê¹ÓÃÁËͬÑùµÄAppML·þÎñÀ´Êä³öHTML±¨¸æ£¡Õ⽫½ÚÊ¡´óÁ¿µÄ¿ª·¢Ê±¼ä£¡
ÆÀÂÛ (0)
All