XSLT 2.0 我的xsd:日期时间字段,而我必须分配当前日期时间格式化为 [D01]-[M01]-[Y0001] [h01]:[m01]:[s01] and using the below function
format-dateTime(current-dateTime(), '[D01]-[M01]-[Y0001] [h01]:[m01]:[s01]')
我能够上面的输出分配到的x
我有两个xml结构中需要合并的两个变量。我试图在stackoverflow上基于不同的awnsers编写XSLT样式表,但是我没有成功。 第一个的结构是这样的: <root>
<content>
<text-block>
<descriptionHead>
Some description text for the text block head
我使用来处理XSLT和XML文件的一般java代码是: public static final String transformXmlDocument(String inputXmlString,
File xsltFile) {
TransformerFactory factory = TransformerFactory.newInstance();
S