Page 1 of 1
					
				How to render <a name="xyz"></a> in DITA?
				Posted: Mon Nov 17, 2008 1:48 pm
				by julie
				Hi
I want to use the named anchors within a document for an XHTML output, how is that possible using DITA? i.e. - <a name="xyz"></a>
Regards
Julie
			 
			
					
				Re: How to render <a name="xyz"></a> in DITA?
				Posted: Tue Nov 18, 2008 1:00 pm
				by sorin_ristache
				Hello,
Element a with attribute name is an XHTML element, not a DITA element. The a element is generated in XHTML output of DITA transformation for DITA elements like link. Can you give an example about how you want to use anchors?
Regards,
Sorin
			 
			
					
				Re: How to render <a name="xyz"></a> in DITA?
				Posted: Tue Nov 18, 2008 1:50 pm
				by julie
				Hi Sorin
Thanks for the reply.
The requirement is as follows:
I have a page which carries two sections. 1. Creating the application 2. Editing the application. When the user clicks the help icon in the Edit window of the application, the page opens with the Edit section of the page instead of displaying the beginning of the page, ie., the Create section. What DITA element and attribute could do this feature for me?Please help.
Regards
Julie
			 
			
					
				Re: How to render <a name="xyz"></a> in DITA?
				Posted: Tue Nov 18, 2008 4:39 pm
				by sorin_ristache
				Hello,
You can write the two sections as DITA topics or concepts. Elements topic and concept have the attribute id. In XHTML output they have an element a with attribute name. The Help icon in the Edit window can point to these elements a.
Regards,
Sorin