CFML not necessarily valid XML?

Ask a Question related to Macromedia ColdFusion, Design and Development.

  1. #1

    Default CFML not necessarily valid XML?

    I'm new to CF, just started today with a book. I was wondering about something:
    in some examples and also in the examples that are installed on the server, I
    notice CFML is not actually valid XML. Is that correct?

    Was this never the purpose of Macromedia, or do you think it will be in the
    future? Valid XML can be a big plus when you want to incorporate a technology
    into an XML-based workflow, and I think (for instance) Flex is strictly XML
    (mxml = Macromedia XML) and so are ASP.NET and Cocoon, the latter two are rival
    frameworks.

    Any thoughts on this?

    Michiel1978 Guest

  2. Similar Questions and Discussions

    1. Newer is not necessarily better..
      Seems that people have problems with the newer version of flash or can not download flash. www.oldversion.com Great site that archives the...
    2. CFML from MSSQL
      I am attempting to pull CFML, <cfoutput>'s, etc. from a database and have them inserted into a .cfm page and executed at runtime. Instead of the...
    3. CFML to HTML
      Is there a way to convert a whole ecommerce site with all of it's many products from CFML to HTML for easy spidering? I haven't found any snippets...
    4. CFML & MySQL
      Can I use CFML with MySQL? at the moment I am using CFML with MS Access. Can I use the same CFML code with MySQL? Dario
    5. use cfml in JS
      Hi Is it possible to use ColdFusion functions in Javacript ? e.g. (won't work) <script language="JavaScript" type="text/javascript"> <!--...
  3. #2

    Default Re: CFML not necessarily valid XML?

    As the only thing that will be interpretting the cfml is the CF administrator
    this is not really a problem. You can have self closing cfml tags if it makes
    you happier!

    eg <cfparam name="FORM.Username" default="" />

    Just don't do this with custom tags as they will be executed twice.

    Stressed_Simon Guest

  4. #3

    Default Re: CFML not necessarily valid XML?

    But you couldn't store CFML pages in an XML database, or parse them, or do
    other XML operations on them. This might just be something you'd want to do, if
    Coldfusion is part of a larger Framework. An example might be to generate a
    different file from the CFML using XSLT.

    Michiel1978 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