May 21, 2012, 04:48:20 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Mobile users - Our forum is Tapatalk enabled.
http://www.tapatalk.com/
Home
Help
Search
Login
Register
DotDragnet
>
The Tech Side
>
Tech stuff
>
xslt help
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: xslt help (Read 1105 times)
SLEE
Hero Member
Posts: 824
xslt help
«
on:
October 25, 2007, 03:28:38 PM »
im learning the ropes of xslt's a the moment.
Everything was gong fine until i came acrros an xml tag like this:
<media:thumbnail url ="blah.com">...
normally if it was just <thumbnail url=... then i know how to reference the url but as it has the media tag with its own namespace i dont know how to reference the url.
Can anyone help?
Logged
SLEE - still the most confusing ddner...
Follow me on Twitter
Jeep Stone
Hero Member
Posts: 908
Re: xslt help
«
Reply #1 on:
October 25, 2007, 04:21:34 PM »
It's been a while since I did XSLT but I think you can include the Namespace in the top of your XSLT and then reference it as normal. Might be wrong though.
Something like:
<xsl:stylesheet version="1.0"
xmlns:xsl="
http://www.w3.org/1999/XSL/Transform
"
xmlns:media="media DTD in here">
Logged
Jeepstone
SLEE
Hero Member
Posts: 824
Re: xslt help
«
Reply #2 on:
October 25, 2007, 04:46:44 PM »
jeep you are a genius!
It makes sense really but its a big learning curve from not knowing it at all thanks fo the help
Logged
SLEE - still the most confusing ddner...
Follow me on Twitter
Jeep Stone
Hero Member
Posts: 908
Re: xslt help
«
Reply #3 on:
October 26, 2007, 10:20:37 AM »
lol I wish!
Logged
Jeepstone
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> General Discussion
=> Jee's Forum of Appalling Jokes
-----------------------------
The Creative Side
-----------------------------
=> Arty stuff
=> Photography
=> On the web
-----------------------------
The Tech Side
-----------------------------
=> Tech stuff
=> Hardware & Software
-----------------------------
The Business Side
-----------------------------
=> Anything business related
-----------------------------
The Practical Side
-----------------------------
=> Practical Advice
DotDragnet
>
The Tech Side
>
Tech stuff
>
xslt help
Loading...