包含text和子元素的node必须转换为大写文本

问题描述

这感觉很容易实现,但是我仍然努力争取:

Select group_concat(Query SEPARATOR ' union all ') as Full_Query from (SELECT CONCAT('SELECT ''',table_name,''',COUNT(*) FROM ',table_name) as Query
FROM information_schema.tables) AS T1 into @sql from (select 
table_schema db,table_name tablename from information_schema.tables where table_schema not in 
('performance_schema','mysql','information_schema')) t; 

我想通过XLST转换来实现此输出:

一些带有粗体的文本

某些文本/带有斜线

困难源于text()和rs的混合。由于rs还有其他事情要做,因此我必须分别进行text()和子节点的转换。

我有这个XLST:

prepare s from @sql; execute s; deallocate prepare s; 

但是输出总是将第二行的斜线放在行的开头:

一些带有粗体的文本

/一些带有斜线的文本

我该如何解决?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...