JSP Documents (JSP pages in XML format) and Namespaces

I have 1 set of XSLT stylesheets that takes XML and outputs JSP documents.
This 1 set of XSLT supports numerous clients (customers).
I have a new customer that uses a new namespace, let's call it "xyz".
This namespace is the TLD for xyz custom tags.
So, it would look something like this in the resulting jsp:root tag --> xmlns:xyz = "/xyzTagLib".
Where /xyzTagLib has a corresponding entry in web.xml that points to the xyz.tld that is delivered in WEB-INF/TLD.
However, most customers do not have the xyz application installed.
Thus, I added the exclude-namespace-prefixes="xyz" in the xsl:stylesheet tag to conditionally add the xmlns:xyz only if an xyz tag exists. However, this does not add it to the jsp:root tag, but only to each individual xyz tag in the resulting document.
However, the resulting JSP does not work in the runtime environment because it does not recognize the xyz tags.
Is there a known bug with jsp documents declaring namespaces "in line" instead of at the jsp:root level? Is there a way around this?
Thanks,
Brian

Hi Tridib,
the XML content is stored in the .xml file. You'll have to access it in a way that doesn't cause the XML-to-HTML transformation to take a peek at the format. You could probably do this by accessing the repository in question via WebDAV. If you're on a later SP, you should be able to go to /irj/go/km/docs/ in your browser to access the repository via WebDAV. Otherwise, take a look in the details pane of the folder that contains the .xml file in question. Under properties, there'll be a URL to access the folder via WebDAV.

Similar Messages

  • Since OS X Yosemite upgrade, cannot share document from pages in word format. Therefore document cannot be opened by non apple user.  How do I get around this please?

    Since the OS X Yosemite 10.10.2 update to my iMac (27 inch, Mid 2010) , I can no longer "share" a document from Pages in word format via email.  It can be sent as an att but then as "Pages"  cannot be accessed by a non apple receiver.  Please what is the answer, the old method was fast, simple and efficient.
    Out of my depth appreciate some help.

    Are you using the File > Export function? It will deposit a Word document onto your desktop (or any folder you choose) and then you can attach it to your email.

  • Deliver a report in XML format and save it to local file system on the server

    We have OBIEE 10.1.3.4 on Redhat linux. We want to have generate a report in XML format and saved it to the server's file system. Did not realize this is s difficult task. Basically
    1) How to create a XML report? It is not listed in the output items of a layout template.
    2) How to deliver XML the report  to local file system. Look into the Delivery section of Admin page. FTP should be the best choice, but does that means that one need to install and run ftp server on the BI server box?
    Thanks

    Hi,
    Since I still have problems on this subject, I would like to share on how it progresses.
    Currently I have a problem of timeout in step "Truncate XML Schema" with the URL that I mentioned above.
    The exact error is the following : 7000 : null : com.sunopsis.sql.l: Oracle Data Integrator TimeOut : connection with URL [...]
    The connection test is still OK.
    I tried to increase the value in the user's pref but there's no change.

  • I accidentally deleted documents from Pages on my iphone - and now they won't show up on my mac anymore either.  I must have saved them just on icloud and not on my mac, too.  is there anyway to recover these documents?

    I accidentally deleted documents from Pages on my iphone - and now they won't show up on my mac anymore either.  I must have saved them just on icloud and not on my mac, too.  is there anyway to recover these documents?

    On a mac, when you save docs to icloud, a local copy is also saved.  It's saved at:
    ~/Library/Mobile Documents
    Note that Library in the user's home folder is now hidden, so you'll have to set Finder to view hidden files.
    The Mobile Documents folder has subfolder where copies of the doc/data files are stored.
    If the file(s) are no longer there, then use your Time Machine backups to get copies back to the mac.

  • Converting String To XML Format and send as attachment

    Hi
    My requirement is to convert String into XML Format and that XML File i have to send as an attachment
    can any one one give solution for this Problem.
    Thank you
    Venkatesh.K

    hi,
    i m filling the itab first and converting to xml
    itab contaning these data
    GS_PERSON-CUST_ID   = '3'.
    GS_PERSON-FIRSTNAME = 'Bill'.
    GS_PERSON-LASTNAME  = 'Gates'.
    APPEND GS_PERSON TO GT_PERSON.
    GS_PERSON-CUST_ID   = '4'.
    GS_PERSON-FIRSTNAME = 'Frodo'.
    GS_PERSON-LASTNAME  = 'Baggins'.
    APPEND GS_PERSON TO GT_PERSON.
    after conversion data is coming like that
    #<?xml version="1.0" encoding="utf-16"?>
    <CUSTOMERS>
      <item>
        <customer_id>0003</customer_id>
        <first_name>Bill</first_name>
        <last_name>Gates</last_name>
      </item>
      <item>
        <customer_id>0004</customer_id>
        <first_name>Frodo</first_name>
        <last_name>Baggins</last_name>
      </item>
    </CUSTOMERS>
    but errors are  1) # is coming at the first
                            2)for 'encoding="utf-16"?>', it is not coming perfectly, some other data (iso-8859-1) should come here
    can anybody plz solve it.
    regards,
    viki

  • Can I make a document in pages on my iMac and then export it too pages on my Ipan?

    Can I make a document in pages on my Imac and then export it too my Ipad in pages?

    Welcome to the Apple community.
    Sure you can, just create the document in pages as you always do on your Mac, once it is complete, drag it to the Pages section at iCloud.com on your web browser. It will then sync to and be available in the list of documents when you open pages on your iPad.

  • How do you differentiate IDOC XML format and ordinary XML format

    how do you differentiate IDOC XML format and ordinary XML format since they are used by IDOC adapter and RFC adapter???

    Hi,
    Cremas Structure starts with Header and followed by Segments...
    Normally it begins like this
    <CREMAS03><IDOC BEGIN="1">
    The second node is Idoc in the header..
    Thanks
    Anju

  • I created a document in Pages on my ipad and now it won't open up. How can I fix this?

    I created a document on my Ipad and when I finished it, I closed Pages. When I went to re-open Pages and see the document it wouldn't open. I click on the document and it shows the processing symbol but then the entire program closes. All of the other documents within pages open up fine, just not this one. Any help?

    Try resetting your iPad.  Hold the on/off and home buttons together for 7 or 8 seconds till the Apple logo appears.
    I'm assuming your default is to save Pages documents to iCloud, and that you had a good WiFi connection when you closed Pages the last time you tried to save the document.

  • Data from table in xml Format and Inserting it into  Table

    Hi All
    I have table where xml data is stored in long format with xml tag know i have read the entire xml xoulmn which is xml tag and insert it into diffrent table can any suggest me the code
    Thanks & Regards

    I believe you are on the wrong forum. You want the XML DB forum.
    See:
    XML DB

  • Pass parameter through standard page "import xml content and actions"

    Dear Portal experts,
    As you know, a standard portal page is configured to allow the import of XML file. It is located in the portal in the path system admin -> transport -> xml content and actions -> import
    I configured a quick link u201Cimportu201D to the page so now the link http://myserver:port/irj/portal/import allows me to access directly to this screen.
    What I would like to do now is to pass the parameter related to u201Cfile nameu201D through this screen meaning that I would like that http://myserver:port/irj/portal/ import/filename=C:\test.xml  fills automatically the fields u201CXML fileu201D with  C:\test.xml 
    Please do you know how to achieve this ?
    Thank you very much and regards

    hi,
    @Maksim :
    When user launch an URL like http://myserver:port/irj/portal/ import/*filename=C:\test.xml, he is requested to provide username and password; as this link is a shortcut for the upload xml page, there is a check of authorization and only portal admin that have authorization and permission on this page/iview will be able to upload xml file through the URL. Hope this clarify.
    @Kumar :
    thank you for your answer. What a pity to not be able to pass parameter through standard portal page/iview particularly knowing that we can pass paramater through many kinds of iviews (transactional iview, url iview, VC iview...). I explored some option on file com.sap.portal.ivs.init.par but this was unsuccessful. However, thanks to this [link bellow|http://wiki.sdn.sap.com/wiki/display/Snippets/ComponenttouploadXMLfilewithPCD+objects], I was able to upload through URL the XML file.
    The problem is that I can upload only XML file that are stored in the server not in the local user computer. My requirement is to be able to upload local XML file stored on user's computer.
    If someone could provide and idea/solution, I would be very grateful.
    Cheers

  • Archive files are in XML format and not in the original format

    Hi all,
    I am using a receiver file adapter with archiving option. When I look at the archive files they are in the XML converted format and not in the original flat file format received. We would like to store these files for audit purpose and it doesnt make sense to store XML files. We are in SP04. Does a note need to be applied or any other extra configurations need to be done which I might have missed? Please advise.
    -Teresa

    Hi,
    >>>Wow, the note says its fixed in SP10
    but only the split is fixed not the XML messages in the archive I think (from the note)
    >>>Is there any alternative quick fix and I hate manual work
    create 2 new folders - connect one of them with the file adapter and the second one remains for archives
    in you normal destination folder for your files add a simple program that will check if there are any files and copy them to those two folders - this could be the fastes but obviously not the best solution I guess
    Regards,
    michal

  • Can I convert PDF documents to Pages or other formats?

    Can a PDF Document be converted to pages or other format like RTF, Text, ETC.

    Have you tried the File ➙ Export To menu in Pages for some format options?

  • Firefox crashes and all website pages loose their formatting and pictures, and links are broken

    I’m currently running Firefox 18.0.1 on a 13” 2011 MacBook Pro 2.7 GHz Intel Core i7 with 8GB or RAM that is running OS X 10.8.2 Mountain Lion. I have been living with this problem for over a year and this same computer has had this problem while running OS X 10.7 and I think even 10.6. The problem also existed with earlier versions of Firefox including versions 17, 16, and possibly 15, it’s been so long I can’t remember.
    The problem is that Firefox crashes (or something within Firefox crashes) and the screen “goes white” and by that I mean all the graphics and layout of a page like YouTube disappears and even though the links are there, none of them work. The page is just made up of text and broken links. Reloading the page does nothing so I have to close Firefox and restart it. (No reboot) On relaunch everything is back to normal and may last a few minutes, or it may crash again right away. Generally if I launch Firefox and use it and then go use some other programs, when I come back to Firefox it will then crash. Is this a Java problem? Is this a javascript problem? I really don’t know what it is but it has persisted through several operating systems and different versions of Firefox running on different operating systems. I’m stumped and can’t find anyone who’s ever seen this problem. Any help or clues would be greatly appreciated.
    I should add that this problem is present on ALL webpages, not just one or a few. Safari works fine on the same machine and visiting the same websites. I have screen caps of the crashed pages but I don't know how to post them here.

    Please type about:crashes in the URL bar and provide us with the latest crash ids. Please do not make a screenshot but instead copy and paste. Thanks!

  • XML Publisher and namespace

    I´m using XML Publisher 5.5 with Template Builder. I have created an RTF document that works perfect with XML Publisher. I now want work more complicated with my template using XSL. I have through Template Builder created an XSL-FO style sheet.
    I open the xsl-doc in XMLSPY, assinging an xml-doc and try to preview expecting the result to be the same as using Template Builder but the layout gets all messed up and I get an error that says that the namespace xmlns:xdofo="http://xmlns.oracle.com/oxp/fo/extensions" is invalid.
    The complete start tag:
    <xsl:stylesheet version="2.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:fo="http://www.w3.org/1999/XSL/Format"
    xmlns:ora="http://www.oracle.com/XSL/Transform/java/"
    xmlns:xdofo="http://xmlns.oracle.com/oxp/fo/extensions"
    xmlns:xdoxslt="http://www.oracle.com/XSL/Transform/java/oracle.apps.xdo.template.rtf.XSLTFunctions"
    xmlns:xdoxliff="urn:oasis:names:tc:xliff:document:1.1">
    Does anybody know where I should point my namespace or what I´m doing wrong?
    Regards,
    Daniel

    I know what I can do in RTF and maybe it´s enough:
    1. Ensure you are using both tabs of the help text, you can start in Status Bar and continue with Help Key.
    2. You can also use multiple fields one after another.
    3. If you fill all of that and need more space I would consider moving the function out into its own XSL template and register it as a sub template and reference it from your main template. This is especially useful if you are going to need the same function across multiple templates.
    My problem was why I can´t use XSL-FO - XML in XMLSPY, have´nt anybody tried to go out of the WORD-RTF and code som XSL? Maybe it´s not possible and I have to use WORD-RTF.
    /Daniel

  • XML, Oracle and Namespaces

    Do any of the current XML parsers support namespaces?
    If not how can the idea of external DTD or schema be used
    Will Oracle be supporting schemas
    null

    martin Roberts (guest) wrote:
    : Do any of the current XML parsers support namespaces?
    : If not how can the idea of external DTD or schema be used
    : Will Oracle be supporting schemas
    Our current parsers support namespaces and will support schemas
    once things settle down in that WG.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    null

Maybe you are looking for

  • Why do the details of Yahoo contacts get messed up?

    Many of the email addresses or phone numbers of my contacts get replaced by random numbers, completely useless when trying to further email or call. This happened on iOS 5 and is still happening on iOS6, really annoying. I wish I could back up to iCl

  • Inspection type in OPL8 (order type dependent parameters)

    HI,       Inspection type we are giving in material master in inspection type field, why we need inspection type field in OPL8 transaction. Is there any specific reason the field having in OPL8. Please advise me if any one knows the reason. Srini

  • Photos Gone after Accidentally Turning off Camera Connected to iPhoto

    I aborted an import of photos to iPhoto from my digital camera, then accidentally turned it off without unmounting it. Suddenly, the iPhoto library only displayed very old photos and none within the last year. All the photos DO exist in my iPhoto Lib

  • Email to requisitioner after PO saved, GR, MIRO

    Hi, Business requirement is that a requisitioner should trigger a email after PO is saved, PO release, Goods Received, and Invoice Verification. At every stage requisitioner should get mail to his/her external email id or in the sap inbox, in R/3. wi

  • Regarding German Umlauts.

    Dear gurus ,    I am currently working on DATA reconcilition project which involves the comparision of DATA from two different systems. Well the problem is whenever a field carrying  GERMAN UMLAUTS (Ä,ó,é,í)  is being compared, it is not recognising