xsl:value-of
-
Hi, I'm creating wordml file with xsltransform. I need to get some images from my localhost. When I write http://localhost/images/...jpg in the wordml file there is no problem. But I wrote in the xsl like: she says "Missing mandatory attribute 'select'. In the same way, I wrote same thing happened. How can I get these images? Thanks... Savas
-
Hi, I'm creating wordml file with xsltransform. I need to get some images from my localhost. When I write http://localhost/images/...jpg in the wordml file there is no problem. But I wrote in the xsl like: she says "Missing mandatory attribute 'select'. In the same way, I wrote same thing happened. How can I get these images? Thanks... Savas
savasorama wrote:
When I write http://localhost/images/...jpg in the wordml file there is no problem.
So why don't you just write the url into the wordml file.?
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook
-
savasorama wrote:
When I write http://localhost/images/...jpg in the wordml file there is no problem.
So why don't you just write the url into the wordml file.?
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook
:) because I'm generating xsl with code and then transforming to wordml. I wrote this url while debugging. So I need xsl:value-of Savas
-
:) because I'm generating xsl with code and then transforming to wordml. I wrote this url while debugging. So I need xsl:value-of Savas
Ok, but do I understand right that finally at some place in the wordml document a URL should occur?
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook
-
Ok, but do I understand right that finally at some place in the wordml document a URL should occur?
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook
Yes you're right. What should I write into the xsl to generate url in the wordml? Savas
-
Yes you're right. What should I write into the xsl to generate url in the wordml? Savas
Simply writing the URL should be sufficient (will be copied as it is into the output).
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook
-
Simply writing the URL should be sufficient (will be copied as it is into the output).
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook
Writing only the URL is not sufficient. When I did this it said 'http://localhost.....' is not a valid XPath. So I tried string('http://....'). Finally I tried; but still says mandatory attribute select is missing... Savas
-
Writing only the URL is not sufficient. When I did this it said 'http://localhost.....' is not a valid XPath. So I tried string('http://....'). Finally I tried; but still says mandatory attribute select is missing... Savas
I did mean you should simply write it without the xsl:value-of. You already have the URL so what should be selected. concat('http://localhost/images/', $value) "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cookwww.troschuetz.de
-
I did mean you should simply write it without the xsl:value-of. You already have the URL so what should be selected. concat('http://localhost/images/', $value) "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cookwww.troschuetz.de
Yeah I got it :) These two worked now. My last and yours. Actually the problem was silliness of ex-writers!! Variable names was like varValue1, varValue2, xslAtt1, xslAtt2-3..... I changed these silly names and problem appeared clearly :) Thank you so much for your help. I'll disturb you on another problem ;) Savas