|
Thread: Xsl
-
Apr 14th, 2003, 11:15 AM
#1
Thread Starter
Member
Xsl
How i can insert image in xsl file?
thanks!
-
Apr 14th, 2003, 11:34 AM
#2
Not sure just what you mean.... do want the img to be a part of the XSL, or is the SRC to be pulled from the transformed XML?
-
Apr 14th, 2003, 12:44 PM
#3
Also, what type of format are using xsl to transform an xml document into. Another XML, SVG, HTML?
???????????????????
-
Apr 15th, 2003, 01:43 AM
#4
Thread Starter
Member
thank you!
i find this yet.
difference from html in xsl is need close tag <img src="1.gif"></img>
-
Apr 15th, 2003, 06:33 AM
#5
Fanatic Member
Or, you can immediately close the tag, since it doesn't need to contain any child elements.
For example: <img src="1.gif" />
It's the same way as in XHTML
Note, I have added an extra space before the forward slash, since if you want to use the results (after being parsed op the server) within a non-XML browser, like NS4, it will recognize the tag. I don't think there will be any problem with tags with attributes, but tags aren't recognized when there are no attributes. (Like <br/>)
-
Apr 15th, 2003, 06:41 AM
#6
Thread Starter
Member
Thank you very math!!
-
Apr 15th, 2003, 06:47 AM
#7
Note that's a XHTML question though, not XSL.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Apr 15th, 2003, 08:25 AM
#8
xsl is used to turn xml into xhtml, so yes, it is an xsl question in a sense.
-
Apr 15th, 2003, 11:29 AM
#9
XSL is used to transform one XML document to another. That other might be (and usually is) XHTML, but that's not a necessity. You could as well transform to SVG or any other XML-based language. img is an XHTML tag, not an XSL tag.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Apr 15th, 2003, 12:41 PM
#10
I know that, hence why my first reply was asking what formt he was looking for.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|