How to do closing tag: tag /tag instead of tag/ in jdev xslt mapper

Hi!
We have commercial systems, which cannot work with short closing tags for empty nodes.
Xslt mapper for oracle mediator optimize everytime to short closing tag, when node content is empty.
Is there a property or technique to achieve long closing tags?
Kind regards
Torsten

http://www.biglist.com/lists/xsl-list/archives/200610/msg00342.html
not really a pretty solution, but you could try adding the comments

Similar Messages

  • File to Multiple Idocs, Error: Tag MESSAGE1 found instead of tag IDOC BEGIN

    Hi,
    I have configured my file to multiple idocs scenario using the following blog -
    /people/claus.wallacher/blog/2006/06/29/message-splitting-using-the-graphical-mapping-tool
    Now when i try to execute this scenario it is scenario it is giving me the following error at "Call Adapter" Stage in runtime-
    "Tag MESSAGE1 found instead of tag IDOC BEGIN="
    My message looks like this at "Request Message Mapping" Stage in runtime -
      <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
    - <ns0:Message1>
    - <ZDR009>
    - <IDOC BEGIN="1">
    - <Z100901 SEGMENT="1">
      <RUNDATE>20080220</RUNDATE>
      <RUNTIME>0037</RUNTIME>
      <CONSTANT1>PYRLINCST</CONSTANT1>
      <CONSTANT2>CSC</CONSTANT2>
    - <Z100902 SEGMENT="1">
      <RECTYP>2</RECTYP>
      <SSN>641381239</SSN>
    Kindly assist me in solving this error, Thanks in Advance!!
    Regards.
    Sudheer

    Hi Sudheer,
    Just the check the message mapping. Check the parant node mappings to create two different messages.
    It seems that the mapping done on IDOC Node to create the IDOCs is getting failed.
    Copy the content from inbound payload and test it in message mapping.
    Remember, when you load the test data into your test tab you will get the error of structure mismatch coz in your mapping you have additional message.
    Do the change with original data as shown below befor testing.
    <?xml version="1.0" encoding="UTF-8" ?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
       <ns0:Message1>
    Original message will be here.
    </ns0:Message1>
    </ns0:Messages>
    Regards,
    Sarvesh

  • How to get the XML TAG name itself instead of TAG value

    Hi All,
    I have a question here
    I want to retrieve the XML tag from a XML file instead of its value.
    Example:
    <item>Colgate</item>
    Now I want to retrieve "item" as output from XPath expression, I dont want its value as "colgate"
    How to do that...?
    Thanks
    -Praveen

    You can do this with an axes XPatch expression:
    child::node()/name()
    For more info see: http://www.w3schools.com/xpath/xpath_axes.asp
    HTH,
    Bas

  • How-To dinamically add an attribute using "c:if" tag?

    Hi,
    I have a problem with f:attribute tag.
    I need to dinamically add an attribute to a h:panelGroup tag according to the value of a ELExpression. For example the fragment below should output an HTML page with two radio controls; depending to the clicked radio, the "foo" section or the "baz" section is showed (this is controlled client-side vie the javascript function called in the onclick event of the "foobaz" component):
    <h:selectOneRadio id="foobaz" layout="lineDirection" value="#{myBean.foobazMode}" onclick="showHideFooBaz(this);">
      <f:selectItem itemValue="#{myBean.fooMode}" itemLabel="Show Foo"/>
      <f:selectItem itemValue="#{myBean.bazMode}" itemLabel="Show Baz"/>
    </h:selectOneRadio>
    <h:panelGroup id="foo">
      <c:if test="#{myBean.bazVisibile}">
        <f:attribute name="style" value="display: none"/>
      </c:if>
    </h:panelGroup>
    <h:panelGroup id="baz">
      <c:if test="#{myBean.fooVisibile}">
        <f:attribute name="style" value="display: none"/>
      </c:if>
    </h:panelGroup>Well, the problem is this not work.
    So my idea was to develop a new AttributeTag with a JSP body content in order to write:
    <h:panelGroup id="foo">
      <my:attribute name="style">
        <c:choose>
          <c:when test="#{myBean.fooVisibile}">
            <f:verbatim>display: block</f:verbatim>
          </c:when>
          <c:otherwise>
            <f:verbatim>display: none</f:verbatim>
          </c:otherwise>
        </c:choose>
      </my:attribute>
    </h:panelGroup>
    ...but don't work too.
    Starting from the SUN JSF-RI AttributeTag, I developed my version extending from BodyTagSupport class instead of TagSupport one.
    public class AttributeTag extends BodyTagSupport
        public int doStartTag() throws JspException {
            return (EVAL_BODY_INCLUDE);
        public int doEndTag() throws JspException {
           // Locate our parent UIComponentTagBase
            UIComponentClassicTagBase tag = UIComponentELTag.getParentUIComponentClassicTagBase(pageContext);
            if (tag == null) {
                    throw new JspException("com.sun.faces.NOT_NESTED_IN_UICOMPONENT_TAG_ERRO");
            // Add this attribute if it is not already defined
            UIComponent component = tag.getComponentInstance();
            if (component == null) {
                    throw new JspException("com.sun.faces.NO_COMPONENT_ASSOCIATED_WITH_UICOMPONENT_TAG");
            FacesContext context = FacesContext.getCurrentInstance();
            ELContext elContext = context.getELContext();
            String nameVal = null;
            Object valueVal = null;
            boolean isLiteral = false;
            int result = EVAL_PAGE;
            if (name != null) {
                nameVal = (String) name.getValue(elContext);
            if (value != null) {
                if (isLiteral = value.isLiteralText()) {
                    valueVal = value.getValue(elContext);
            else
                    BodyContent bodyContent = null;
                    String content = null;
                    String trimContent = null;
                    if (
                            (bodyContent = this.getBodyContent()) == null
                            || (content = bodyContent.getString()) == null
                            ||  (trimContent = content.trim()).length() == 0
                            || (
                                    trimContent.startsWith("<!--")
                            return result;
                    valueVal = trimContent;;
                    bodyContent.clearBody();
                    isLiteral = true;
            if (component.getAttributes().get(nameVal) == null) {
                if (isLiteral) {
                    component.getAttributes().put(nameVal, valueVal);
                else {
                    component.setValueExpression(nameVal, value);
            this.release();
            return result;
    }So guy, have you any idea of how to solve my problem?
    Any help is very very appreciated!!
    Regards,
    -- Anthony

    Hi BalusC
    The first one is not for me because the "rendered" attribute is set on the server-side: the current "invisibl"e section would not be included in the renderer page (what I want is render the page displaying the current visible section and to switch to another section at client-side)
    ...but...
    The second solution you propose is OK!!!! and so simple!!
    Yeah man I really really thank you (sorry I didn't find the "?:" expression in the JSP manual http://java.sun.com/products/jsp/syntax/2.0/syntaxref20.html. Now looking again - and better - I find it as "ChoiceExpression")
    Again, thanks!!!
    -- Anthony

  • How can you tell if a pic hasnt been tagged by iPhoto, and do you then...

    How can you tell if a pic hasnt been tagged by iPhoto, and do you then do you then have to draw "missing box" around them
    What I mean is tagged a few faces, imported some more pics, checked a few and they dont show as named faces, but are faces that are in my Faces source list (ie identified and named)
    So do I then have to draw a box around known faces to me, and name them again (I think iPhoto will pop up as Im typing the names I already have)
    It just means that even when i import and it doesnt name, I may have lots of pics that are of faces but not tagged and so not in my faces source list
    please help
    cheers
    ps when are Apple going to upload the Getting Started manuals for iLife 09? its been a while since released now, ad they give a bit more insight than the video tutorials alone

    No-one? It'll be nice to know how many pics of faces that arent yet tagged
    cheers

  • Tag  found instead of tag IDOC BEGIN=

    I am doing file to IDOC.
    I see this error in SXMB_moni.
    Error: MSGGUID 55F5AB4083AC11DDA9030050569C7B40 Tag  found instead of tag IDOC BEGIN=
    What could be the issue....
    Edited by: Harsha reddy on Sep 17, 2008 4:39 AM

    Hey
    Are you trying to post multiple IDOC's?
    If yes,then did you change the IDOC occurrence as 0-unbounded?
    Also try to import the IDOC metadata again in IDX2 and run the scenario.
    Thanx
    Aamir

  • How Do I save and restore keywords, categories and tags in PE6?

    I have my photos backed up on an external hard drive, but if and when my hard drive crashes, how do I get back the tags, keywords, categories, etc. that I have used in the PE 6 Organizer?  Can I save them and, if so, when I need to restore this, how do I do that?  How do I reconnect tags, categories, keywords, etc. with photos that I re-import after a hard drive crash?

    John: Many thanks for this help.  I use CS3, but my mom has PE6 and I'm trying to help her.  I'm not as familiar with PE6.
    Again, thanks,
    Mark
    Date: Sat, 12 Sep 2009 13:24:12 -0600
    From: [email protected]
    To: [email protected]
    Subject: How Do I save and restore keywords, categories and tags in PE6?
    PSE keeps your keywords, categories, albums, stacks, version sets, captions, notes, dates, and star ratings in a file in a "catalog folder".  (Do Help > System Info to find the location of your catalog folder).  When you make a backup with the PSE File > Backup command, it copies all your photos and the catalog file into the backup.   When you restore from that backup, it copies that catalog file and all your photos to the location you specify.
    >

  • How to render outputlink as an area tag rather than an a tag

    Hi all,
    As stated in JSF document, both shape and coords are valid properties in outputlink. So, I have tried following
    <map name="monkey">
    <h:outputLink shape="rect" coords="0,0,30,30" value="http://yahoo.com"/>
    </map>
    however. that is rendered as &lt;a href="http://yahoo.com" coords="0,0,30,30" shape="rect">&lt;/a>, what I really want is
    &lt;area href="http://yahoo.com" coords="0,0,30,30" shape="rect">&lt;/area> ...
    I mean if outputlink can only be render an a tag, but not an area tag, I do not see why it will support shape and coords propeties ...
    Any help here ...
    Thanks a million
    Edited by: EJP on 5/09/2011 10:50: fixed your meta-HTML

    886619 wrote:
    I know that coords and shape are defined in w3c standard, my questions are
    1) what jsf component can be rendered as area tag for html frontend?None that I am aware of. You could write your own. Or, if an existing component is appropriate, you could write an alternative renderer for the component.
    2) "The position and shape of the hot spot on the screen (for use in client-side image maps)." That is the sentence for JSF document, what you think about for use in client-side image map mean? I donot see why render as <a> tag for client-side image map will be an acceptable solution ...I don't think this has anything to do with JSF at this point; JSF simply passes these values through to the rendered HTML. You have to understand how to use HTML to make proper use of these attributes.

  • How to use Google fonts not in an H tag?

    How do you do it?
    I ask this because Im under the impression h tags have attributes that come along with it to make it like a paragraph, right?
    Im looking at making a few word a Google font and a caption. How would I apply this to a div? Inline? Or a new css rule? Both?
    Im not good at handcoding CSS, so this is why I ask.
    I have the Google font in my CSS and call a few HTML headers h1,h2,h2 to it fine. How do I make text not in an H tag the Google font?
    (yes, I think it's a super easy answer, but not too knowledgeable about it)
    Also, does CS5 DW have some sort of support to make the Google font a selectable from the dropdown?

    Use CSS classes.
    .google {
         google font rules go here...
    HTML:
    <p class="google">This paragraph uses google font</p>
    <h1 class="google">This heading uses google font</h1>
    <h1>This heading uses standard font</h1>
    <p>This paragraph uses standard font</p>
    CSS classes appear in the drop-list on your properties panel.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • How to set the default path of the tag while working with xtype "tags"

    Hi,
    I am working with xtype tag, where i have to select tags in the dialog box. Everything is fine, but my requirement is set the tags path.
    Currently it is defaulted to /etc/tags and showing all the tags. Instead i have show only the single tag path that is required for me.
    Is there any way where i can set the root path and set to my custom tag path like: /ets/tags/mycustomtags/
    Thanks for the support in advance
    Riyaz

    Hi,
    Use namespaces property to set the path. But it only works with namespaces that you directly creates under /etc/tags
    so for example if you want to use or show two namesapces /ets/tags/mycustomtags & /ets/tags/mycustomtags1
    then set this property as
    namespaces       string[]             mycustomtags  
                                                       mycustomtags1
    and if you have only want to show one then
    namespaces       string[]             mycustomtags
    I hope it will help you.
    Also refer http://dev.day.com/docs/en/cq/current/widgets-api/output/CQ.tagging.TagInputField.html
    Let me know if you need more information.
    THanks,
    Pawan

  • HT2518 I don't have .psd files but how do I migrate my Photoshop Elements catalog with tags from Windows

    I don't have .psd files but how do I migrate my Photoshop Elements catalog with tags from Windows?

    That's really disappointing, I purchased the download version.
    I refuse to pay another £55
    Thanks for your help anyway

  • How do get rid of the Pop Up Info Tags?

    This might sound Stupid, but how do get rid of the Pop Up Info Tags? that keep coming up on the Mac when in an Application that says what this item is for. This drives me crazy, and at times gets in the way of what I'm looking at. There must be some Pref to turn this off and on, I Hope.
    Anyone?
    ScottG
    G5 Dual 2.3   Mac OS X (10.4.3)  

    ScottG wrote: "I guess Safari doesn't have this option?"No, it does not. If an app offers the option, it will be in its preferences. It's rare nowadays for an application to offer a preference for disabling tool tips, especially after the developer went to all the trouble to provide them.
    Simply move your cursor off the control displaying the tool tip: the tip will vanish.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X

  • How do I change Itunes:summary, keyword and description tags?

    Hey guys,
    I have created my podcast in garageband and then uploaded it to Iweb. I submitted my podcast to itunes and it has been approved. The title of the Podcast is Heaven's Lounge and I put it in the music category. Below is the link.
    http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=262795345
    However, when I do any type of search it says podcast cannot be found.
    I have been reading alot of post regarding Itunes summary, keyword and description tags.
    How do I go about adding keywords and description tags? I can't figure it out in Iweb.
    Someone please help.
    Thanks
    Peter Canellis

    chrisfromgastonia wrote:
    Thats fine, but if you want to sync and backup to itunes and icloud then turn icloud off then sync to itunes, then turn icloud back on and sync and back up to icloud, i always do both to have more than just one of them.
    Shouldn't really need to do that.  I have iCloud turned on on my
    iPhone all the time, as I do on all my Macs.  I am still able to backup
    and sync apps and music to iTunes via USB.  I do keep "Backup to iCloud"
    turned off in iCloud preferences on the iPhone.  I do occasionally turn it
    on and do a immediate backup to iCloud then turn it back off.  Can't have
    too many backups.
    Actually did it this morning while contemplating whether to update to 11.

  • How to call a method repeatedly with JSP custom tag?

    This senerio is very similar to the usage of StringBuffer.
    I have a problem which can be solved easily with scriptlets:
    <% NameValuePair nvp = new NameValuePair(request.getQueryString()); %>
    <a href="foo.html?<%=nvp.add(name1", "value1").add("name2", "value2").toString();%">">Foo</a>
    <a href="bar.html?<%=new NameValuePair(request.getQueryString()).add("x", 1).add("y", 2).toString()%>">Bar</a>
    But I cannot use scriplets because it's turned off. I can only use jsp custom tag / jstl. How would I implement this functionality with a custom tag? How would the JSP code look like? Our container supports JSP 2.0.
    Thanks.</a>

    hi,
    you can do within 2 step-
    1) use <%@page import="your_java_class"%>
    2)use scriptlet code <%...%> and write coding in this tag.
    means create instance of your java class .
    <% your_java_class obj1=new your_java_class();
         obj1.method_of_your_java_class();
    %>or
    3) you can make javabean to use method of java class.[Best option]
    Thanx
    Ranvijay

  • How to display JPEG in JSP w/o IMG tag?

    I have a working application where a jpeg image is ecoded on the server via a JavaBean. The bean is then forwarded to a JSP, which gets the unique jpeg filename from the bean and displays it with an html <IMG> tag. All's fine and well, but I'd like to get away from having lots of image files laying around on the server and just display the image encoded in the current request. I tried creating a custom tag to encode and display the jpeg using the com.sun.image.codec.jpeg.* package in this manner:
    ServletResponse res = pageContext.getResponse();
    OutputStream os = res.getOutputStream();
    JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(os);
    encoder.encode(imageRef); //-- imageRef is instance of BufferedImage
    and in the JSP:
    html, other tags, etc.
    <graph:image imageRef='<%= imageBean.getImage() %>'/>
    The image displays, but nothing else in the JSP (ie. html, other custom tags). In all other tags I've written, JSPWriter is used for output, but I need an OutputStream for the createJPEGEncoder() method.
    Can anyone tell me if what I want to do is possible? I'm chasing my tail at the moment.
    TIA Mark

    Would this work for you:
    Create the IMG tag in the JSP with the SRC as a servlet.
    Also, add any parameters you may need to tell the servlet what image to send back.
    Something like this:out.print("<IMG SRC=\"/servlet/ImageProducerServlet?WhichImage=");
    out.print("MySpecialImage");
    ...The ImageProducerServlet can be setup to send back the JPEG image file.

Maybe you are looking for

  • What is the link between PO and Requisition in database side

    hello friends, please can any one tell me that what is the link between PO and Requisition in database side. means after creating the requisition we will go for create the PO based on that requisition. want to know that what is the link between both

  • ITunes Match and iPhone

    I have iTunes Match activated on both my devices, macbookpro and iPhone 5. I have noticed many diffences between the 2 library. I have an album that If I don't set the artist album tag, the artist don't work on iPhone. Also, I have an artist that all

  • When I convert a doc with hyperlinks into a PDF on a Mac links in the PDF don't work

    Hey guys, please advise how to make a PDF on a Mac so that hyperlinks from the original file remain active and working in the PDF document? The links which look like a web address (http://www....) are converted correctly and open fine, but when a hyp

  • DESADV is not generated during Goods issue from VT02N.

    Hello, DESADV is generating during goods issue from VL02N. But DESADV is not generated during Goods issue from VT02N. Any idea what was missing? I maintained the variant of RV56ABST for Delivery message with output type LAVA and Medium 6 (EDI). Thank

  • How much can it hold?

    Hello, I'm new to the movie making stuff and I have a few questions I was hoping I could get some answers to. My family goes on trips every year and we take about 2 hours of film during a normal trip. I have two questions. First, would this amount of