【问题标题】:How to make xml declaration and stylesheet in single line如何在单行中制作 xml 声明和样式表
【发布时间】:2017-06-21 18:41:16
【问题描述】:

基本上我项目的这一部分我无法弄清楚如何将 xml 声明和对样式表的引用放在一行中?

<?xml version="1.0"?> 
<?xml-stylesheet href="sweetShop.xsl" type="text/xsl" ?> 

【问题讨论】:

标签: xml stylesheet declaration


【解决方案1】:
<?xml version="1.0"?><?xml-stylesheet href="sweetShop.xsl" type="text/xsl" ?>

嗯,这很容易......

【讨论】:

  • 我只是认为有一种方法可以将它们结合起来,但我认为这是一个愚蠢的问题......谢谢
猜你喜欢
  • 2016-04-10
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2014-06-25
  • 2012-11-08
  • 2019-10-13
相关资源
最近更新 更多