Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.
-
agrath #1
Tag Library Problem
I have recently found myself using a lot of XSL templates to parse XML files to
create HTML.
I thought that it would be a good idea to create a tag library that contained
all of the XSL tags that i was frequently using.
(such as xsl:value-of etc)
I know that base dreamweaver contains a few of them but they're not a complete
set.
So... I created a tag library for XSL.
However, I can't set XML as a document type for the new tag library, it ticks
fine, but it doesnt apply.
I'm guessing this is something to do with dreamweavers built in XML tag
libarary that dynamically adds possible tags as you create your schema, so i
created a new document type for XSL files.
I moved the xsl and xslt extensions from the xml document type to my new
document type and created some new strings to describe it.
I then associated my tag library with the new document type and proceeded to
open the new xsl file.
The xsl file opened as plain text, with no colouring and the tag library
refused to work for the new document type (it just doesnt pop up)
If i move the xsl extension back to the xml document type, code colouring is
applied.
I modified the code colour definition for xml to include xsl as a document
type that that colour scheme was applied to, but my xsl document still wouldn't
colour.
Just to cap it off, I chose html as a document type for my new tag library and
opened an html file. The tag library worked as I expected it to, i just cant
get it to work in .xml or .xsl files, even with a new document type.
Ideally i'd like it to only prompt on xsl and xslt files but that requires a
new document type, which subsequently requires new colouring data and probably
something else i've missed.
Does anyone have any idea what i've done wrong?
Gareth
agrath Guest
-
Problem that use MFC library in Plug-In project
My platform is VS2003.I create plug-in project by the wizard in Acrobat Developers SDK add add MFC support into the project.But when I use the class... -
problem with Using the JSP Tag Library
Hi i am trying to embed my mxml page in my jsp. But i was getting the following error. File "/FlexTagLib" not found .But my flex-bootstrap.jar is... -
Problem with PHP GD Library
I am using the GD library of PHP to edit an image, but it shows up as if the image didn't exist. However, if I wait a few seconds, right-click on... -
Library problem
Redhat 7,2 - i686. I hosed my system a couple of days back when I installed the wrong rpm package. To fix this I booted with my Redhat... -
~/Library/ vs ~/System/Library vs /User/Library/
In article <110720031327074895%justin.c@se.net>, justin <justin.c@se.net> wrote: First off, you're a little bit confused. ~ means your home... -
danilocelic *TMM* #2
Re: Tag Library Problem
agrath wrote:
No, Gateth, DW just doesn't like code hints in XML file for some reason.> Does anyone have any idea what i've done wrong?
It's been something that ahs been asked before, but please, make your
voice heard:
[url]http://www.macromedia.com/support/email/wishform/[/url]
As for why an XSL dedicated document type isn't working for you, not
sure, would have to see the files in question. I've not made my own
document type so not sure how to make it work with all the various
thigns that you'd need to do such as code hints (via tag library), code
coloring and the new document type.
This extension may help a little, but not sure for this particular purpose:
[url]http://www.communitymx.com/abstract.cfm?cid=9EE3A[/url]
--
Danilo Celic
| Extending Knowledge Daily : [url]http://CommunityMX.com/[/url]
| Team Macromedia for Dreamweaver : [url]http://macromedia.com/go/team/[/url]
danilocelic *TMM* Guest



Reply With Quote

