Click here to Skip to main content
15,895,011 members
Home / Discussions / XML / XSL
   

XML / XSL

 
Questionxsd schema cascading Pin
Russell Jones2-Nov-06 23:46
Russell Jones2-Nov-06 23:46 
AnswerRe: xsd schema cascading Pin
George L. Jackson8-Nov-06 12:20
George L. Jackson8-Nov-06 12:20 
GeneralRe: xsd schema cascading Pin
Russell Jones21-Nov-06 3:43
Russell Jones21-Nov-06 3:43 
QuestionXSLT:copy-of element Pin
ybasha2-Nov-06 5:21
ybasha2-Nov-06 5:21 
QuestionXSLT:copy-of Pin
ybasha2-Nov-06 5:15
ybasha2-Nov-06 5:15 
AnswerRe: XSLT:copy-of Pin
Dustin Metzgar2-Nov-06 5:24
Dustin Metzgar2-Nov-06 5:24 
GeneralRe: XSLT:copy-of Pin
ybasha2-Nov-06 5:30
ybasha2-Nov-06 5:30 
QuestionCreate anchors in an XHTML document generated with XSLT Pin
ISmith30-Oct-06 7:47
ISmith30-Oct-06 7:47 
I have an XML and XSLT pair that I created to display the contents of a sorted list of items. I want the transformed output to have anchors on each letter of the alphabet and a list of letters at the top which the user can click to jump directly to a particular letter. For example...

A B C ... (all the letters of the alphabet.)

A
some stuff

B
some more more stuff

C
you get the idea...

If someone clicked on C, they would link to the named anchor at C below in the list. I have two types of element, the one for the individual list entries and one for the letters that go between elements. My XML looks something like:

<list>
<letter>A</letter>
<listitem>
<name>A-item name</name>
<description>The description of this item which has a name that begins with 'A'.</description>
</listitem>
<listitem>
<name>A Seoncd-item name</name>
<description>The description of another item which has a name that begins with 'A'.</description>
</listitem>
<letter>B
<listitem>
<name>B-item name</name>
<description>The description of this item which has a name that begins with 'A'.</description>
</listitem>
<listitem>
<name>B Seoncd-item name</name>
<description>The description of another item which has a name that begins with 'A'.</description>
</listitem>
</list>

I can create a two column table and have no trouble creating the rows with the letter header but can't seem to get the value of the letter into the name of the anchor tag. What I want is that when it sees a letter element, it should create the following content for the table cell that shows the letter 'A':

<td colspan="2">AIs there a way to do that or am I just wasting my time? I've been looking all morning at various web sites and haven't found anything that will do what I want. Cry | :(( My boss thinks it would be a cool/useful idea for the page I'm creating and I want to look good. I haven't got a ton of time to waste as I have other projects due this week, so any help would be appreciated. Maybe I'm just not looking for the right thing...

Irene
AnswerRe: Create anchors in an XHTML document generated with XSLT Pin
George L. Jackson30-Oct-06 13:53
George L. Jackson30-Oct-06 13:53 
GeneralRe: Create anchors in an XHTML document generated with XSLT Pin
ISmith31-Oct-06 6:16
ISmith31-Oct-06 6:16 
QuestionWeb Service needed for Sharepoint Pin
dgibson553130-Oct-06 3:08
dgibson553130-Oct-06 3:08 
QuestionInsert one value in XSLT file Pin
shapper27-Oct-06 9:00
shapper27-Oct-06 9:00 
AnswerRe: Insert one value in XSLT file Pin
Dustin Metzgar27-Oct-06 9:17
Dustin Metzgar27-Oct-06 9:17 
Questionxpath during xsl transfomation Pin
Savas Cilve27-Oct-06 4:24
Savas Cilve27-Oct-06 4:24 
AnswerRe: xpath during xsl transfomation Pin
led mike27-Oct-06 5:16
led mike27-Oct-06 5:16 
QuestionRe: xpath during xsl transfomation Pin
Savas Cilve27-Oct-06 5:19
Savas Cilve27-Oct-06 5:19 
AnswerRe: xpath during xsl transfomation Pin
led mike27-Oct-06 5:45
led mike27-Oct-06 5:45 
AnswerRe: xpath during xsl transfomation Pin
Dustin Metzgar27-Oct-06 8:05
Dustin Metzgar27-Oct-06 8:05 
GeneralRe: xpath during xsl transfomation Pin
Savas Cilve30-Oct-06 1:15
Savas Cilve30-Oct-06 1:15 
GeneralRe: xpath during xsl transfomation Pin
Dustin Metzgar1-Nov-06 5:16
Dustin Metzgar1-Nov-06 5:16 
GeneralRe: xpath during xsl transfomation Pin
Savas Cilve1-Nov-06 5:28
Savas Cilve1-Nov-06 5:28 
GeneralRe: xpath during xsl transfomation Pin
Dustin Metzgar1-Nov-06 10:32
Dustin Metzgar1-Nov-06 10:32 
QuestionIgnore whitespace problem while reading XML file Pin
biglewy26-Oct-06 1:22
biglewy26-Oct-06 1:22 
AnswerRe: Ignore whitespace problem while reading XML file Pin
led mike26-Oct-06 9:12
led mike26-Oct-06 9:12 
AnswerRe: Ignore whitespace problem while reading XML file Pin
Michael Dunn26-Oct-06 16:16
sitebuilderMichael Dunn26-Oct-06 16:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.