edwinuestc的个人博客分享 http://blog.sciencenet.cn/u/edwinuestc

博文

将SVRL结果转换成html的xsl文件

已有 9149 次阅读 2012-4-26 16:31 |个人分类:程序调试|系统分类:科研笔记| html

由于想要的html中包含了中文 要在xsl中事先声明 做法如下
<?xml version="1.0" encoding="GBK"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
xmlns:svrl="http://purl.oclc.org/dsdl/svrl"
  xmlns:xs="http://www.w3.org/2001/XMLSchema"
  xmlns:s="http://purl.oclc.org/dsdl/schematron"
xmlns:ax21="http://validation.hitsp.nist.gov/xsd">
 <xsl:output   method= "html"   encoding= "GB2312"   media-type= "text/html "/>


https://blog.sciencenet.cn/blog-615874-563898.html

上一篇:已经初见端倪
下一篇:modified string-replace-all
收藏 IP: 211.83.105.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...
扫一扫,分享此博文

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-5-20 07:32

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部