This is a discussion on "XML, XSL" within the Other Programming Languages section. This forum, and the thread "XML, XSL are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
XML, XSL
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
||||
|
||||
|
XML, XSL
[topic moved into new category]
I know this isnt HTML or XHTML but i didnt know where to put it.... I dont suppose anyone knows anything about XML and XSL? I have a the url of a picture stored in the XML and i am trying to get it to display the picture when i use XSL to output it, but i dont know how to and cant get it work... any one know anything? |
|
|
|
#2
|
|||
|
|||
|
#3
|
||||
|
||||
|
yes thats where i learnt in the first place thanks but i doesnt tell what i want to do...
|
|
#4
|
||||
|
||||
|
shall i elaborate a bit more on what i cant do?
I have this code in XML:
|
|
#5
|
|||
|
|||
|
Maybe u need to look at using XPAth to extract the url and put it in an image tag? I don't know jack about XSL btw :-)
I'll have a look and see if I can find out how for ya. |
|
#6
|
||||
|
||||
|
thanks what is XPAth? never heard of that...
|
|
#7
|
|||
|
|||
|
#8
|
|||
|
|||
|
|
#9
|
||||
|
||||
|
ok thank you
|
|
#10
|
||||
|
||||
|
could you do that in javascript? thanks
|
|
#11
|
|||
|
|||
|
Hmm, I got a lot of work to do before 5, so I might leave that for one of these other clever people!!
If it's not answered by the time I get on the computer tonight at home, i'll do it then. |
|
#12
|
||||
|
||||
|
ok thanks
|
|
#13
|
||||
|
||||
|
ok i've tried what you put in VBScript, trebz, but it says theres an error with the page ( it loads alrite but i get the error sign on the bottom left and no pictures ) and the error details say "Expected: )" do u know how to solve this?
|
|
#14
|
|||
|
|||
|
That means you've missed a ")" somewhere, i'm sure the code I pasted is okay since I tested it.
Look through what you have, and for every "(" there should be a ")" somwehere on the same line. If you can't fix it then email the page to me. (treborbobuk@hotmail.com) |
|
#15
|
||||
|
||||
|
ok it still doesnt work but this time it just says that there is a syntax error
|
|
#16
|
||||
|
||||
|
can anybody help me on this?
|
|
#17
|
||||
|
||||
|
I have tested this also:-
Make sure you have you XML declaration tag at the top of your XML doc:-
__________________
Click the 'Thanks!' button if this post has helped you Rob - Webforumz Founder
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
#18
|
||||
|
||||
|
that doesnt work... the page says:
Required white space was missing. Error processing resource 'file:///C:/Data Ben/John/Assignment/order.xsl'. Line 35, Position 30 document.write("[img][/img]") -----------------------------^ |
|
#19
|
||||
|
||||
|
sorry
|
|
#20
|
||||
|
||||
|
ok i really am still stuck on this one and need quite a bit of help..... ?
|
![]() |
| Tags |
| xml, xsl |
| Thread Tools | |
|
|