Non-canonical format

I am working on a non-canonical xml document, which needs to be moved to the database, does any one know any work arounds to move the non-canonical xml to the database.

Can you provide more information. What does the document look like, is it associated with an XML Schema, if not can you generate an XML Schema describing the document, what do want to do with the document once it is loaded into the database.

Similar Messages

  • XSL Transformation to Oracle Canonical Format

    XSL Transformation to Oracle Canonical Format
    Posted: Aug 6, 2007 9:31 AM Reply
    I am having issues with transforming XML into Oracle Canonical Format. Can someone, please tell me what am doing wrong?
    The source XML:
    <transform>
    <key old="driver" new="3" transform1="specified">
    <value old="-1" new="-1" description="NA" />
    <value old="0" new="0" description="no" />
    <value old="1" new="1" description="yes" />
    </key>
    </transform>
    I must transform it with XSL into Oracle Canonical format:
    <ROWSET>
    <ROW>
    <column_name_1 />
    <column_name_2 />
    <column_name_3 />
    </ROW>
    <ROW>
    <column_name_1 />
    <column_name_2 />
    <column_name_3 />
    </ROW>
    </ROWSET>
    So, I came up with this stylesheet.
    <?xml version="1.0"?><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template match="/">
    <ROWSET table = "table4xml">
    <ROW num ="1">
    <KEY_OLD>
    <xsl:value-of select="@old" />
    </KEY_OLD>
    <KEY_NEW>
    <xsl:value-of select="@new" />
    </KEY_NEW> <TRANSFORM1>
    <xsl:value-of select="@transform1" />
    </TRANSFORM1>
    <VALUEOLD>
    <xsl:value-of select="@valueold" />
    </VALUEOLD>
    <VALUENEW>
    <xsl:value-of select="@valuenew" />
    </VALUENEW>
    <DESCRIPTION>
    <xsl:value-of select="@description" />
    </DESCRIPTION>
    </ROW>
    </ROWSET>
    </xsl:template>
    </xsl:stylesheet>
    Table TABLE4XML
    KEY
    KEY_OLD
    KEY_NEW
    TRANSFORM1
    VALUEOLD
    VALUENEW
    DESCRIPTION
    I must have made a mistake within the XSL code, because the PL/SQL procedure that am using inserts a row of NULLs into the table.
    Am I correct that the given XML file should look in canonical format as this??
    <ROWSET>
    <ROW>
    <key>
    <old>driver</old>
    <new>3</new>
    <transform1>specified</transform1>
    <value>
    <old>-1</old>
    <new>-1</new>
    <description>NA</description>
    </value>
    </key>
    </ROW>
    </ROWSET>

    There is a misunderstanding in your question. Oracle canonical format has a root node named <rowset> and its children have the name of <row>. And its grandchildren have the name of <column>. This is all of canonical family, no other grand-grand-children :)
    Also here is an example for null values in canonical format. They are not presented in XML.
    SQL> set serveroutput on
    SQL> select null "col1", 'data' "col2" from dual;
    c col2
    data
    SQL> DECLARE
    2 ctx dbms_xmlgen.ctxHandle;
    3 xml CLOB;
    4 BEGIN
    5 ctx := dbms_xmlgen.newContext('select null "col1", ''data'' "col2" from dual');
    6 dbms_output.put_line(ctx);
    7
    8 xml := dbms_xmlgen.getXML(ctx);
    9 dbms_output.put_line(xml);
    10
    11 dbms_xmlgen.closeContext(ctx);
    12 END;
    13 /
    8
    <?xml version="1.0"?>
    <ROWSET>
    <ROW>
    <col2>data</col2>
    </ROW>
    </ROWSET>
    PL/SQL procedure successfully completed.
    Best Regards
    Erturk

  • XSLT Transformation error:  Non-canonical structure of element name

    Good day experts,
    I have recently started using xslt, and came upon the following demo in the sdn.
    http://wiki.sdn.sap.com/wiki/display/ABAP/XMLXSLTwith+ABAP
    I have retrieved the example xml files from airplus.com, as per the instructions, and implemented the code.
    When I test the xslt transformation in se80, it transforms correctly.
    However, when I run the program, I get the following error.
    CX_XSLT_FORMAT_ERROR
    Transformation error:  Non-canonical structure of element name XML_OUTPUT   
    Is there an error in the example that I am not aware of?
    Thanks in advance,
    Johan Kriek

    Found the solution.
    You rename the tag <XML_OUTPUT> to anything else like <TEST>. And Hurray!!! it works.
    It looks like SAP is using this name internally somewhere so we are getting error when we are using same name.
    Anyways the problem is solved.
    Regards,
    Jai

  • Web Gallery in non-Flash format?

    Are there any extensions or anything to allow Bridge to Export a Web Gallery into a non-flash format? In my site I am trying to pay particular attention to accessibility and flash is inherently non-accessible, and also does not work with some of the most popular mobile devices (iPad, iPhone, iAnything). Essentially I am looking for some kind of HTML5 Web Gallery. Any help would be greatly appreciated.

    Hi there -
    I'd try posting your question over in the Flash general forum. You could also try the Flash site design forum. The folks over there will probably be able to help you solve your issue

  • Data should be in non readable format in payload-- SXMB_MONI

    Hi All;
    I have a scenario where I need to send MT103 file to bank with digital signature and this configuration is done and working good.I have a new requirement, that the payload data/content should not be in readable format in SXMB_MONI. This is where I am not able to succeed. In RWB the data is not in readable format, so there is no issue.
    I have the following options with me;
    1.Create a copy of SXMB_MONI & add authorization object only for not to display payload content. 
    2.Create a new role with less privilege for XI Monitoring and assign this to all the users. (even XI administrator will have less privilege which is not good)
    3.Do the signature part in R/3 before XI is picking. (so that the data is not readable , ABAP development not preferred ).
    4.Send the file in Binary Format to bank.  (Bank rejected this option, because they donu2019t support this process)
    5.Create a Internal FTPS site. MT103 file will be placed in FTPS site folder. When XI picks the file adds the digital signature in (sender CC).(I have a doubt, will the data be in non readable format in SXMB_MONI?)
    If you know any better/preferred solution, please let me know.
    Thanks;
    Prabhu Rajesh

    Hello
    Check the link below:
    Messaging Components of the Integration Engine 
    http://help.sap.com/saphelp_nw70/helpdata/en/42/52f7415e639c39e10000000a155106/frameset.htm
    Use authorization object S_XMB_MONI if you want to prevent message trace headers or message payloads being visible in the PI monitoring tools.
    Regards
    Mark

  • Non-US Format DVD- Will it work?

    Hi,
    I have your standard macbook and was wondering if it would play non-us format dvds?
    any help is much appreciated.

    I have your standard macbook and was wondering if it would play non-us format dvds?
    It will. If the region code is different, you will be asked to change the code, and it can only be changed a few times.
    (32007)

  • The page contains multiple canonical formats.

    hi i am using WebMatrix seo to check my site, it has giving me 2 errors,
    The page contains multiple canonical formats.
    The page with URL "http://www.petland.ie/" can also be accessed by using URL "http://www.petland.ie/index.html".
    Search engines identify unique pages by using URLs.  When a single page can be accessed by using any one of multiple URLs, a search engine assumes that there are multiple unique pages. Use a single URL to reference a page to prevent dilution of page relevance. You can prevent dilution by following a standard URL format.
    need some help with this, can some explain to me.
    Gman

    Hi Murray,
    do you mean like this for example?
    <a href="index.html" title="petland">PETLAND</a> Pet Superstore, Forte Shopping Centre, Letterkenny, Co.Donegal and check out our <a href="petdeals.html" title="petlands special offers">Special offers</a>. <br />
    <a href="/" title="petland">PETLAND</a> Pet Superstore, Forte Shopping Centre, Letterkenny, Co.Donegal and check out our <a href="petdeals.html" title="petlands special offers">Special offers</a>. <br />
    Hans-G.
    P.S.
    I'm interested too, you know.

  • Getting Source Data in Canonical Format

    All -
    I understand that in order to change the date format in xmlp we have to have the source data in the canonical format YYYY-MM-DDTHH:MI:SS
    My question is - How do I get my source data into this format? When I try to alter my session or do a to_char on a date column as follows:
    alter session set nls_date_format="yyyy-mm-ddThh24:mi:ss"
    or
    select to_char(sysdate,'yyyy-mm-ddThh:mi:ss') from dual;
    I get the message that the date format is not recognized. I'm sure that I'm just missing something simple, but any help that could be provided will be greatly appreciated.

    Hey BigD
    The XSD format is not recognized by the db ... Im chasing that up, they docs appear to say otherwise.
    You have some alternatives:
    1. If you are not bothered about the time portion you can just get the YYYY-MM-DD format and it will be formatted correctly by XMLP
    2. Use the Data Template engine from XMLP to get the data, it will format the date for you.
    3. Nasty but you could do something like:
    SELECT TO_CHAR(SYSDATE,'YYYY-MM-DD')||'T'||to_char(sysdate,'HH24:MI:SS') from DUAL
    If/When I get an answer from the db team on any function I'll let you know.
    Regards, tim

  • How to make non-QT format content?

    I apologize in advance for what is probably a very simple question.
    Here is my situation: I have a large MP4 file (20 MB) that I need to convert to something smaller that can be viewed on both Macs and Windoze machines. I have tried exporting the file from QT pro to mov and mp4 but PCs in my office don't seem to be able to play the video. Since this is going online, I have to assume that many PC people may not have QT, so what options do I have that are not mov or mp4?
    Any help is greatly appreciated.

    Since this is going online, I have to assume that many PC people may not have QT, so what options do I have that are not mov or mp4?
    It all comes down to a matter of personal choice/preferences: How much are you willing to spend? How much effort are you willing to put into your project? And which segment of potential viewers do you wish to alienate the most and/or least? If you go with a non-QT compression format, then your files may well be incompatible some/many Mac viewers. Using latest compression formats (whether Windows or Mac) may be incompatible with older player (be they Windows or Mac). Use of some formats may require some Mac users install non-universal compliant software which may create incompatibleity problems with latest Mac platforms. And on and on it goes.
    To maintain the widest potentional distribution, you may wish to consider use of multiple targeted files like many current sites offer. If you are more interested in Windows users than Mac users, then you might try something like DivX 6 or Flip4Mac full export codecs which have free player modules for Mac users but, of course, does not guateantee such users will download and use them any more than Windows users who opt not to download the free QT Player. This does, of course, mean you will have to shell out additional cash for each codec you might wish to employ. On the other hand, you could elect to download one of the free older full DivX codecs (e.g., v5.1.1 or v5.2.1) which generally have the advantage of remaining compatible with (but less efficient than) the newer codecs. Do you for instance, need MP3/MPEG Layer-3 AVI format compatibility? And so on and on the choices go. Do you have any notions or statistics regarding the requirements of your average potential target viewer?

  • Lightroom 4 and NON Raw format

    I watched this video (http://tv.adobe.com/watch/george-jardine-on-lightroom/the-lightroom-catalog/) in adobe TV. I am new to Lightroom. It mentioned in the video that RAW file will always be treated as read file only and it will never be altered other than XMP file referenced to the RAW file itself. Please correct me about this if I am wrong. I have this question. What about jpg or other image files?? Will it be treated as read only file like RAW format or the jpg (or other image format) will be updated once Lightroom update its catalog if any changes? Please advise. Thank you.

    Doesn't matter if the photo is RAW, JPG, or some other format. The photo part of your files will never be changed by Lightroom.
    However, for many file types, Lightroom can (as an option) write metadata to the non-photo part of your photo files. It is up to you whether or not you choose to enable this option.

  • IMovie version and Canon format

    Hello, I have two questions:
    1.  My school is running 10.5.8  and I have iMovie 8  (version 7.1.4).  Can I upgrade to iMovie 9?
    2.  I want to get a Canon camcorder that uses the AVCHD format.    I know that I must use conversion software if I use iMovie 8 or 9, but does the newest version of iMovie 11 handle this format (assuming I upgrade to Leopard)?
    VIXIA HF M40 Flash Memory Camcorder
    1920 x 1080i HD Recording
    16GB Internal Flash Drive Memory
    2 x SD/SDHC/SDXC Memory Card Slots
    2.37MP 1/3" CMOS Sensor

    http://www.apple.com/ilife/systemrequirements.html

  • How To: Use FCPX to create iPhone Portrait Movies (and other non-standard formats)

    Goal: Use Final Cut Pro X 10.0.7 to produce a 640x1136 video (iPhone 5 Portrait). You can use these same steps to produce virtually any dimensions you want. My example is for the iPhone 5, in Portrait mode.
    This information is available in various places, but you have to realy work to find it, so I thought I'd post a step-by-step guide here.
    By the way, you might think you could just create a FCPX Project with your desired dimensions, but you can't (at least with 10.0.7). Projects only support certainly dimensions. But there are other ways, as the rest of this post describes:
    1) Create an initial movie with the desired dimensions, to serve as a template. We'll call it "Template.mov". The only thing that matters is the dimensions. It can be in any codec FCPX understands, and virtually any length.
    I'm using a 2 second video shot on my iPhone for the template. You could also create a blank image (.png, whatever) with the proper dimensions, copy and paste it into a new Quick Time Pro 7 window, and Export it using custom settings. There's lots of different ways to do this.
    2) Drop Template.mov into a FCPX event.
    3) Select Template.mov in the Event browser, and select File->Duplicate (or command-D). You probably could just edit "Template.mov", but it's a good idea to save it for reuse.
    3) Change the name of the copied video. I'm using "iPhone Video".
    4) Right-click "iPhone Video" and select "Open in Timeline".
    5) If you made the Template video from a still image, you may need to change the duration (ctrl+D). You don't have to make it very long, but it needs to be longer than 1 frame. A few seconds should be enough.
    6) Use this timeline like you'd use a project's timeline. Drop in new content, trim, transition, etc. There may be things you can't do in it, but I haven't found any yet. I'm guessing Chapters may not work, but I haven't tried them.
    7) Note that when you drop new content into the timeline, it may size funny. That's because the default setting for "Spacial Conform" is "Fit". Simply select the newly-dropped content, and in the Video settings inspector, scroll down to "Spacial Conform" and change it. You could use "Fill", which fills the frame vertically, or "None", which uses the source's original height. Then crop/transform/whatever to get what you want.
    8) When you're ready to render, select "iPhone Video" in the Event browser, then use the "Share" button. You want to use the "Export File" destination, which you may have to add. Pick your codec, and let 'er rip.
    9) When the rendering is done, you should have a video in your desired dimensions.
    That's all there is to it. Hope this helps someone.
    Dan
    PS: Don't ask why someone would want to create an iPod video using FCPX. The point is that you may need to create a video with non-standard  dimensions at some point in time, and this is how to do it.
    PPS: Most of this information came from http://library.creativecow.net/articles/payton_t/FCPX_Custom-Resolution-Timeline s/video-tutorial. I just wrote it down, while I tried to do what the video suggested.

    Instructions for using QuickTime Pro 7 to create a template video with unusual dimensions.
    I suspect that anyone savy enough to be using FCPX has probably already figured out how to do this, either using my technique or another, so there probably isn't a real need for me to post this. For that matter, I may be the only person who cares about this at all. However, while I was trying to learn how to do all of this, I would have really appreciated having all the information in one place, so here goes.
    If you want to create a video with unusual dimensions (like 640x1136) using my steps above, you'll need a "template" video first. Here's an easy way to create one, using any image editor, and QuickTime Pro 7.
    1) Open QuickTime Pro 7 (QTP for short).
    2) From the menu, select File->New Player. You'll get a window with just the bottom portion of the player, i.e. the playback controls.
    3) Using an image editor, create a still image in the desired dimensions. You can use any image editor. It doesn't matter what the image contains (although it will end up showing as a thumbnail in FCPX).
    4) Copy the image to the clipboard.
    5) Switch back to QTP, and paste the image into the new player. Don't worry that there isn't a video window showing - just paste it into the window that has only playback controls. As soon as you do, the video window appears.
    6) Advance to the end of the movie (the short, 1-frame movie), then hold down Command+V (paste) and keep holding it down to paste multiple images in. Watch the time advance. You could, if you want, just hold down Command+V until you get the length you want. But if you want a long video, there's an easier way:
    7) When you reach a few seconds (or whatever duration your patience allows), select all (Command+A) and copy (Command+C). Then hold down Command+V to keep pasting in the longer clips. Wait until you reach a longer duration, then repeat the process. So, for example, 1 second, then 10 seconds, then 1 minute, then 10 minutes, then 1 hour. Or whatever you want.
    8) Save the video however you want. I usually use File->Export with H.264, with Quality set to "Least". Just make sure you don't let it change the dimensions. If you resized the player window, depending on which "save" or "export" method you've chosen, it might default to the resized dimensions, so double check that to make sure.
    That's it. You now have a template video you can use with my previous post(s).
    Dan

  • Saving and sending a pdf form in a non-editable format (i.e. as an image)

    I have created a pdf form with editable fields (text fields, drop-down menus etc). After the form has been filled and graphically signed, I would like create a button to the form, which would save the form in a format that can not anymore be edited and then send this "image" form  via e-mail. How could I do this ??

    You can flatten the form to make form fields un-editable.
    Go to Tools pane > Print Production > Preflight > PDF Fixups > Flatten Annotations and Form Fields
    You can also create a custom Action to achieve this at a click of a button.

  • ALV Report to KSB1 Report-- KSB1 Report outputs in Non-ALV Format

    Hi Gurus,
    I am calling KSB1 from report ALV output.
    After execution of KSB1, Report outputs in Classical report format.
    While I execute KSB1 manually it shows in ALV Report.
    From my report how to retain output of KSB1 in ALV Format.
    Thanks in advance.

    Add some lines to BDC to force ALV display, like
    perform bdc_dynpro      using 'RKAEP000' '0100'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'KOSTL-LOW'.
    * Call the option
    perform bdc_field       using 'BDC_OKCODE'
                                  '=UCSS'.
    * Force grid
    perform bdc_dynpro      using 'SAPLKAE2' '0200'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'KAEP_SETT-MAXSEL'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=ENTR'.
    perform bdc_field       using 'KAEP_SETT-USEGRD'
                                  record-USEGRD_004.
    perform bdc_field       using 'KAEP_SETT-MAXSEL'
                                  record-MAXSEL_005.
    * back to initial screen
    perform bdc_dynpro      using 'RKAEP000' '0100'.
    Regards,
    Raymond

  • Error creating ICP Reports in non-HFM format

    Hi,
    I've got HFM 11.1.2.1.103 installed on a 32-bit Windows Server 2003 R2. ICP reports in HFM-fromat open just fine but ICP reports in non-HFM fromat (pdf, xls) open with the following error (although they used to open fine too):
    An unknown error has occurred in the HsxAuthentication object.
    Show Details:
    Error Reference Number: {884C57AA-37BB-4EA2-9598-F91AD897A099};User Name: avorobeva@Native Directory
    Num: 0x800412c0;Type: 1;DTime: 31.01.2012 11:25:20;Svr: APPSERV;File: CBIPubSystemReports.cpp;Line: 390;Ver: 11.1.2.1.103.3505;
    Num: 0x800412c0;Type: 0;DTime: 31.01.2012 11:25:20;Svr: APPSERV;File: CHsvReportGeneratorACM.cpp;Line: 1163;Ver: 11.1.2.1.103.3505;
    Num: 0x800412c0;Type: 0;DTime: 31.01.2012 11:25:20;Svr: APPSERV;File: HFMActionsExecution.cpp;Line: 2426;Ver: 11.1.2.1.103.3505;
    Num: 0x800412c0;Type: 0;DTime: 31.01.2012 11:25:20;Svr: APPSERV;File: HFMActions.cpp;Line: 72;Ver: 11.1.2.1.103.3505;
    Num: 0x800412c0;Type: 0;DTime: 31.01.2012 11:25:20;Svr: APPSERV;File: HFMCESAction.cpp;Line: 28;Ver: 11.1.2.1.103.3505;
    Num: 0x800412c0;Type: 0;DTime: 31.01.2012 11:25:20;Svr: APPSERV;File: Actions.cpp;Line: 385;Ver: 11.1.2.1.103.3505;
    In the FMErrorLogViewer the previous to the error step looks like writing the generated report into a temporary folder: CBIPubSystemReports::GenerateSystemReportOutputSpecificFormat - bstrReportOutputFileName = C:\Oracle\TEMPFO~1\\BIPubTemp50. But I cannot find the file specified in this folder. I've checked rights of the user that runs HFM service but those are fine. I also tried restarting server but it doesn't help.
    Does anyone have ideas about what the problem could be?
    Thanks,
    Alexandra

    Hi,
    Try adding "Network Service" and also IIS_IUSR (for IIS7 depends on your version of IIS for exact group name) as having full control of the folder.
    From memory, the issue you mention was reported as a bug in 11.1.2.1.00 and supposed to be fixed in .103 (the version you say is installed.)
    James

Maybe you are looking for

  • O iPhoto, quando aberto e sendo usado está impedindo que eu avance ou volte músicas do itunes através dos atalhos de teclado

    O iPhoto, quando aberto e sendo usado está impedindo que eu avance ou volte músicas do itunes através dos atalhos de teclado

  • Meet Polar Bears On Line (Video + Stills)

    My film "Polar Bear Pueblo" can be seen on the web if you have a high speed internet connection. The video starts in New Mexico with the Carlsbad Caverns, Taos Pueblo, White Sands, Roswell, Santa Fe, and much more. Moving north, it then features the

  • Tree drag-drop function

    hello all, there is one single tree component in my application. XML is dataprovider of that tree. e.g <node name="Cars" id="1" isparent="true"> <node name="Audi" id="2" isparent="true"> <node name="A4" id="3" isparent="false"/> <node name="A6" id="4

  • IPod touch 4G - icons went blank

    Several of the icons on my son's iPod touch went blank yesterday. The apps still seem to work, but the icons are now solid white. The name of the app is still directly below each blanked icon. I don't think any of the native iOS apps have gone blank.

  • Flow with update type SE3003 from 04.09.2014 was only fixed

    Hi Experts, I Have a warning message in TBB1 here. I want to post to GL! Thanks for any help with this. Flow with update type SE3003 from 04.09.2014 was only fixed Message no. TPM_TRAC1213 Effects on Customizing You can define when this system messag