Formatting and output handling.

Hi guys,.

I need assistance with formatting and manipulation of my output.

Example of xml text is below:

<ChargedCustmomer xsi:schemaLocation="urn:nonamecompany:local:data:standard:ChargedCustmomer:2 xsd/ChargedCustmomer_2.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:nonamecompany:local:data:standard:ChargedCustmomer:2">  
  <Label>Customer Charging Schedule</Label>  
  <AssetID>  
  <EntityID xmlns="urn:nonamecompany:local:data:standard:entityid:1">060</EntityID>  
  <EntityClass xmlns="urn:nonamecompany:local:data:standard:entityid:1">Asset</EntityClass>  
  </AssetID>  
  <EffectiveDateTime>2015-10-01T00:00:00+10:00</EffectiveDateTime>  
  <CurrencyCode>AUD</CurrencyCode>  
  <RequiredInformation>  
  <RequiredInformation2>  
  <RequiredInformation3>  
  <RequiredInformation3ID>1A</RequiredInformation3ID>  
  <RateList>  
  <Rate>  
  <VehicleClass>1</VehicleClass>  
  <Amount>1.13</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>2</VehicleClass>  
  <Amount>2.26</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>3</VehicleClass>  
  <Amount>3.62</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>4</VehicleClass>  
  <Amount>4.30</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>5</VehicleClass>  
  <Amount>2.26</Amount>  
  </Rate>  
  </RateList>  
  </RequiredInformation3>  
  <RequiredInformation3>  
  <RequiredInformation3ID>1B</RequiredInformation3ID>  
  <RateList>  
  <Rate>  
  <VehicleClass>1</VehicleClass>  
  <Amount>1.13</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>2</VehicleClass>  
  <Amount>2.26</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>3</VehicleClass>  
  <Amount>3.62</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>4</VehicleClass>  
  <Amount>4.30</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>5</VehicleClass>  
  <Amount>2.26</Amount>  
  </Rate>  
  </RateList>  
  </RequiredInformation3>  
  <RequiredInformation3>  
  <RequiredInformation3ID>2A</RequiredInformation3ID>  
  <RateList>  
  <Rate>  
  <VehicleClass>1</VehicleClass>  
  <Amount>1.13</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>2</VehicleClass>  
  <Amount>2.26</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>3</VehicleClass>  
  <Amount>3.62</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>4</VehicleClass>  
  <Amount>4.30</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>5</VehicleClass>  
  <Amount>2.26</Amount>  
  </Rate>  
  </RateList>  
  </RequiredInformation3>  
  <RequiredInformation3>  
  <RequiredInformation3ID>2B</RequiredInformation3ID>  
  <RateList>  
  <Rate>  
  <VehicleClass>1</VehicleClass>  
  <Amount>1.13</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>2</VehicleClass>  
  <Amount>2.26</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>3</VehicleClass>  
  <Amount>3.62</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>4</VehicleClass>  
  <Amount>4.30</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>5</VehicleClass>  
  <Amount>2.26</Amount>  
  </Rate>  
  </RateList>  
  </RequiredInformation3>  
  <RequiredInformation3>  
  <RequiredInformation3ID>3A</RequiredInformation3ID>  
  <RateList>  
  <Rate>  
  <VehicleClass>1</VehicleClass>  
  <Amount>1.41</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>2</VehicleClass>  
  <Amount>2.83</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>3</VehicleClass>  
  <Amount>4.52</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>4</VehicleClass>  
  <Amount>5.37</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>5</VehicleClass>  
  <Amount>2.83</Amount>  
  </Rate>  
  </RateList>  
  </RequiredInformation3>  
  <RequiredInformation3>  
  <RequiredInformation3ID>3B</RequiredInformation3ID>  
  <RateList>  
  <Rate>  
  <VehicleClass>1</VehicleClass>  
  <Amount>1.41</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>2</VehicleClass>  
  <Amount>2.83</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>3</VehicleClass>  
  <Amount>4.52</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>4</VehicleClass>  
  <Amount>5.37</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>5</VehicleClass>  
  <Amount>2.83</Amount>  
  </Rate>  
  </RateList>  
  </RequiredInformation3>  
  <RequiredInformation3>  
  <RequiredInformation3ID>4A</RequiredInformation3ID>  
  <RateList>  
  <Rate>  
  <VehicleClass>1</VehicleClass>  
  <Amount>1.13</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>2</VehicleClass>  
  <Amount>2.26</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>3</VehicleClass>  
  <Amount>3.62</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>4</VehicleClass>  
  <Amount>4.30</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>5</VehicleClass>  
  <Amount>2.26</Amount>  
  </Rate>  
  </RateList>  
  </RequiredInformation3>  
  <RequiredInformation3>  
  <RequiredInformation3ID>4B</RequiredInformation3ID>  
  <RateList>  
  <Rate>  
  <VehicleClass>1</VehicleClass>  
  <Amount>1.84</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>2</VehicleClass>  
  <Amount>3.67</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>3</VehicleClass>  
  <Amount>5.88</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>4</VehicleClass>  
  <Amount>6.97</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>5</VehicleClass>  
  <Amount>3.67</Amount>  
  </Rate>  
  </RateList>  
  </RequiredInformation3>  
  <RequiredInformation3>  
  <RequiredInformation3ID>5A</RequiredInformation3ID>  
  <RateList>  
  <Rate>  
  <VehicleClass>1</VehicleClass>  
  <Amount>2.54</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>2</VehicleClass>  
  <Amount>5.09</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>3</VehicleClass>  
  <Amount>8.13</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>4</VehicleClass>  
  <Amount>9.66</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>5</VehicleClass>  
  <Amount>5.09</Amount>  
  </Rate>  
  </RateList>  
  </RequiredInformation3>  
  <RequiredInformation3>  
  <RequiredInformation3ID>5B</RequiredInformation3ID>  
  <RateList>  
  <Rate>  
  <VehicleClass>1</VehicleClass>  
  <Amount>2.54</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>2</VehicleClass>  
  <Amount>5.09</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>3</VehicleClass>  
  <Amount>8.13</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>4</VehicleClass>  
  <Amount>9.66</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>5</VehicleClass>  
  <Amount>5.09</Amount>  
  </Rate>  
  </RateList>  
  </RequiredInformation3>  
  <RequiredInformation3>  
  <RequiredInformation3ID>6A</RequiredInformation3ID>  
  <RateList>  
  <Rate>  
  <VehicleClass>1</VehicleClass>  
  <Amount>1.13</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>2</VehicleClass>  
  <Amount>2.26</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>3</VehicleClass>  
  <Amount>3.62</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>4</VehicleClass>  
  <Amount>4.30</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>5</VehicleClass>  
  <Amount>2.26</Amount>  
  </Rate>  
  </RateList>  
  </RequiredInformation3>  
  <RequiredInformation3>  
  <RequiredInformation3ID>6B</RequiredInformation3ID>  
  <RateList>  
  <Rate>  
  <VehicleClass>1</VehicleClass>  
  <Amount>1.13</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>2</VehicleClass>  
  <Amount>2.26</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>3</VehicleClass>  
  <Amount>3.62</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>4</VehicleClass>  
  <Amount>4.30</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>5</VehicleClass>  
  <Amount>2.26</Amount>  
  </Rate>  
  </RateList>  
  </RequiredInformation3>  
  <RequiredInformation3>  
  <RequiredInformation3ID>7A</RequiredInformation3ID>  
  <RateList>  
  <Rate>  
  <VehicleClass>1</VehicleClass>  
  <Amount>1.13</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>2</VehicleClass>  
  <Amount>2.26</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>3</VehicleClass>  
  <Amount>3.62</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>4</VehicleClass>  
  <Amount>4.30</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>5</VehicleClass>  
  <Amount>2.26</Amount>  
  </Rate>  
  </RateList>  
  </RequiredInformation3>  
  <RequiredInformation3>  
  <RequiredInformation3ID>9A</RequiredInformation3ID>  
  <RateList>  
  <Rate>  
  <VehicleClass>1</VehicleClass>  
  <Amount>0.71</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>2</VehicleClass>  
  <Amount>1.41</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>3</VehicleClass>  
  <Amount>2.26</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>4</VehicleClass>  
  <Amount>2.67</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>5</VehicleClass>  
  <Amount>1.41</Amount>  
  </Rate>  
  </RateList>  
  </RequiredInformation3>  
  <RequiredInformation3>  
  <RequiredInformation3ID>9B</RequiredInformation3ID>  
  <RateList>  
  <Rate>  
  <VehicleClass>1</VehicleClass>  
  <Amount>2.54</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>2</VehicleClass>  
  <Amount>5.09</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>3</VehicleClass>  
  <Amount>8.14</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>4</VehicleClass>  
  <Amount>9.67</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>5</VehicleClass>  
  <Amount>5.09</Amount>  
  </Rate>  
  </RateList>  
  </RequiredInformation3>  
  <RequiredInformation3>  
  <RequiredInformation3ID>8A</RequiredInformation3ID>  
  <RateList>  
  <Rate>  
  <VehicleClass>1</VehicleClass>  
  <Amount>0.71</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>2</VehicleClass>  
  <Amount>1.41</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>3</VehicleClass>  
  <Amount>2.26</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>4</VehicleClass>  
  <Amount>2.67</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>5</VehicleClass>  
  <Amount>1.41</Amount>  
  </Rate>  
  </RateList>  
  </RequiredInformation3>  
  <RequiredInformation3>  
  <RequiredInformation3ID>8B</RequiredInformation3ID>  
  <RateList>  
  <Rate>  
  <VehicleClass>1</VehicleClass>  
  <Amount>0.71</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>2</VehicleClass>  
  <Amount>1.41</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>3</VehicleClass>  
  <Amount>2.26</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>4</VehicleClass>  
  <Amount>2.67</Amount>  
  </Rate>  
  <Rate>  
  <VehicleClass>5</VehicleClass>  
  <Amount>1.41</Amount>  
  </Rate>  
  </RateList>  
  </RequiredInformation3>  
  </RequiredInformation2>  
  </RequiredInformation>  
 </ChargedCustmomer>  

Sql job is also here:

select x.RequiredInformation3ID
        ,y.VehicleClass
        ,y.Amount
  from t
      ,xmltable(xmlnamespaces(default 'urn:nonamecompany:local:data:standard:ChargedCustmomer:2'),
                '/ChargedCustmomer/RequiredInformation/RequiredInformation2/RequiredInformation3'
                passing xmltype(t.xml)
                columns RequiredInformation3ID varchar2(10) path './RequiredInformation3ID'
                       ,RateList               xmltype      path './RateList'
               ) x
      ,xmltable(xmlnamespaces(default 'urn:nonamecompany:local:data:standard:ChargedCustmomer:2'),
                '/RateList/Rate'
                passing x.RateList
                columns VehicleClass varchar2(5) path './VehicleClass'
                       ,Amount       number      path './Amount'
               ) y
  /

Output current is as follows:

1A11.13
1A22.26
1A33.62
1A44.3
1A52.26
1 B11.13
1 B22.26
1 B33.62
1 B44.3
1 B52.26

I want output like the one below:

1 (Red)2 (orange)3 (Gold)4 (Silver)5 (Platinum)
1A1.132.263.624.32.26
1 B1.132.263.624.3

2.26

Any ideas on how to achieve this? Your help would be greatly appreciated!

Happy learning!

The aggregate function is used to allow the grouping of lines, nothing more.

A simple example...

We want to get the people for different jobs within a Department and each of these jobs in a separate column

SQL > select deptno


2, decode (job, 'PRESIDENT', ename) as president
3, decode (job, "MANAGER", ename) as Manager
4, decode (employment, 'CLERK', ename) as Clerk
5 of the emp
6 where deptno = 10
7.

DEPTNO PRESIDENT MANAGER REGISTRAR
---------- ---------- ---------- ----------
10 CLARK
10 KING
10 MILLER

Now, in this case, I want all those combining in a single line, so my data correctly rotated to be stored in columns.

Thus, to combine lines in a single line, you want to GROUP...

SQL > select deptno
2, decode (job, 'PRESIDENT', ename) as president
3, decode (job, "MANAGER", ename) as Manager
4, decode (employment, 'CLERK', ename) as Clerk
5 of the emp
6 where deptno = 10
7 Group of deptno
8.
decode (job, 'PRESIDENT', ename) as president
*
ERROR on line 2:
ORA-00979: not a GROUP BY expression

but it does not because we want only to the group by the Department, but the other columns contain jobs, and we do not want including jobs within the group.

For this, we use an aggregate function.  In general, we use the min or max like those that are generic enough and work with most of the data.

When MIN or MAX data where there is only 1 value and all others are NULL, then you end up with just this value...

SQL > select deptno
2, max (decode (job, 'PRESIDENT', ename)) as President
3, max (decode (job, "MANAGER", ename)) as a Manager
4, max (decode (employment, 'CLERK', ename)) as Clerk
5 of the emp
6 where deptno = 10
7 Group of deptno
8.

DEPTNO PRESIDENT MANAGER REGISTRAR
---------- ---------- ---------- ----------
10 KING CLARK MILLER

Therefore, you do not get the minimum or maximum of a range of different values, you are just to eliminate NULL values and allowing data on different lines to combine, so you can get your swivel row accordingly.

Tags: Database

Similar Questions

  • Customize and format the output number

    How can I can format the output divided by a number?

    For example, the space time often displayed as bytes, I always manually to divide by 1024 ^ 3 to make it user-friendly.

    Example below...

    Get-Datastore. Get-View | Select summary - ExpandProperty | SELECT name, capacity, FreeSpace, @{N = 'Supplied'; E={ ($_. Capacity - $_. FreeSpace + $_. Not posted)}}

    OK, I see.

    You can use the same technique for the other 2 properties. Something like that

    Get-Datastore | Get-View |
    Select -ExpandProperty Summary |
    Select Name,
        @{N="Capacity"; E={[Math]::Round($_.Capacity/1GB,1) }},
        @{N="FreeSpace"; E={[Math]::Round(($_.FreeSpace/1GB,1) }},
        @{N="Provisioned"; E={[Math]::Round(($_.Capacity - $_.FreeSpace + $_.Uncommitted)/1GB,1) }}
    

    Another option is to use the New-VIProperty cmdlet and set these properties in the UK.

    Refer to the section of the data store in my New VIProperty module, where you will find the instructions to New-VIProperty to provide the properties CapacityGB, FreeGB , and ProvisionedGB .

  • USB &amp; Firewire audio interface ports still work as input and output?

    I guess everyone has to start somewhere, even if it is borne by almost everyone I would like to know the answer to my questions, perhaps with good reason, what I don't know is so if the USB ports unique connection and firewire on an audio interface function ALWAYS both as input AND output.  In other words, whenever I read the information about the product on audio interfaces, no matter where I go, it is generally accepted that most people buy their audio interface for RECORDING.  And so when most people talk about connecting their Apple computer, iMac or MacBook Pro, it is generally accepted, they turn to the USB as INPUT.  That's all very well and good.  But in my case, I want to use the USB port as output (not the taken mini) and go into an audio interface that gives me as a symmetric output signal that I can plug my amplified studio monitor (which has only a balanced XLR input). All of the examples I see with audio interfaces address registration and involve the use of the USB on the audio input interface.

    So my question is: can one USB port I see on any number of audio interfaces always function both of the inputs and outputs? It takes, but if so, why does any site mention this fact and whey didn't they show in all the diagrams of the audio interface manual hook to studio monitors?  I know what may be obvious to some, but as a user with the intention not to use a piano for a scene while but rather a keyboard/MIDI controller that is attached to the iMac to be able to use the virtual instrument software, I need to go to the controller to the iMac, then the iMac in symmetrical powered monitors. Do the balanced inputs of speakers requires more than a simple adapter to give the President a balanced input.  But nobody talks about audio interfaces usually unless they talk about as a way into the computer to record.  As for my situation? Why don't they include this example?  And why should they assume that novice will automatically KNOW that the usb port, an audio interface will work as an output as if they never EVER mention this example or Setup?  I guess it is to operate in both directions!  But really, I'm crazy to wonder when no one never speaks or shows this configuration? He suggested I buy something similar to a UR22MkII of Steinberg, who has a USB port. Even the Steinberg site speaks only records and so using the USB key as input for use with the recording software. There is no mention of its use out the mac in balanced speaker entries, even in the manual. In fact, it is question is always true for every audio interface manual that I watched, even by other manufacturers! Why they all assume a novice like me (whose money is just as good as money from the experienced user) KNOW that? It's frustrating!

    I know that this is not strictly a matter of logic, but I guess, in my view correctly, that a logic user community could be more appropriate to address my question for others communities. If I'm wrong, please help to re-send-the matter.  Thank you.

    Sound the interface itself that determines it can send and receive Audio or Midi... not the USB or FW port which both are devices of e/s...

    All USB and Midi peripheral FW are inputs and outputs

    All the USB and Audio FW are inputs and outputs...

    All devices USB or external hardware with a USB port... can handle Midi and Audio...  Some do... Most manipulate just Midi... or just Audio

    The Steinberg UR22MkII manages Audio and Midi...

    However, I do not recommend USB 2.0 audio devices... There are simply too many cases, problems and questions after the major updates for OS X with such devices especially when they are class compliant (IE without driver), even if the UR22MkII Steinberg is supposed to be compatible 10.11...

    View the other may vary... because it's just a personal opinion based on my past experiences both in my studio... and based on the many issues presented here and elsewhere.

    I'm sticking with Motu equipment for all my Audio devices... and I use iConnect devices for my Midi needs...

  • Source and output windows display the content horizontally cut - that makes it much too

    Hi everyone - I use both the CC2014 and the old versions CC of the Media Encoder to convert WMVs for use in Captivate 5.5. The software has been installed on a new machine, so initially when I did drag an item in the queue (in two versions), Windows Source and output would show only black and would make black only.

    Later, I discovered that Quicktime must be installed I did (for Windows 7).

    Now the two encoders show the cut content to half way down in the Source and the release of windows. content reproduced and when it is encoded (as a flv in CC for example), it displays remove off as well.

    The basic video settings are set to Match Source is not a question of culture. I have two monitors and have seen oddities when questions arise on different monitors - the graphics card is a NVidia Quadro K2100M.

    Any Format choose to exit, the result is the same. The software knows the correct proportions of the source video, only half superior is cut off - that is black.

    Is this something experienced by someone else?

    Thank you

    Frank

    Yes confirmed the answer given by marisela2013 in the link more than half of the video is missing (black screen) - Help! regarding the removal of said KB Microsoft update fixes the problem.

    It solves the problem under a new laptop of Dell Win 7 with CC2014 and CC installed with this update removed.

    Thank you

    Frank

  • Combine the output of Script of ESX, VM, network, storage, and output in Excel

    Hello

    I have 6 scripts (written by Luke and Robert) who are used to extract information of the box of ESX as shown below. I want to combine the scripts into a single and output in excel. I have a csv file with names of servers esx in it. The combined script should take the entry of the name of the csv esx server and run these scripts and export information to an excel spreadsheet. I need a workbook with each server esx excel as a table in it.

    ESX - report.ps1-> extract info from esx host

    VM - report.ps1-> extract info VM

    Teddy - report.ps1-> extract info ESX physical network adapter

    PortGroup - report.ps1-> extract portgroup info

    scsiHBA - report.ps1-> extract info SCSI & HBA

    Report.ps1-> info report data store retrieves data store

    Firewall - report.ps1-> need to be written (gave joint excel spreadsheet format)

    Time servers - report.ps1-> need to be written (gave joint excel spreadsheet format)

    DNSserver - report.ps1-> need to be written (gave joint excel spreadsheet format)

    I have attached the format of the expected output excel workbook and scripts.

    Thanks in advance!

    There was a bug in the script, the Get-View in the teddy bear (report 3) and the portgroup (report 4) not took into account that the mode of VIServer ran in "multi".

    Which should be fixed in the new version attached.

    The new version also includes the name of ESX for the reports, 7, 8 and 9.

    ____________

    Blog: LucD notes

    Twitter: lucd22

  • Export to PDF format and grayscale?

    Sometimes we have to generate greyscale PDF files from InDesign CMYK files.

    Is there a way to export to PDF format and grayscale?

    If you do file/print, there is an output option where you can select Composite gray and check a text of the black box.


    But nothing like there is for export to PDF format...

    Am I missing something, or people use Acrobat then and grayscale in Acrobat?

    Thanks in advance

    InDesign CS4

    Mac OS X 10.5

    No, you can´t to export in grayscale... I do it after the conversion in Acrobat with convert colors-tool. It even allows you to define a conversion profile...

  • XLIFF file format and use with JAVA API

    Hello

    We use BEEP version 5.6.3 in Oracle Applications 11.5.10.2 and we are developing some reports to be translated into 10 different languages. We are therefore very interested in XLIFF files but have some questions about the file format and the use of the JAVA API

    (A) FILE FORMAT
    Accuracy: we generate the XLF file in menu add-on BEEP in Winword MS used to build the RTF model
    (A - 1), the generated XLF file begins with:
    <? XML version = "1.0" encoding = "utf - 8"? >
    Can we change encoding to "ISO-8859-1' as soon as convert us the file format?

    A-2) section he < header > < skl > < file > internal - contains a huge chain that seeem to be binary... What is c? can delete us it?

    A-3) can you have a file XLF muliple < file > sections (one for each language translation)?
    This can be very useful for us to manage a translation only by a report model file.

    A-4) the most important section for translation is included in the tag < trans-unit >.
    Each of them has a separate as id "49e41f8f" '... '. Can we replace that with a larger significance?

    (A - 5) in the format of language is as "en-US" (area code + language code).
    It is case sensitive?

    (* B) THE USE OF XLIFF FILES WITH JAVA APIS *.
    We use the OPE "FOProcessor" class to generate the PDF providing:
    -Data generated by SQL report XML file
    -File XSL - FO, generated from the module BEEP in MS WINWORD RTF model
    -XLIFF file generated from RTF model by the module BEEP in MS WINWORD
    -The XLIFF file contains a file entry to translate the form English to French
    < file source = target language language "en-US" = "en - US" datatype = "OPE" original = "orphan.xlf" product-version = "orphan.xlf" - name of the product ="" > "

    Here is a summary of our java implementation class:

    Processor FOProcessor = new FOProcessor();
    processor.setData (sXmlDataFilepath);
    processor.setTemplate (sXslTemplateFilepath);
    processor.setOutput (sPdfOutputFilepath);
    processor.setOutputFormat (FOProcessor.FORMAT_PDF);
    processor.setLocale ("en - US");
    xInputXlfLang = new FileInputStream (sXlfLangFilepath);
    processor.setXLIFF (xInputXlfLang);
    try {}
    Processor.Generate ();
    }
    {} catch (XDOException e)
    e.printStackTrace ();
    }


    (variables beginning with "s" are path + names passed as arguments)


    The output PDF file is well generated, but not translated in French!

    (1) I missed something?
    What is wrong in my code or my XLIFF file?
    Y at - it a parameter to pass to allow the XLIFF translation (via setConfig)?
    With "setLocale" we indicate the target language, but how BEEP knows this current language is "en-US"?

    I found a few posts on the subject, but none with a clear solution. So if I managed to solve this problem, I think it can be very useful for many developers.

    Thanks in advance for your help.
    K.Helali

    Edited by: K.Helali Apr 26. 2010 01:56

    Hey,.

    I know what you're talking about.

    Do not make the rtf-> xsl in the office.

    Do it in java code.

    Use RTFprocessor, for her, just set the model and set the true extractxliff.

    move the xsl foprocessor.

    to do this

    (1) in the BEEP for MS Word
    1 - a) build the RTF model
    1-c) extract texts translateable to the XLF file

    (2) in BEEP Server (Linux Redhat, BEEP 5.6.3) included with the Oracle Applications 11.5.102
    (2 - a) write a java class that implements class FOProcessor (see code in my first post)
    I'm passing to the FOProcessor class
    -XML data file
    model model XSL - export RTF, file to the XSL using RTFprocessor file save it sub - (here in rtfprocessor.setextractXlifff - true)
    http://download.Oracle.com/docs/CD/E10415_01/doc/bi.1013/e12693/Oracle/Apps/XDO/template/RTFProcessor.html
    -Translation (via the FOProcessor.setXLIFF method) XLF file

  • How can I view the text with format and &lt; object &gt;... &lt; embed &gt; video?

    Hi, OTN.
    I can't find a suitable component to show a ViewObject CLOB with video (streaming flash videoplayer) HTML format and < object > < embed > tags.
    With components output format or Rich Text Editor, I don't see the embedded objects or their HTML tags. Only simple HTML format.

    How to display an embedded object (video) on the JSF page with #{binding} on the ViewObject data control?

    Thank you.

    Try and af:outputText with the exhaust attribute set to false.

  • Bought two of the iTouch, one for my wife and one for me. In the Notes his has the "" symbol for the formatting and mine does not work. Any suggestions?

    I bought the iTouch two at a time, one for my wife and one for me. In the application 'Notes' my wife shows the symbol "+" to the formatting and mine does not work. Any suggestion.

    Could you please include screenshots of the so-called issue?

  • Format and install Snow Leopard on Mac Mini

    Hello

    • I have a Mac Mini
    • Using boot camp, I have a Win10 partition which is now, the entire hard drive.  Really.
    • I have the installation of Mac OS X Snow Leopard (10.6.3) DVD
    • I directly connect the optical drive and a wired keyboard to the system
    • Start by pressing the [CTRL] key.
    • Download the white screen with the Apple logo in the middle of it.
    • .. then nothing.  He's here.  After 10 minutes, I pull the plug and restart the Windows partition and return to the slaughter of these discussion forums for clues.

    Issues related to the:

    1. How do I FORMAT and INSTALL Snow Leopard on the Mac Mini or m, I was too impatient after the [Ctrl] restart using the OS X DVD? 
    2. Is there an external utility that I should get to format the drive?
    3. I can do this in steps - can I install OS X on an external HD and then use it for the crater / rebuild the primary drive?

    Input greatly appreciated!

    Rade

    usually it is booting by pressing the C key to start from the CD-ROM/DVD-ROM drive.

    or start by pressing the Option key to get a list of the bootable devices that you can choose from.

    See <Startup for Mac - Apple Support combinations>

    NOTE: This does not imply that you run your Mac mini Snow Leopard.  I guess that your wording she used to run Snow Leopard, and that your Mac mini still has a DVD/CD player are good signs.

  • Mozilla firefox add-ons Manager page is not in the correct format and error in installing addons?

    page of the Add-ons Manager makes its appearance in the basic format and when I search for add ons, it shows the result, but without images (to the basic format). Cannot install them too.

    If you can, take a snapshot and post it here for us to see.

    To better help you with your question, please provide us with a screenshot. If you need help to create a screenshot, please see How to make a screenshot of my problem?

    Once you have done so, attach the file to screen shot saved to your post on the forum by clicking on the button Browse... under the box to post your reply . This will help us to visualize the problem.

    Thank you!

  • FCPX - Rendering Format and Export Options

    1. in the project settings - rendering format does determine the size of your record files will be? + What is the purpose to the project Format parameter in FCPX?

    2. If you edit the project with rendering parameters of the Apple ProRes 422 format and once you finished, you change the project settings for Apple ProRes422 HQ and export you it in the form of FILE MASTER & H264 - this will make the difference in terms of quality of exports or what will be the difference if you export the project with the project settings to make the selection of the Format such as Apple ProRes 422 vs export the project with some project settings with the rendering Format Selection as Apple ProRes 422 HQ?

    How can 3, you Batch Export of Clips from the event viewer in Final Cut? For now I see that you are limited to 1 export clip in Event Viewer that is located in the library.

    1. Yes. The goal is to select a rendering parameter that is suited to your hardware and your needs. You can render in low quality if you want to help the reading or very high quality for more details in the picture, especially if you work in the UHD formats.

    2 No.

    3. There is no real batch export feature. You can export in order by putting in place a default destination and export quickly with a shortcut, a file after the other. Do not wait for each file to be completed. There is also a utility called exporting Clip that might help if you need to export files. Or you can use the compressor.

  • MBP re-formatted and installed Mountain Lion!

    Hi all, I've successfully migrated my old MBP of 4 year in a new "slimline" MBP

    I am now preparing my old MBP to transmit to my older daughter, I have re-formatted and restarted with command-R, am now downloading and installation of Mountain Lion.

    My question is the following:-what should I do then, to be able to get El-Capitan installed, which after all is the version of Mac OS X had it before as I have re-formatted. ????

    Tim

    You say to download and install El Capitan by his Apple ID. With the exception of needing to be connected with another Apple ID, the process is the same as that used for update to the original.

    (141707)

  • I have mac pro 3.1 and it is insufficient for what is his is. I need an internal card with more flexibility to the inputs and outputs as used in windows systems.

    A sound card internal Mac pro 3.1 what they do?

    And if yes where can buy one?

    I need more input and output it attach to my PA and recording, hardware as I do with a windows PC.

    The mac comes with a microphone and a single output with terrible impact when it is connected to my sound stuff.

    A few people responded to your post above. Might be better to explain what your needs are, rather than starting a new discussion here.

    http://www.Sweetwater.com/C703--PCI_Audio_Interfaces

  • Formatting and recovery of Windows installation on Satellite M60

    Hi guys!

    I want to format my Toshiba Satellite M60 soon. But I don't have the slightest idea how to do this and even more I don't know how to recover my Windows XP. I have Toshiba Express Media Player Recovery CD but nothing else because Windows was already on my drive.

    Can you help me how to format and recover my factory settings on my laptop?
    Help, please
    gasina

    Hello

    Without much discussion: factory settings you can have if you install the operating system via original Toshiba recovery CD/DVD. Unfortunately, you do not have it.
    Now, you have two options: either you try to order and buy a new one (by authorized service provider), or you install WXP using the facilities of Microsoft CD. All the necessary drivers, tools and utilities that you can download at Toshiba support site.

    If you need more info please let me know.

Maybe you are looking for

  • stop the irritating behavior of calendar

    In El Captain calendar keeps trying first to research the location in my AddressBook and secondly to "correct" location.  Both are bad behaviour and I can't find the control in the preferences that allows me to turn them off. Can someone advise how t

  • Disable modify animation of resizing for the Bookmarks panel

    Hi, I'd like to put a max width on the bookmark so its compatible with the folder hierarchy expanded Control Panel: set a max width on the main table is simple, but impossible to find the id to set a width max on the tree of folders or container bloc

  • HP Envy 15-j001er: there is no drivers for my laptop with Windows 10.

    Hello, everyone I would install Windows 10 to my laptop but it isn't there some drivers in official hp website. For example, the driver for touchpad and beats audio which are pretty relevant as mich, especially the last. HP considering release these

  • Light fault scanner want 120

    all I get is vertical lines whenever I try to scan or copy, this has happened a little over a week ago, when I wanted to make a copy of my passport.  On the HP site it says that I have more defects, I bought this printer last summer, and after a few

  • Get the 5211 error when I try to access my course of Mandarin

    I try to access my course of Mandarin, but am unable. Now, I get the message, 5211 "we are unable to communicate with the server right now. Please try again later.My internet connection is good.Any suggestions Original title: ERROS 5211