deeperdish
Jan 22nd, 2004, 09:59 AM
Hi there
Does anyone have a clue how you would create a named
anchor in a stylesheet or HTML from an XML element attribute?
Example:
In my XML file I have this:
<category catName="General">
In my XSL file I have something like this:
<a name="??????"></a>
what do I need to replace the "??????" with to have set
name="General" i.e. the attribute value of @catName?
I've seen something on a website that suggests something like:
<a name="{@catName}"></a>
but can't get it to work.... :-(
Any help is appreciated...
Thanks
Does anyone have a clue how you would create a named
anchor in a stylesheet or HTML from an XML element attribute?
Example:
In my XML file I have this:
<category catName="General">
In my XSL file I have something like this:
<a name="??????"></a>
what do I need to replace the "??????" with to have set
name="General" i.e. the attribute value of @catName?
I've seen something on a website that suggests something like:
<a name="{@catName}"></a>
but can't get it to work.... :-(
Any help is appreciated...
Thanks