html - 在 HTML 代码中添加什么以打印成 CSV 或输出为 CSV
问题描述
在此处输入图像描述我可以在 HTML 中创建和打印,但不能确定如何转换或添加某些内容以将其打印到 CSV 文件或 CSV 输出中。
<HTML>
<BODY>
<TABLE border="1">
<?relevance
tr of concatenation of (th of "Computer Name" & th of "Support Group" & th of "Last Report Time" & th of "BES Relay Service Installed" & th of "OS Platform" & th of "Is BES Infrastructure") & concatenation of trs of (td of (item 0 of it as string) & td of (item 1 of it as string) & td of (item 2 of it as string) & td of (item 3 of it as string) & td of (item 4 of it as string) & td of (item 5 of it as string)) of (name of it, values of results from (bes property "Support Group") of it, last report time of it, values of results from (bes property "BES Relay Service Installed") of it, values of results from (bes property "OS Platform (Windows or Unix)") of it, values of results from (bes property "Is BES Infrastructure") of it) of bes computers whose (last report time of it < (now - 3*hour) AND (value of results from (bes property "BES Relay Service Installed") of it starts with "Yes") AND (value of results from (bes property "Is BES Infrastructure") of it starts with "True") AND (value of results from (bes property "Support Group") of it contains "GTO") )
?>
</TABLE>
</BODY>
</HTML>
解决方案
推荐阅读
- html - 使用正则表达式排除 html 并仅选择文本
- c# - Visual Studio:构建解决方案时输出时间戳
- mongodb - 使用内存存储引擎的 MongoDB 聚合查询性能
- react-native - 问题是指变量的范围
- javascript - 开玩笑模拟 pdfmake 和 fs.createWriteStream
- python - Python:删除某些条件以外的行
- c# - 应用文件夹图标更改
- automata - 从 A 构造一个新的 DFA B,其中 L(B) = L(A) - {w | w∈E* }
- javascript - 延迟加载不适用于引导轮播
- perl - Perl 对象和子对象的 JSDoc 样式注释