XSL Design View

Hi,
i use JDeveloper 10.1.3.5.0.4306
If i have such construct:
<xsl:choose>
<xsl:when test="..........">
<ns1:ErrorCode>
<xsl:text disable-output-escaping="no">0</xsl:text>
</ns1:ErrorCode>
<ns1:ErrorText>
<xsl:text disable-output-escaping="no">Not Empty</xsl:text>
</ns1:ErrorText>
</xsl:when>
<xsl:otherwise>
<ns1:ErrorCode>
<xsl:text disable-output-escaping="no">1</xsl:text>
</ns1:ErrorCode>
<ns1:ErrorText>
<xsl:text disable-output-escaping="no">Empty Text</xsl:text>
</ns1:ErrorText>
</xsl:otherwise>
</xsl:choose>
and i switch to the Design Mode - JDeveloper wrote a error message: Error: XSLT construct '<when>' can have only one node as a child node.
Is this a general restriction of the JDeveloper or from the XSL definition (on the XSL itself i found no such restriction)?

Yes this is the general restriction of the jdeveloper
But it will work once deployed on the server.
Regards,
Nitin

Similar Messages

  • XSL Transformation Design View

    Hello together,
    we find an issue with design view of xsl transformation. When we use the design view serveral configurations and mappings where edited and deleted. For example <xsl:stylesheet version="2.0" change to version="1.0" and the call of EBMHeader-Template was deleted.
    Has anybody the same problem? Our are everybody a "h a r d c o r e" coder and use the source view ;-)
    Greetings from Karlsruhe
    Marcel
    PS: It's a little bit tricky to show the design view. We must switch between diffent xslt to see the design.

    when you open the imported xsd in the browser, you do get a xsd shown up ?
    and when you download the xsd locally and validate it, it is valid?

  • 3rd party tags and design view customization

    I know that Dreamweaver allows me to replace third party tags
    with images in design view. My question is can I make my jsp widget
    tags look dependent on attributes of that tag?
    And why can’t I say that my <widget:suggestionBox
    … size=”10” /> should look like a <input
    size=”10” /> in design view?
    Are there plans to support this long overlooked functionality
    in the near future?

    Well I am sure you wrote in good faith and I appreciate
    anybodys help . However, I do not want to be rude, but if you have
    nothing to say, than please don't post something useless. I am sure
    there are many areas where you can post real solutions.
    Of course DW works nicely with xsl in design view. My problem
    was finally answered in another thread, I hope that link works.
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=190&threadid=1266443&fo rumid=12
    I mark this as the answer, so everybody with that problem
    knows where the solution is.
    Joe

  • Design View is missing.

    Please help,
    When editing fluid layouts, I lose the design view option.. This makes it much harder for me to do ANYTHING, because I do not have a lot of code experience.

    would these work?
    embedded chrome browser
    embedded firefox
    embedded webkit
    in cs5, it was webkit. I tried to upgrade mine, but I have something else broken and design view still doesn't work.
    I modified MMDocumentTypes*.xml and now it errors
    "The Document Type "SHTML" will not be added because it uses a file extension that is already associated with a prior Document Type. [OK]"
    I can't figure out what causes this. I only remember changing the <html> to <html lang='en'> in the SHTML related template files.
    should not be that big of a deal.
    to F:\Program Files\Adobe Dreamweaver CS5\configuration\DocumentTypes\MMDocumentTypes.xml I added
    <documenttype id="menu7_XML" servermodel="XML" internaltype="XML" dynamicid="XML" winfileextension="xml" macfileextension="xml" file="Default-menu7.xml" writebyteordermark="false" mimetype="text/xsl">
    <TITLE>
    <MMString:loadString id="mmdocumenttypes_70" />
    </TITLE>
    <description>
    <MMString:loadString id="mmdocumenttypes_71" />
    </description>
    <dtdcontext>none</dtdcontext>
    <!-- dtdcontext>required</dtdcontext -->
        </documenttype>
    although I would like to know here the trailing numbers come from.
    to F:\Program Files\Adobe Dreamweaver CS5\configuration\DocumentTypes\MMDocumentTypeDeclarations.xml
    <documenttypedeclaration id="mm_xslt_1">
    <title></title>
    <doctypedecl>
    <![CDATA[<!DOCTYPE xsl:stylesheet  [
        <!ENTITY nbsp   "&#160;">
    ]>
    ]]>
    </doctypedecl>
    <rootelement>
    <![CDATA[<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"></xsl:stylesheet>]]>
    </rootelement>
        </documenttypedeclaration>
        <documenttypedeclaration id="mm_html_5">
    <title>
    <MMString:loadString id="mmdocumenttypedeclarations/mm_html_5" />
    </title>
    <doctypedecl>
    <![CDATA[<!DOCTYPE html>]]>
    </doctypedecl>
    <rootelement>
    <![CDATA[<html lang='en'></html>]]>
    </rootelement>
    <dtdcontext>html</dtdcontext>
    <dtdcontext>frameset_frame</dtdcontext>
    <dtdcontext>xslt</dtdcontext>
        </documenttypedeclaration>
        <documenttypedeclaration id="mm_menu7_XML">
    <title>
    <MMString:loadString id="mmdocumenttypedeclarations/mm_menu7_XML" />
    </title>
    <doctypedecl>
    <![CDATA[<?xml version="1.0" encoding="UTF-8"?>
    <?xml-stylesheet type="text/xsl" href="menu7.xsl"?>]]>
    </doctypedecl>
    <rootelement>
    <![CDATA[<ul
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="menu7-2014-09-30.xsd">
    <visitor priority="0.8" href="/index.html" title="HOME">
    <visitor priority="0.8" href="//index.html" title="">
    <visitor priority="0" href="/contactme.php" title="Contact me"/>
    </visitor>
    <visitor priority="0" href="/contactme.php" title="Contact me"/>
    </visitor>
    </ul>]]>
    </rootelement>
    <dtdcontext>xml</dtdcontext>
    <dtdcontext>xslt</dtdcontext>
        </documenttypedeclaration>

  • WAMP5 & Design View

    I've installed WAMP5 on my developing machine, and am using
    Dreamweaver CS3. When I work on pages, they preview in the browser,
    but design view is grayed out, not allowing me to visually see
    anything in Dreamweaver. Does anyone know how to fix this?

    "implementer" <[email protected]> wrote in
    message
    news:eitg95$h9s$[email protected]..
    > I think that any useful .xsl file will have more than 1
    <xsl:template> so
    > DW's
    > limit seems totally unreasonable to me.
    I agree. Any non-trivial .xsl file will have more than 1
    <xsl:template>.
    > Can you recommend a dedicated tool for XML editing?
    XML Spy is definitely worth a try:
    http://www.altova.com/products/xmlspy/xml_editor.html
    I remember XML Mind having interesting out of the box support
    for DocBook
    that allows visual editing. But it lacks code editing
    features and it was
    pretty slow for me:
    http://www.xmlmind.com/xmleditor/
    There are many, many other alternatives I never tried.
    Many solutions are available as Eclipse's plugin as well,
    both free and
    commercial. If you like Eclipse or you already use it for
    other purposes,
    that could be a good choice.
    Massimo Foti, web-programmer for hire
    Tools for ColdFusion and Dreamweaver developers:
    http://www.massimocorner.com

  • Can not see two fields in Crystal 2008 Developer explorer/designer view

    I am currently developing crystal 2008 reports against the salesforce.com database using version 12.0.0.683 CR Developer Full version. I am using an updated driver that was provided in July or Aug 08 in order to view self referencing fields. The problem is that when I try and report against one of the tables (lead history) I cannot view two of the fields (New Value and Old Value)? I can see these two field (New Value and Old Value) in the database expert as the last two fields in the actual table, but the two fields are missing when I go into the explorer/designer view. In Salesforce, these two fields can not be filtered on, but I can export all the values in this table using Salesforece Apex data loader.

    Please re-post if this is still an issue to the OnDemand Forum or purchase a case and have a dedicated support engineer work with you directly

  • Unable to view php files in Design View?

    Need help! I cannot select design view when working with a PHP document, the DesignView option is disabled?
    My information.
    -          Dreamweaver CS5
    -          Mac OSX 10.6 snow Lepoard
    I have searched online and I also went through the FAQ but couldn’t find anything relating to this particular issue and my Professor at school said that I need to contact Adobe directly as design view should always be available but all that I would see in Design View are the HTML elements within the PHP file.
    The Design View button is disabled, I can not click on it all and so for my class assignments. I have to copy the PHP code into a new HTML document and only then am I able to view the html/php and edit the HTML elements, and then copy and paste it back into the PHP file once I have the html elements/design set up correctly.
    I did a similar “Set up PHP for Mac OS X – MAMP” to the version available here, could I have set this up incorrectly and that is why Design View is disabled?
    Thanks I appreciate your guys expertise and any help!

    Kanjan wrote:
    Need help! I cannot select design view when working with a PHP document, the DesignView option is disabled?
    Go to Dreamweaver > Preferences, and select File Types / Editors from the Category list on the left. Make sure that .php is NOT listed among the filename extensions in "Open in code view".
    Adding a filename extension to that list prevents files from being opened in Design view.

  • What is it about this markup that breaks DW CS3 Design View Editing?

    Folks:
    I'm attaching very simple --and apparently completely valid-- markup that generates the text shown between the markers below:
    ------------start----------------
    yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda badda.
    ------------end----------------
    As you can see by examining the file, it contains only an span enclosing text and spaces, and some following breaks.  This file passes DW validation: no errors or warnings.
    If I open this file in DW CS3 Design View, select and delete the last word, "badda", the entire text --every "yadda"--  is also deleted.  All that text is really gone -- if I immediately save the file and re-open it, there is no text content at all, just the span pair,  spaces, and the trailing breaks.  This is completely repeatable.
    When you edit this file, do you get the same result?
    The attached file is a cut-down, simplified version of a production file that exhibits this issue. (That file also passes validation.)   When I delete single  words,  entire content paragraphs disappear.   So this is not just a point of curiosity.  I need to figure out how to fix the production code and avoid this problem in the future.
    What is it about the attached markup that causes this issue?  I've fooled around with this code quite a bit and the best I can figure out is that DW is confused when both the start- and end- span tags are followed immediately by a line break.  Inserting a space in either place makes the issue go away.   But the production code doesn't have any occurances of this pattern. And, anyway, line-breaks have no significance to html, just for source-code formatting, right?
    Am I missing something incredibly obvious?
    TIA
    hen3ry

    Nancy O:
    Thank you for your response, which gave me  valuable clues to understanding the issues.   (Specifically, it led me to re-read and understand better the nitty-gritty of the HTML4 specs,  section 7, "The global structure of an HTML Document", especially 7.5.1 The BODY element.)
    I believe you are saying --in sum--  that to be reliably edited in DW, each source file must comprise a syntactically correct and complete HTML Document. 
    I am attaching a second file, "badcode2.html", modified substantially as you suggest.  It passes the DW validator, the validator.w3.org test, and the www.totalvalidator.com test.    No errors or warnings. 
    I do this:   Launch DW, open this file, choose Design View if necessary, select the final word of text, "badda", and activate Edit-->Cut (or Delete).   As before, all the other text is deleted as well. This is repeatable. 
    It seems to me this sample code satisfies your general principle.  Could I be misapplying the three validation tests?  Or that passing these tests does not assure the document  is syntactically correct and complete?   Can you recommend other tests? 
    I'd like to add the following two points as a matter of background and a bit of niggling: 
    --I'm aware  that complete HTML pages must contain <html> , <head>,  and <body> tags, although the HTML4 specification seems to say <body> tags are optional.   All my production pages, as served, contain these tags.   My underlying design is a php template with individual content files incorporated by inclusion.   There may be only one set of <html> , <head>,  and <body> in  a  page. The  "outer" template code provides these tags, and individual content files cannot contain a nested set -- so they must be "bare" markup.   Is DW able to support this design, in which "bare markup" files are seemingly unavoidable?    Is there a mechanism analogous to DW Design-Time Style Sheets to provide virtual existence of these tags so "bare markup" files can be successfully edited?  I've looked for such a mechanism but not found one.    Or some completely different method?   
    --You specify the inclusion of <p> or <h1> tags within the  body.    Is there some special significance of <p> or <h1>  with respect to stable editing in DW?  My reading of the HTML4 spec indicates that a single block element is the minimal requirement for body content. Either of these tags qualify, right?   But so does <div>, and that's what I use in my current example.    Am I misunderstanding something? 
    Bottom line,  I'm looking for a pragmatic solution for my problem:   Once in a while, among hundreds of  structurally similar "bare markup" pages I edit in DW without any problem,  I lose data.   If inserting an additional tag into all my content include files eliminates these occasional problems, I'm  willing to do that, as long as:  (1) There is an arguable technical basis for the addition,  (2) the added tag does not  produce anything visible on the served page, and (3) the validators don't flag the extra tag.     
    Suggestions, please! 
    Thanks, 
    hen3ry

  • Can not see the design view nor the java file in CentOS

    Hi all. I've recently installed JSC2 in CentOS. I find this tool really useful. But I have a problem with the design view and the java file view. At the beginning, when I first create a Page1.jsp, I can see the design view and the java view with no problem. I run apps correctly. But after a while, I get a "null pointer exception" error and I am able to see only the jsp view, not the others. I don't even have the option to see the Design and Java views. And the page icon in the project window appears to be darker than a well working page. I'm not really sure what sequence of actions I do to get this error, it just suddenly happens. What I've done so far in JSC2 is to link to pages in the Page Navigation view. It works fine for a while, but after a while I get the error I've described.

    Yes, if I do that It happens the same. I've tried everything. Now I'm using Window$ 2000 and it works properly. Thanks anyway.

  • Images broken in design view on new computer paths leading to old harddrive?

    I recently got a new imac and installed cs5 dreamweaver ( I was using dreamweaver 8 but it no longer works in mountain lion) . I redfined the site all was fine then I must have done something and now suddenly all my images are broken in design view and in brower and live view! The site shows the images online from the server but everything is broken in design view. The directory is a mess as I used way too may subfolders when I first did the site but it's too large to start over. I tried deleting the site from my harddrive all together and creating a new folder for it and just getting the entire site from the server but the images still don't show. I don't want to have to go to every page on the site and fix broken links! I can pull an image into a page by browsing to the folder on my harddrive but they are not appearing anymore on their own. If the images were uploaded originally from another computer and the folder being used now for the site on my harddrive is different that won't break the image paths will it? It all worked fine until a few days ago. What I don't understand is I thought the images wouldn't show if they were only on the server and not on my harddrive but since I just GOT the site from the server, all the images ARE now on my harddrive in the new folder so why still nothing showing? I I tried right clicking the broken images and showing design notes they seem to be lookin for a path to my old computer where the harddrive was named differently than it is now. Is there ANY way to fix this? What about renaming my harddrive to the old name?
    Greatful for any advice but I am very much a newbie so not sure I will be able to do what I need to.
    Mary Ann

    Spaces in folder/filenames are not a good practice.  Space are converted to %20 on the server.  DW's Design View often can't reconcile this.  Best advice is to remove the spaces and use underscores _ or hyphens -
    Rename this:
    http://www.thedqtimes.com/Jane_site/Lake%20Effects/lakeeffectsjdaughters.jpg
    http://www.thedqtimes.com/Becky%20H%20stories/Untitled-1.jpg
    To this:
    http://www.thedqtimes.com/Jane_site/Lake_Effects/lakeeffectsjdaughters.jpg
    http://www.thedqtimes.com/Becky_H_stories/Untitled-1.jpg
    Also, you have a misplaced <head> tag.  It needs to be above the Dynamic drive Javascript code.
    <head>
         <script> </script>
         <style> <style>
    </head>
    Some pages are missing an HTML doc type declaration.  This sends browsers into Quirks Mode.
    Use validation tools to check for other code errors.
    Code Validation Tools
    CSS - http://jigsaw.w3.org/css-validator/
    HTML - http://validator.w3.org/
    Nancy O.

  • Images and styles not showing in Design view on CS3

    Hi all,
    I am playing around with a CSS website template that I downloaded and
    opened in DW-CS3. I am just using this to learn and play around with. It
    came with the style sheet, jpg images etc.
    I just noticed that when in Design view for the index page, that the images
    and styles, menus are not displaying, only the html text is visible in Design view.
    When I preview the site with a browser like IE or FF, it displays fine along with
    any changes I have made.
    Does anyone have any ideas?
    Regards,
    dano

    In DW, View > Style Rendering > Display Styles on?
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • Design view and browser view in DW are different than when I view from local folder

    I'm brand new to Dreamweaver CS5.5 and here is my problem:
    I've made an html page in dreamweaver with a banner, with an additional graphic and some text on top of the banner.  It displays just fine in every browser when I view from the local folder, but when I open DW and view, it displays incorrectly in all three design, live and browser views within DW.  If I make changes to the css file until it views correctly in design view, it no longer displays correctly from the local folder and it still doesn't view correctly in live or browser view within DW.  If what I'm doing isnt going to display accurately in any of the views provided by Dreamweaver as compared to the live server, whats the point in having this software?  I could just keep building webpages in notepad and uploading with CoreFTP.
    Any suggestions?  Is it some setting that I dont know about that I need to change within DW?   Please help.

    align="center" is deprecated (obsolete) code in XHTML & HTML5 doc types.  Instead of styling markup with HTML, you should be using CSS. 
    CSS
    .center {text-align:center}
    HTML
    <p class="center">some centered text here</p>
    With respect to break tags, in XHTML doc types the correct syntax is <br /> not <br>.  However your usage of line breaks is inconsistent with good symantic markup.  Use headings <h1> <h2> <h3> <h4> for important keywords.  Use <p> for descriptive paragraphs.  Use <ul> <li> or <ol> <li> for lists.  Line breaks should be used minimally if ever.
    XHTML doc types require all tags to be lowercase.  Uppercase tags will throw errors.
    Your design is too rigid.  When text size is increased in browsers, your content is unreadable.  See screenshot.
    SOLUTIONS:
    1) DO NOT USE POSITION ABSOLUTE.  You don't need it.  Absolute positioning removes content from the normal document flow resulting in a jumbled mess.  Use default CSS positioning (none) with margins, padding & floats to align elements.
    2) Remove HEIGHT values from all CSS containers.  Height limits a container's capacity to hold more content when needed.  Container height should always be determined by the amount of content it holds; not explicit values.  If required to reveal a background image, for example, use CSS min-height instead of height.
    CSS Box Model
    http://www.w3schools.com/css/css_boxmodel.asp
    CSS Floats
    http://www.w3schools.com/cssref/pr_class_float.asp
    CSS min-height
    http://www.w3schools.com/cssref/pr_dim_min-height.asp
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com/

  • How to add addtitional pages in design view?

    How do I create additional pages in design view?  I have tried using NEW PAGE AFTER, but that doesnt add another page in design view, like I need. 
    I am creating a report that uses 8 subreports per page to dynamically create labels.  Currently I have a report header, and am using the page header to arrange the subreports so the top of each subreport prints on the top of each label.  The fields in the subreports can grow, and fill in the label from the top down. 
    I need to create a multiple pages using this format, but I dont know how to add more pages in design view.  Essentially I need subreports 1-8 on page 1, 9-16 on page 2, etc.  I would like to preserve the formatting I have created thus far, but I can always change it if I have to.

    In attempting to create the label sheets I needed, I ended up creating 14 separate reports (which report on 6 individual queries), because there are 14 pages worth of labels that need to be created.  What I wish to accomplish is to condense these 14 reports down to 6 reports.  One for each query.  What I absolutely cant find a way to do, is to get Crystal Reports to allow me to customize subreports on consecutive pages.  Again, I have 8 subreports on each page, which have been formatted to fit on 8 labels when printed.  Each subreport is identical in design, but has a different range selected (i.e. my driving value in each subreport has been modified with Select Expert to be between 1 and 5, or 6 and 10, or 11 and 15).  This is how I have been able to return 5 consecutive results on each label, with the next label returning the following 5 results. 
    My ultimate question:  Is it possible to create a multi-page report using this method?

  • Is it possible to print from design view in CS3

    I've got a summary print out / display page for a CF application that I'd like to be able to print out in Design view.
    DW CS3 only seems to print the code page and I don't want to print from a browser as that will only show the options currently selected - I'm after having all options displayed.
    Is it possible? Any suggestions other than printScreen?

    No, you can't print from Design view. It seems as though screen capture is your best option,

  • Design view is empty

    I'm able to see the html/cf code in the code view, but in the
    design view I don't see anything, to include tables, etc. I'm using
    DWMX2004.
    Any ideas?
    Thanks.
    Force

    Does the page validate? If not, then fix the validation
    errors. That's the
    best way to approach troublesome pages.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "n h c" <[email protected]> wrote in message
    news:er02tr$g93$[email protected]..
    >
    quote:
    Originally posted by:
    Newsgroup User
    > > if that makes any sense.
    >
    > It doesn't really. If the page is valid HTML, you will
    see it in DW.
    > Even
    > when it is a combination of some scripting language and
    HTML, you will see
    > something.
    >
    >
    > well, maybe that's how it should be. but this website
    defies all reason
    > and
    > convention. i think most people would have quit/suffered
    a nervous
    > breakdown/killed my boss by now. the people who worked
    here before me left
    > quite a mess, i must say.
    >
    > i think the code probably isn't valid. but i really
    don't know enough
    > about
    > coding yet to fix it. and it works, it just makes it
    hard to figure out
    > where i
    > need to edit things sometimes.
    >
    > but we're not discussing my ridiculous website here! not
    anymore, at
    > least.
    >
    > -courtney
    >
    >

Maybe you are looking for