Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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...
    2. 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...
    3. 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...
    4. 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...
    5. ~/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...
  3. #2

    Default Re: Tag Library Problem

    agrath wrote:
    > Does anyone have any idea what i've done wrong?
    No, Gateth, DW just doesn't like code hints in XML file for some reason.
    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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139