Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
|
There is a flaw in your logic....
In {X}Html, there is no <q> tag.
As such, the browser will ignore it simply, and not display it's content.
From your idea, what must be done is:
1) When the page is loaded, get every tag named "q"
2) In those elements list, parse every childs, and get the "cite" element and attribute
3) create a span after the <q> tag
4) create a "a" tag into the span, with the cite attribute as the href of the "a"
5) create a text node inside the "a" with the value of the element "q" as the link anchor
But I really don't see the point of bothering with this right now.
What's the advantage of this, when compared to add an link in your actual blockquotes ?
__________________
Only a biker knows why a dog sticks his head out the window.
|