由买买提看人间百态

topics

全部话题 - 话题: xsl
1 2 3 4 5 下页 末页 (共5页)
c*****t
发帖数: 1879
1
来自主题: Programming版 - XSL question
Finally figured out the solution, just a bunch of trials and guesses :)












...


a>
q*u
发帖数: 2
2
来自主题: BuildingWeb版 - Urgent! html, css,xml,xsl, javascrip.
Does somebody know how to design a directory in the web? When you click on + ,
+ becomes -, and the subdirectory will show up; when you click again, -
becomes + and subdirectory disappear.
/////////folder.xsl file:

xmlns:xsl="http://www.w3.org/1999/XSL/Transform">










b****r
发帖数: 86
3

1



2


3


product是vendor的child.
是1,2,3还是1,3,2?
w*l
发帖数: 43
4
I want to display my "sho.gif" image in xml and xsl, but the result is just x
and no image is displayed. I don't know the reason, please help me out. thanks
a lot.
The xsl, xml and dtd files are as follows:
xsl:




xmlns:xsl = "http://www.w3.org/1999/XSL/Transform">
doctype-system
k****o
发帖数: 58
5
来自主题: XML版 - Help! About XSL.
You should use xsl:attribute like below.


select="linkurl"/>



b**l
发帖数: 63
6
来自主题: XML版 - Help! About XSL.
In XML, I have

...

http://bbs.mit.edu
Unknow Space

...

I want to have
http://bbs.mit.edu">Unknow Space
In XSL, I used
...

">



...
It doesn't work.
Who know the answer? Thanks!
r***e
发帖数: 38
7
来自主题: XML版 - Help! About XSL.
hehe, I think breeze means your tag is not closed.
I am new to xml, but i happened to read sth might help you
The IE5 doesn't support XSL perfectly, for attribute template
you have to use sth like this:


try it.
p*****e
发帖数: 58
8
来自主题: BuildingWeb版 - Urgent! html, css,xml,xsl, javascrip.
html is for formatting data for web browsers,
xml is for data representation,
xsl is for transform or tranlate xml data into html format or vise versa,
xsl is xml, so all rules that apply to xml apply to xsl too.
javascript is for any computation that html, xml, or xsl may need.
for example, you can use javascript to calculate the value of some xml, (or
html) node from values of other nodes in the same document
in html, javascripts are all used to handle user actions.

,
b****e
发帖数: 1275
9
first of all you didn't post all your code.. which is not
very good if you want help..
but anyway.. change your xsl:for-each line to:



should solve this
c*******r
发帖数: 5
10

Oh,
XSLT是一种用来进行XML文档间相互转化的语言。它的设计目标是被用作XSL的一部分。XSL是
XML的样式表语言,定义了描述样式的词汇集。而XSLT则描述怎样把一个文档转化为是用这个词
汇集的XML文档。在这个意义上,XSL描述了XML文档的样式。
w*****s
发帖数: 122
11
[May 08, 2000] REXP: Rendering Engine for XML/XSL to PDF. Bovone Stefano has posted an
announcement for an early release version of an XML/XSL formatting engine. REXP is an open source
project and everyone is welcome to collaborate on its development. "REXP, a Rendering Engine from
XML/XSL into PDF, is an early implementation of a Formatting Objects engine. REXP is based on FOP
version 0.9.2 (now Apache open source) and has been developed by the Department of Biophysical and
M****d
发帖数: 26
12
Hi, XML Gurus,
I am quite new in XML, and currently I am running into a problem regarding
XML/XSL.
We know that we can transform an XML file to another XML file by using some
XSL file. Now we got the original XML file and the final output XML file, we
don't know if there is a way for us to find/generate an XSL file which can
fit in this transformation. If possible, could you tell us where can we find
more information on that.
Thanks a lot for your attention, and have a nice weekend.
f****y
发帖数: 70
13
来自主题: XML版 - xsl里如何表示空格?
象在html里,有 表示空格,我写xsl的时候有时候就要让有些地方有空格。但是用
&nbsk\p;在xsk里会出错。
那么就直接用空格,好像又没有什么作用,请教空格应该怎么弄在xsl里。
如:






这样写在xsl里出错,拿掉 ,直接用空格在显示上又没有空格效果。
N*D
发帖数: 3641
14
来自主题: Seattle版 - NND 封 xsl 在 Seattle 版
【 以下文字转载自 Notice 讨论区 】
发信人: deliver (自动发信系统), 信区:
标 题: NND 封 xsl 在 Seattle 版
发信站: BBS 未名空间站自动发信系统 (Thu Dec 30 12:14:22 2010)
【此篇文章是由自动发信系统所张贴】
由于 xsl 在 Seattle 版的 言语粗俗 行为,
被暂时取消在本版的发文权力 1 天。
版主:NND
Thu Dec 30 12:13:40 2010
c*******r
发帖数: 5
15

xsl can can a xml from one DTD to another DTD.
xsl is a certain kind of xml too.
b********g
发帖数: 10
16
来自主题: XML版 - 关于XSL的问题
请教各位高手:
我在使用XSL来显示XML的时候, 需要用Perl先生成一个XML文件, 然
后再生成需要的XSL文件.
但是我发现这样做有一个问题:
如果有两个用户同时要求显示该XML文件的时候, 会发生冲突.
也就是说, 会同时象一个文件中写东西.
着样就会出错.
请问这个问题该怎么解决?
谢谢了.
b********g
发帖数: 10
17
来自主题: XML版 - IE支持XSL-FO吗?
我在XSL中使用了XSL-FO,但是好像不起作用.
哪位大侠做过这方面的东西,请指点一下,
谢谢了.
n***i
发帖数: 84
18
来自主题: XML版 - xsl里如何表示空格?
try
m***l
发帖数: 1846
19
【 以下文字转载自 Seattle 讨论区 】
发信人: belle (红豆~~闲看山色分晴雨细辨茶香说古今), 信区: Seattle
标 题: Re: 俺在这里向xsl说声对不起
发信站: BBS 未名空间站 (Fri Mar 5 01:49:29 2010, 美东)
想起msn上一个人的nick写着
其实人生就好像一个B字,看你怎么发展了。往北走就是NB,往南走就是SB。
q*u
发帖数: 2
20
来自主题: BuildingWeb版 - Help! books on html, css,xml,xsl, javascrip.
Does someone know good books or linkd on html, css, xml, xsl and javascript?
Thanks a lot for your kind help!
J********r
发帖数: 36
21
如题,我试着减少xsl里的代码,程序就能正常运行了,感觉是XSL文件里的代码太
长了,但是又不能减少。一直调试不出来。 Stack Trace如下:
javax.xml.transform.TransformerException: java.lang.
ArrayIndexOutOfBoundsException: -1
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.
transform(TransformerImpl.java:716)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.
transform(TransformerImpl.java:313)
at preorder.XslResponseProcessor.transformResponse(XslResponseProcessor.
java:81)
at preorder.webservice.invoker.IaEdiI... 阅读全帖
c*****t
发帖数: 1879
22
来自主题: Programming版 - XSL question
I have an XML document that somewhere has the following
blah blah blah, encounted a
java.lang.Object, and blah
blah blah

There can be more links in there. My question is how to write the XSL
such that I can convert it to

blah blah blah, encountered a java.lang.Object,
and blah blah blah


I couldn't figure out how to deal with text and link at the sam
o******k
发帖数: 1
23

XML is a markup language, it is a superset of HTML,
main difference between XML and HTML is, XML can keep
semantic information, so a XML file can be used by
different applications.
XSL is used to transfer XML to HTML or any other markup
language)by pattern matching.
This is my understanding.
f********m
发帖数: 35
24
I am looking for a XSL editor software, which including the module that can
render the XML to HTML. I have tried the lotusXSL and xt, but basically they
are just the parser and converter soft. Where is a good editor, with source
code is the best.
b****e
发帖数: 1275
25
来自主题: XML版 - XSL question..
if i have an xml element like
Yes|No
that I want to convert to the following html

how can i do that in xsl?
thanks..
b****e
发帖数: 1275
26
来自主题: XML版 - XSL question..
no answer posted to this? :) xsl may not be
as potent as we'd like it to be :(
a*****a
发帖数: 438
27
来自主题: XML版 - XSL question..
I'd say this is a bad design of XML:)
You should have used enumerated attributes, ie. limit the choice of ACK
to YES or NO in a DTD.
For your question, I don't know how to do it in XSL
b**l
发帖数: 63
m******o
发帖数: 162
29
Can anyone tell me how to creat an XML dosument and published it on IE?
I am thinking of the following steps (don't know if it is correct):
(please don't laugh, if the description sounds too "Wai4 hang2", I really
don't know about XML)
1. used codes to tag on the information (save as "XML" document)
2. creat a stylesheet (save as "css" or "XSL"document)
3. link the stylesheet with the "XML" document, and save it as another
document??? save in what format?
4. apply the new saved document on IE???
s***h
发帖数: 88
30
来自主题: XML版 - xsl里如何表示空格?
< xsl:value-of select="' '"/ >
heheheheh.............

b*****i
发帖数: 491
31
xslt code
=========
http://www.w3.org/1999/XSL/Transform">











阅读全帖
b*****i
发帖数: 491
32
xslt code
=========
http://www.w3.org/1999/XSL/Transform">











阅读全帖
k**********4
发帖数: 16092
33
来自主题: Military版 - xml file怎么打开
doesnt work:
!-- Global Variables -->



阅读全帖
b****e
发帖数: 1275
34
来自主题: XML版 - 急!问个最初纪问题
you need two files.. an xml file and an xsl file
test.html



XML datea

xml_t.xsl (place in same dir)

http://www.w3.org/TR/WD-xsl">











n**e
发帖数: 3
35
已经有了一个xml文件,一个根据此xml文件写的xslt文件,
怎样才能把xml文件转换成html文件啊?
是在xml文件中加一句什么命令吗?
比如,xml文件为:


very easy?

而xslt文件为:

xmlns:xsl="http://www.w3.org/1999/XSL/Transform">











N*D
发帖数: 3641
36
来自主题: Seattle版 - [合集] 【大喊】毛诞快乐
☆─────────────────────────────────────☆
SQL (月光下的房黑) 于 (Sat Dec 25 22:33:49 2010, 美东) 提到:
毛主席,牛牛的。
《沁园春·雪》
北国风光,千里冰封,万里雪飘。
望长城内外,惟余莽莽。
大河上下,顿失滔滔。
山舞银蛇,原驰蜡象,欲与天公试比高。
须晴日,看红装素裹,分外妖娆。
江山如此多娇,引无数英雄竞折腰。
惜秦皇汉武, 略输文采;唐宗宋祖,稍逊风骚。
一代天骄,成吉思汗,只识弯弓射大雕。
俱往矣,数风流人物,还看今朝。
毛泽东(1936年2月)
☆─────────────────────────────────────☆
secondcity (pain is love) 于 (Sat Dec 25 22:40:33 2010, 美东) 提到:
reading 晚年周恩来 now..

☆─────────────────────────────────────☆
haha123 (haha123) 于 (Sat Dec 25 23:08:50 2010, 美东)... 阅读全帖
X******U
发帖数: 137
37
不知不觉 已经做了圣斗士12年了。
小时候,报名圣斗士培训班的事情好像还在去年。时光荏苒,稍纵即逝。可叹啊...
正式成为圣斗士 是我14周岁的那年。我自幼出生在中国上海。因为希腊的号召,当时
到处在喊“保卫雅典娜”的口号。我父亲因为出生成分不好,所以迫切希望我从武加入
政党来颠翻家庭的窘状。1年后,我父亲便把我送往庐山五老峰处,拜当时的黄金圣斗
士之一--天枰座 童虎 为师。
看过 日本著名史学家 车田正美 教授 写的 《圣斗士星矢传--雅典娜神话史》的学者
应该都知道 黄金圣斗士的 在我们行业的地位。如果,各位有不清楚的,我也可以给大
家简单介绍下:
每一代 新任教皇,必须重新招募88名圣斗士保卫偶像雅典娜和教皇统治的庙庭。这88
人是经过全球精心挑选最强的88人。由上一代教皇手下的圣斗士分别培训,14周岁后通
过决斗分配圣衣。就是说14周岁后可以报名参加希腊的圣斗士决斗会。而每一个小组的
决胜者可以得到师父所掌控的圣衣。但由于30年前圣战的洗礼,部分老一代的圣斗士
为了集中权利和荣誉,不愿意继承给下一代教皇的圣斗士。所以,在我这一代圣斗士中
。大部分只能继承青铜圣衣。
那么,现在... 阅读全帖
x*z
发帖数: 1010
38
来自主题: Linux版 - linux下有啥dvd->iso的软件么?
嘿嘿给你个idea
root@mee:~# apt-get install k9copy
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
docbook-xsl docbook-xsl-doc-html dvdauthor kdebase-runtime
kdebase-runtime-data kdelibs-bin kdelibs5-data kdelibs5-plugins kdoctools
kubuntu-debug-installer libattica0 libboost-filesystem1.42.0
libboost-regex1.42.0 libboost-system1.42.0 libclucene0ldbl libdbusmenu-qt2
libiodbc2 libkatepartinterfaces4 ... 阅读全帖
C*****x
发帖数: 109
39
来自主题: LosAngeles版 - 能不能帮我看一道题啊 包子酬谢
额 基本上是属于计算机图形学的 翻译了一下
请运用XSLT转换将 一个.svg文件转换为 XSL-FO,在此基础上再由此转换为一个PDF文
件。
步骤:
1.运用 Saxon 转换引擎(将.svg转为XSL-FO)
2.运用Apache FOP (将上面得到的XSL-FO转换为 PDF)
CS版上也问了 知道这里藏龙卧虎 所以也来求助一下 呵呵
z*******3
发帖数: 13709
40
来自主题: Java版 - 报offer咯
这个例子很好
我会这么做
首先第一步,去找已经有的工具
比如pdf文件,我会找到itext
比如excel文件,我会找到apache poi
比如csv文件,我会找到open csv
这些东西,这几个里面,我用过前两个,最后一个没有用过
但是不妨碍我找到它
然后第二步,考虑如何统一现有的lib
我会先把你的文件格式做一个标准转换
转换成xml格式,这个工具很多,不展开
如果可以使用数据库的话,存到数据库里面去
然后第三步,我发布一个根据xml转换成各种格式的interface
然后用上面的lib所给的方法挨个实现
我不认为有用abstract class的必要
interface+class足够了
事实上也很难找到一个不同文件格式能够共用的方法s
因为类库都不一致
然后其他的什么cashflow之类的,只要转换成xml,剩下的都好办
xml是一个统一格式标准,所以先转成xml再转成其他格式是比较合理的
如果不想这么做,那么放到db中去是一个不错的选择
也就是说,第二步最重要,先把输入给统一成一种格式(推荐xml)
然后再用第三步把xml输出成所需要的格式
优化:
如果采纳我的建议,先转... 阅读全帖
z*******3
发帖数: 13709
41
来自主题: Java版 - 报offer咯
你有没有想过,如果格式互相之间转换,你的搭配会有多少种?
pdf/html/cvs/excel
转换成
pdf/html/cvs/excel
总共有4*3=12种组合
你要写12个方法
pdf->html
pdf->cvs
pdf->excel
html->cvs
html->pdf...
而如果统一转成xml,再统一转换出去,哪怕我不用xsl
就是硬编码,那么就是4+4=8个方法
如果采用xsl,那么就是4+1=5个方法和4个xsl文件
这还只是4种,如果是40种呢?
你不用xml,硬编码,40*39=1600-40=1560个方法
用xml,硬编码,40+40=80个方法
用xml和xslt,40+1=41个方法
如果有1000种格式我们就不说了吧?
所以哪怕是硬编码,你也应该先转换成xml再转换出去
好虫一直在鼓吹nosql,你想想为什么nosql用什么方式组织数据?
一个道理啊
r*t
发帖数: 34
42
来自主题: XML版 - [转载] 求助,急
【 以下文字转载自 Java 讨论区 】
【 原文由 rgt 所发表 】
偶在java中嵌套xml,程序如下:
StringBuffer buf = new StringBuffer();
buf.append("");
buf.append("\n trylog.xsl\" ?>");
pw.println(buf.toString());
运行结果报如下错误:
The XML page cannot be displayed
Cannot view XML input using XSL style sheet.
XML document must have a top level element. Error processing resource
请问如何解决?
I******E
发帖数: 229
43
我想你对XPath 和 apply-template的理解有一点偏差
先看XSLT中的
这个Xpath 返回一个node-set,包含两个title的element nodes,对于这两个elemenet
node,都应用template (也就是下面的),注意这个 apply-templates select="book/title" />
是在和中间,也就是说先在html中写一个html start tag, 然后对两个
element node应用模版,然后才是html close tag.因此两次调用模版的结果都在
和中间
c**i
发帖数: 6973
44
来自主题: Military版 - Two Giant Concrete Pumps to Fukushima
I have tried my best, but still can not find anything in English that
distinguishes boom pumps made by Putzmeister AND Sany. In other words, the
two brands are not mentioned in the same Fukushima report, except one (see (
3) below). Tokyo Electric Power Co (TEPCO) has websites in Japanese or
English, neither of which mentions pumps at all (reportedly TEPCO Digest on
Mar 22 did mention a pump without mentioning the brand (title: "Concrete
Pump Car completed watering Unit 4 spent fuel pool (20:30p... 阅读全帖
k**********4
发帖数: 16092
45
来自主题: Military版 - xml file怎么打开
here is more info:
Type:XSL Stylesheet (.xsl)
Description: This stylesheet works with the Define-XML 2.0.0 specification
h**z
发帖数: 9751
46
来自主题: Automobile版 - 新买的马三,上来分享一下价格。
那好我再耐心点说清楚,现在的优惠是0arp贷款或者-2000,二选一,没错。但从msrp
降到最后的sale price,中间的弹性空间很大,如果搞到好的deal,往往优惠程度比-
2000还要多,dealer是凭什么给优惠多出的部分?你如果买过车,再看看买车经验贴,
你回忆一下,dealer解释过么?
回到楼主的例子,i sport sedan, automatic, no option,msrp $20020,假如没有一
点折扣,这车otd(假如税6.25,tl$150)是$21421。最后lz是$17800买的,你说这折
扣哪儿来的???xsl一口咬定这一家没有用-2000。我看实际情况是,dealer给楼主用
了-2000,而不是给0apr,lz最后得到2apr,也不错了。
即便第一家给otd$19600,也比理论上的$21421低了$1821,这差价哪儿来的?xjl心里
明白,但不想给你们说。xjl还声称那一家还能再便宜$2000,依据是什么?xsl同时还
能保证第一家也给至少不高于2的apr?
他的目的很简单,通过搅混水来兜售私货“老中有时候会犯这个错误,比来比去的其实
好... 阅读全帖
s********u
发帖数: 150
47
来自主题: ebiz版 - EQ 说的是 oldnurse 么?
EQ可以在护士所在州的网站上查查,是不是有犯罪记录。
比如 wisc州的:
http://wcca.wicourts.gov/simpleCaseSearch.xsl;jsessionid=112519
0A901B518B055.render6
发信人: oldnurse (oldnurse), 信区: ebiz
标 题: 找到骗子啦!
发信站: BBS 未名空间站 (Wed Apr 6 07:21:33 2011, 美东)
上次被骗的事情,和一个美国朋友谈了谈。他告诉了一个网站,查犯罪记录的。一查这
个家伙,屁股上一堆屎。曾经因为burglary坐过牢。
http://wcca.wicourts.gov/simpleCaseSearch.xsl;jsessionid=112519
0A901B518B055.render6
输入他的名字:Justin Ferkovich
查出来一堆记录。我现在基本可以肯定这就是这个家伙。不管怎么样,我要让他付出代
价。
k*******3
发帖数: 1909
48
怎么看? 我复制了邮件头:
Delivered-To: 我@gmail.com
Received: by 10.96.74.232 with SMTP id x8csp68128qdv;
Fri, 25 Jul 2014 20:54:23 -0700 (PDT)
X-Received: by 10.66.252.161 with SMTP id zt1mr23096453pac.41.1406346863451;
Fri, 25 Jul 2014 20:54:23 -0700 (PDT)
Return-Path: <[email protected]
(function(){try{var s,a,i,j,r,c,l,b=document.getElementsByTagName("script");l=b[b.length-1].previousSibling;a=l.getAttribute('data-cfemail');if(a){s='';r=parseInt(a.substr(0,2),16);for(j=2;a.length-j;j+=2)... 阅读全帖
b****w
发帖数: 71
49
来自主题: JobHunting版 - 更多Ebay上海的职位
之前或许有人看过我发的ebay的职位,现在又有三个职位,是software engineer。我
跟国内的一个recruiter是朋友,所以帮她发到这里看有没有人感兴趣。
1.Staff Software Engineer
Job Requirements
• BS/MS in CS or related field.
• 5 – 8 years experiences in requirements analysis, design, coding
and unit testing of high scalable, distributed and fault-tolerant
application
• Expertise required in object-oriented design methodology and
application development in Java and J2EE including Sprint, Hibernate, AJAX,
JQuery, servlets, JSP, Ja... 阅读全帖
w********a
发帖数: 621
50
来自主题: JobMarket版 - job opportunities in Billerica MA
My client in Billerica MA has following open positions.
The base salary for senior position is around 110K
The base salary for principal position is around 130K
Please send your resume to me if you are interested in one of the positions.
Thanks in advance.
====================================================================
Title: Enterprise Architect
Division: G&A
Department: Technology IT and Infrastructure
Location: USA - Massachusetts - Billerica
Description:
The Enterprise Architect will wo... 阅读全帖
1 2 3 4 5 下页 末页 (共5页)