Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.
-
Marco Stoll #1
Custom TagLibrary Definition
Hi,
I have a question regarding the custom tag library deinitions of Dreamweaver 8.
This question concerns the XML compatibility definitions auf custom tags.
First an example of one of my custom tags.
----------------------------------------
<tag name="tml_set" <b>endtag="no"</b> tagtype="empty"> <tagformat
nlbeforetag="0" nlaftertag="0" />
<attributes>
<attrib name="value" type="text"/>
<attrib name="label" type="text"/>
</tag>
-------------------------------------
Now I'm looking for a way to decalre that this is a non-container-tag that
should be closed if used in an XHTML document (<tml_set label="mylabel"
value="myvalue" />) and should not if used in a "normal" HTML document.
(<tml_set label="mylabel" value="myvalue">).
I think thatr this should be done by providing the right value in the
<b>endtag</b> attribute of the xml definition of the tag. But I don't know
which value to use. Other examples I found used <b>endtag="xml"</b>. But this
leads to a closing of non-container-tags regardless of the doc type of the
current document.
If you have any advice or experience with this kind of problem, please leave
your reply.
TIA,
Marco Stoll
Marco Stoll Guest
-
Anyone have a definition for:
Hi deadlikeme, I just wanted to thank you for this post, it's a complete answer to something I almost pulled my hair out over. I was looking at the... -
definition
I have an Olympus C-2100uz. Is this a digital slr? Thanks -
DataGrid Custom Column Error when DataBinding "does not contain a definition for 'DataBinding'"
I am creating a custom column that inherits from DataColumnGrid. When I attempt Databind to a property of the custom column, I get the the error: ... -
Site definition for php
I have what appears to be a functioning localhost apache / php / mysql installation, that is to say http://localhost/phpdev/phpinfo.php and... -
data definition
Hi Hope someone here is able to help me. There is this particular questions which I am not sure how to go about doing it. example... -
Randy Edmunds #2
Re: Custom TagLibrary Definition
Marco,
I don't think that there's a way for a DW Tag Library to control what
type of page the user applies it on.
The "non-container-tag" shouldn't cause any problems if it's closed on
non-XHTML page. If so, please provide an example so we can see the whole
picture.
Thanks,
Randy
> I'm looking for a way to decalre that this is a non-container-tag that
> should be closed if used in an XHTML document (<tml_set label="mylabel"
> value="myvalue" />) and should not if used in a "normal" HTML document.
> (<tml_set label="mylabel" value="myvalue">).Randy Edmunds Guest



Reply With Quote

