XML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreXML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #16  
Old December 11th, 2003, 04:59 PM
Kcmjr Kcmjr is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: SF Bay Area
Posts: 5 Kcmjr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 m 23 sec
Reputation Power: 0
zorrinn,

This subject is off-topic but I just read a posting to NTbugtraq that answers your previous question. Everyone is all a-buzz about a new IE vulnerability called "URL obfuscation".

One person wrote this which pretty much answers your question:

"In short, if you type (don't click on the link) a URL like this in the address bar: http://aa.com?@www.delta.com

The address bar will show http://www.delta.com/ but the web page will be that of American Airlines. This is a simple example, but with some clever encoding it can be quite convincing, especially because everything after the ? looks like it should be a query string. Also, making the URL longer than one line will force the user to copy/paste the URL into the browser window so that it will work properly."

Kcmjr

Reply With Quote
  #17  
Old December 22nd, 2003, 02:16 AM
Culland Culland is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 38 Culland User rank is Private First Class (20 - 50 Reputation Level)Culland User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 55 m 6 sec
Reputation Power: 6
Just wanted to add another twist on the same subject. After reading the posts above I tried to make it fit with what I needed which was slightly different.

In my case I have a partial URL, which needs to be completed via an attribute of an element.

In my XML document I have:

<heading>
<htitle>Introduction</htitle>
<speaker mnum="66">Marz</speaker>
<speaker mnum="71">Broda</speaker>
<speaker mnum="34">Norris</speaker>
</heading>

I have a link: http://www.somewhere.com/gotom.php?themnum=

So in my XSL I need to take the mnum for the speaker and put it at the end of that link, so in my XSL I tried the following, which seems to work:

<xsl:for-each select="speaker">
<b><xsl:value-of select="."/></b> -
<a href="http://www.somewhere.com/gotom.php?themnum={attribute::mnum}">
<xsl:value-of select='attribute::mnum'/>
</a>
<br/>
</xsl:for-each>

Thanks to the posters above for the tips on using {URL}.

Cul

Reply With Quote
  #18  
Old December 23rd, 2003, 06:40 PM
Kcmjr Kcmjr is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: SF Bay Area
Posts: 5 Kcmjr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 m 23 sec
Reputation Power: 0
a bit off topic (again)

This is, and is not, off topic so bear with me. After using the code samples previously posted I created a batch file to convert my Internet Explorer favorites to XML. I thought I'd share it in the event someone could use it.

Rather than posting the code, which will get clobbered by line wrapping, I see that I can attach it, so I will.

This batch should be run from an Windows NT class OS (NT4, Win2k, XP). It will convert the IE favorites list for the current user or any folder with ".URL" files to an XML formatted output file. It's internally documented so I won't go into detail here.

The files renamed .TXT so it doesn't get washed out by any filtering.

Feel free to email me for a copy if the file gets lost.

Thanks

Kcmjr
Attached Files
File Type: txt ie2xml.bat.txt (7.5 KB, 169 views)

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreXML Programming > XML+XSL - creating tables with entries being hyperlinks


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT