Error with output escaping in xslt

(using c-xml parser v2 2.0.1.0.0 for Sun Solaris)
Hi all,
when using the following in a XSL file:
<xsl:text disable-output-escaping="yes">
<&;>&quote;&apos;
</xsl:text>
the result in the output is:
&#60;&#38;>"'
My question: why are the lt and the amp not change into < and & correctly???
And by the way, rsults are the same when using disable-output-escaping="no".
null

Hi Harmen,
I also encounting the problem( I am using the C++ version), could you tell me if you have got the answer for it?
Many thanks in advance.
Sean
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Harmen:
Sorry text got mingled, hope this won't:
<xsl:text disable-output-escaping="yes">
<&>"e;&apos;
<&;>&quote;&apos;
</xsl:text>
And I forgot to mention I'm using the XSLSample program.<HR></BLOCKQUOTE>
null

Similar Messages

  • Output-escaping in XSLT

    I write a xml file as following:
    <?xml version="1.0" encoding="GB2312"?>
    <?xml-stylesheet href="xsl/order_edit.xsl" type="text/xsl"?>
    <Order>
         <Sales>&#24352;&#19977;</Sales>
         <Value>&#24352;&#19977;</Value>
    </Order>
    and the order_edit.xsl is as follwing:
    <?xml version="1.0" encoding="GB2312"?>
    <xsl:stylesheet version="1.1"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="html" indent="yes" encoding="GB2312"/>
    <xsl:template match="/">
         <html>
              <body>
              <input type="text" name="test1">
              <xsl:attribute name="value">
                   <xsl:value-of select="Order/Sales"
    disable-output-escaping="yes">
                   </xsl:value-of>
              </xsl:attribute>
              </input>
              <br></br>
              <xsl:value-of select="Order/Value" disable-
    output-escaping="yes">
              </xsl:value-of>
              </body>
         </html>
    </xsl:template>
    </xsl:stylesheet>
    when I run the xml file in OC4J,the source code in IE is as
    following:
    <html>
    <body>
    <input name="test1" type="text" value="&amp;#24352;&amp;#19977;">
    <br>&#24352;&#19977;</body>
    </html>
    test1.value now is "&amp;#24352;&amp;#19977;",but I hope it be
    "&#24352;&#19977;" to be displayed correctly.("&#24352;&#19977;"
    is two chinese characters).
    What can I do?

    Acora IT Limited is a consultancy specialising in Oracle and XML
    applications, working on these XML Conundrums and found that
    posting this sort of question very difficult, as writing the
    code down to be displayed in the forums correctly often leads
    other missleading questions/answers. If you would like to e-
    mail the question in Plain Text to the address below I will have
    a look and try and answer your question to my best ability.
    [email protected]
    Acora IT Limited

  • Error with output file code in utl (v_out_file)

    v_out_file := utl_file.fopen (r_dca.directory_name, 'GradChallenge' || TRIM(TO_CHAR(SYSDATE,'YYYYMMDD')) || '.txt', 'W');
    I was just wondering guys, the error occurs 'r_dca.directory_name'. There is an issue with r_dca, I am just stuck on what to name to put to replace it.
    the complete code is specified below
    Create or replace
    PROCEDURE Grad_Five
    IS
    v_out_file UTL_FILE.FILE_TYPE;
    v_out_directory all_directories.directory_path%type;
    v_out_filehandle UTL_FILE.FILE_TYPE := NULL;
    v_out_buffer varchar2(32767);
    v_header VARCHAR2(32759 BYTE);
    r_users varchar2(32759 BYTE);
    r_dca number;
    BEGIN
    -- Output file
    v_out_file := utl_file.fopen (r_dca.directory_name, 'GradChallenge' || TRIM(TO_CHAR(SYSDATE,'YYYYMMDD')) || '.txt', 'W');
    -- Header
    v_header := sysdate;
    utl_file.PUT_LINE(v_out_file,v_header,TRUE);
    FOR r_users IN
    ( SELECT
    USERS.ID,
    USERS.LOGINNAME,
    USERS.FORENAME,
    USERS.SURNAME
    FROM USERS
    LOOP
    BEGIN
    UTL_FILE.PUT_LINE (v_out_file,
    r_users.ID|| ',' || r_users.LOGINNAME|| ',' ||r_users.FORENAME|| ',' ||r_users.SURNAME);
    END;
    END LOOP;
    FOR r_users in
    ( SELECT COUNT (ID) from Users )
    LOOP
    BEGIN
    UTL_FILE.fclose (v_out_file);
    END;
    END LOOP;
    COMMIT;
    END GRAD_FIVE;
    Would appreciate help, Thank you again.

    Here's something that might help:
    (Example 1)
    http://docs.oracle.com/cd/B19306_01/appdev.102/b14258/u_file.htm
    You need to:
    1. Create a directory:
    CREATE DIRECTORY EXAMPLE_DIR AS '<OS_DIR_PATH>';
    Eg: CREATE DIRECTORY EXAMPLE_DIR AS '/temp';
    2. Reference the previously created directory:
    v_out_file := utl_file.fopen ('EXAMPLE_DIR', 'filename.extension', 'W');
    My guess is that r_dca.directory_name does not point to a directory object (Step 1) but to an absolute OS path.
    Also make sure you grant the appropriate rights on you directory:
    Eg:
    GRANT READ ON DIRECTORY EXAMPLE_DIR to <your_user>;
    Edited by: RMi on Feb 2, 2012 6:07 AM

  • CUA: SCUG - Transfer Users errors with Output Device does not exist

    Greetings,
    I'm currently setting up CUA on our ECC 6.0 boxes and ran into an issue when I run SCUG and try to transfer the users. We're in the process of upgrading to ECC. The target systems are upgraded copies of our current 4.7 target systems.
    Currently we have CUA connecting to our DEV,TEST, PreProd, and Prod Systems.
    The output devices only reside on the target systems. There are no output devices on our production CUA box.
    I'm trying to setup the ECC CUA box and modeling all the settings to our current environment. Once I set the CUA setting, including the RFC's and ALE connections I ran scug and ran into the issue.
    I only get the error where the Default Output Device is populated. Users with no Default Output transferred without any issues. I looked up notes in OSS and can't seem to find any on this subject.
    Side note: If I remove the output device it transfers without error. Obviously this is not a solutions, I was merely testing out the scenario.
    Any help would be greatly appreciated

    Hi Alex,
    there is just a little comment in SAP note #399917 (point 4).
    As from my knowledge, the SCUM settings are not considered during SCUG. So setting
    'output device' to local will not be a solution.
    The standard way is to transport the ouput device information to your CUA-master system before taking over the users. (create transport in  SPAD).
    I have also another workaround for you gurus, but this will need to modify the standard coding for the time of taking over your users. Using this modification, only a warning message will appear and unknown printers will not be taken into CUA-master system.
    Pls test this proposal carefully (coding is rather old....), this is just a suggestion !
    Include LSUUCF01                                                 
    FORM DEFAULTS_CHECK                                              
    Spool: Ausgabegerät                                            
      IF NOT DEFAULTSX-SPLD IS INITIAL AND                           
         NOT USER_DEFAULTS-SPLD IS INITIAL.                          
        SELECT SINGLE * FROM TSP03 WHERE PADEST = USER_DEFAULTS-SPLD.
        IF SY-SUBRC <> 0.                                            
          PAR1 = USER_DEFAULTS-SPLD.                                 
          CALL FUNCTION 'BALW_BAPIRETURN_GET2'                       
               EXPORTING                                             
                    TYPE       = 'W' "'E' "Warning instead of error                                                                               
    CL         = '01'                                
                    NUMBER     =  29                                 
                    PAR1       = PAR1                                
              IMPORTING                                              
                   RETURN = ERRORTABLE                               
               EXCEPTIONS                                            
                    OTHERS     = 1.                                                                               
    APPEND ERRORTABLE.                                         
        ENDIF.                                                       
      ENDIF.                                                         
    I strongly recommend to undo this modification after you have finished SCUG.
    Good luck, b.rgds, Bernhard

  • 10g Upgrade - XML Parser errors with certain escape codes (&#x0338)

    NLS_CHARACTERSET = WE8ISO8859P15
    NLS_NCHAR_CHARACTERSET = AL16UTF16
    Since our 10.2.0.3.0 upgrade (from 9.2.0.1.0) our xml fails with the following message:
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00217: invalid character 824 (U+0338)
    Error at line 4
    We are using escape codes in our xml that have worked fine on 9i. Example xml:
    <PRINT_LAYOUT_FOOTER>&#x0338;&#x0338;&#x0338;&#x0338;This map was created with Promap</PRINT_LAYOUT_FOOTER>
    I am completely flummoxed - Any ideas?

    You've switched from a Java Based Parser to a 'C' based parser, which is much, much faster. However one of the requirements of the 'C' implementation is that all characters in the database character set. I'm guessing that if you switch to AL32UTF8 for the database character set the problem will go away. BTW 9.2.0.1.0 was desupported for XML related features when 9.2.0.3.0 was released.

  • Need to isolate error with output with valid input (code included)

    Hey guys, this code will be a bit lengthy as I am posting from two separate Java files: Rectangle.java and RectangleTest.java - Basically I am stumped as to why even valid input keeps resulting in this message: System.out.println("\nThis is a SQUARE, not a Rectangle...Quiting...\n"); . Why am I getting this output? I seriously cant figure this out, and really what I am trying to do is take user input for four sets of coordinates, store them, do some simple math with them to determine if the object they form is a Rectangle and not a square. In the long run I am probably doing the whole thing wrong.
    Here is the Rectangle.java code:
    public class Rectangle {
         private int x1,x2,x3,x4,y1,y2,y3,y4;
         private int length;
         private int width;
         public Rectangle ()
              this.x1 = 0;
              this.y1 = 0;
              this.x2 = 0;
              this.y2 = 0;
              this.x3 = 0;
              this.y3 = 0;
              this.x4 = 0;
              this.y4 = 0;
         public Rectangle ( int x1, int x2, int x3, int x4, int y1, int y2, int y3, int y4)
              this.setX1(x1);
              this.setX2(x2);
              this.setX3(x3);
              this.setX4(x4);
              this.setY1(y1);
              this.setY2(y2);
              this.setY3(y3);
              this.setY4(y4);
              // First set x1, y1
              if (x1 > 0 && x1 < 20)
                   setX1(x1);
              else
                   this.x1 = 0;
              if (y1 > 0 && y1 < 20)
                   setY1(y1);
              else
                   this.y1 = 0;
              // Second set x2,y2
              if (x2 > 0 && x2 < 20)
                   setX2(x2);
              else
                   this.x2 = 0;
              if (y2 > 0 && y2 < 20)
                   setY2(y2);
              else
                   this.y2 = 0;
              // Third set x3,y3
              if (x3 > 0 && x3 < 20)
                   setX3(x3);
              else
                   this.x3 = 0;
              if (y3 > 0 && y3 < 20)
                   setY3(y3);
              else
                   this.y3 = 0;
              // Last set x4,y4
              if (x4 > 0 && x4 < 20)
                   setX4(x4);
              else
                   this.x4 = 0;
              if (y4 > 0 && y4 < 20)
                   setY4(y4);
              else
                   this.y4 = 0;
         }// exit constructor
         // Enter methods
         public int getArea()
              return length * width;
         public int getPerimeter()
              return (2*length) + (2*width);
         public boolean isSquare()
              if (length == width)
                    return true;
              else return false;
         public boolean isRectangle()
              if (length != width && length > width)
                    return true;
              else return false;
         // Enter Setters and Getters
         public void setLength(){
              this.length = ((x2-x1)^2 + (y2-y1)^2);
         public int getLength(){
              return length;
         public void setWidth(){
              this.width = ((x4-x1)^2 + (y4-y1)^2);
         public int getWidth(){
              return width;
         public void setX1(int x1) {
              this.x1 = x1;
         public int getX1() {
              return x1;
         public void setX2(int x2) {
              this.x2 = x2;
         public int getX2() {
              return x2;
         public void setX3(int x3) {
              this.x3 = x3;
         public int getX3() {
              return x3;
         public void setX4(int x4) {
              this.x4 = x4;
         public int getX4() {
              return x4;
         public void setY1(int y1) {
              this.y1 = y1;
         public int getY1() {
              return y1;
         public void setY2(int y2) {
              this.y2 = y2;
         public int getY2() {
              return y2;
         public void setY3(int y3) {
              this.y3 = y3;
         public int getY3() {
              return y3;
         public void setY4(int y4) {
              this.y4 = y4;
         public int getY4() {
              return y4;
    Code for RectangleTest.java:
    import java.util.Scanner;
    public class RectangleTest {
         public static void main(String[] args)
              int choice;
              int xFirst, xSecond, xThird, xFourth, yFirst, ySecond, yThird, yFourth;
              Scanner input = new Scanner(System.in);  // Scans or reads the inputs from the keyboard of user
              do {
                   System.out.print("\nTo START Enter '1'; ");
                   System.out.print("\nOr to QUIT Enter '0'; ");
                   choice = input.nextInt();
                   if (choice == 1)
                  // First Set
                  System.out.println("\nPlease enter the FIRST set of Coordinates\n");
                  System.out.print("Enter X1: ");
                  xFirst = input.nextInt();
                  System.out.print("Enter Y1: ");
                  yFirst = input.nextInt();
                  // Second Set
                  System.out.println("\nPlease enter the SECOND set of Coordinates\n");
                  System.out.print("Enter X2: ");
                  xSecond = input.nextInt();
                  System.out.print("Enter Y2: ");
                  ySecond = input.nextInt();
                  // Third Set
                  System.out.println("\nPlease enter the THIRD set of Coordinates\n");
                  System.out.print("Enter X3: ");
                  xThird = input.nextInt();
                  System.out.print("Enter Y3: ");
                  yThird = input.nextInt();
                  // Third Set
                  System.out.println("\nPlease enter the FOURTH set of Coordinates\n");
                  System.out.print("Enter X4: ");
                  xFourth = input.nextInt();
                  System.out.print("Enter Y4: ");
                  yFourth = input.nextInt();
                  // Instantiating the Rectangle class to test it
                  Rectangle rectangle1 = new Rectangle(xFirst, xSecond, xThird, xFourth, yFirst, ySecond, yThird, yFourth);
                  int lengthRectangle1 = rectangle1.getLength();
                  int widthRectangle1 = rectangle1.getWidth();
                  int area = rectangle1.getArea();
                  int periRect = rectangle1.getPerimeter();
                  // Check Shape type
                  if (rectangle1.isRectangle())
                       System.out.println("\nThis is a valid Rectangle\n");
                  else if (rectangle1.isSquare());
                        System.out.println("\nThis is a SQUARE, not a Rectangle...Quiting...\n");
         }while (choice != 0);
         System.out.println("Bye for now!");
    }

    NPP83 wrote:
    Essentially, I am trying to achieve the following:
    1. Store the Cartesian coordinates for the four corners of a Rectangle
    2. Verify that the supplied coordinates (by the user) do infact make a Rectangle and not a Square.
    Since I don't physically have a Length and Width, but just points, I have to use a little math to create a Length and Width and I came up with ((x2-x1)^2 + (y2-y1)^2) to find the length of one side. I thought I would store this as the way to set the Length/Width (setLength & setWidth), but I havent been able to find a way to bridge the user's input in the main() method of the test program to use the values in this formula. Even then, I am not sure if this simple step would at all help validate the object created by the four sets of points is a Rectangle. I thought that a Rectangle might be created by simply by deductive math where if the Length > Width or Length < Width and Width != Length then I would have a what I was looking for.One side is (X2 - X1) the next side is (Y3 - Y2) the 3rd and 4th sides are: (X4 - X3) and (Y4 - Y1).
    Edited by: morgalr on Mar 29, 2010 3:40 PM -- the following comment added:
    You should check out getBounds, it may be what you are looking for.

  • Error with Output Type NEU - External Send

    Hello Gurus,
    I try to send Purchase Order by email, and I got this error message;
    Access                    Message               Description
    20                    540               Output not found
    Access                    (complete)     
    Field in condition table                                               Field in document                          Value in doc.
    Purchasing Doc. Type                                                Purchasing Doc. Type                           ZNB
    Please, I really appreciate any help.
    Regards,
    Hector

    Hi ,
    Check if you miss any settings in the following steps,
    Go to NACE
    - Select EF and click on OUTPUT TYPES.
    - Then select Output Type NEU and click on processing routines
    - In that you have to add a new entry - medium 5
    - Then you need to assign a program, form routine and form.
    - You can use the standard program i.e. SAPFM06P, FORM routine is always ENTRY_NEU and standard MEDRUCK.
    - Then in PARTNER FUNCTION you need to add a new entry: medium - 5 and function - VN
    - For subject of the mail go to Mail Title and Texts. In title give PO No. &EKKO-EBELN &
    - Under General data -> Replacement of text symbols give program as SAPMM06E and Form Routine as
    TEXT_SYMBOL_REPLACE
    - Now the subject will be PO No. xxxxxxxxx.
    - You need to maintain your email id in tcode SU01 and also the vendor's email id. - Now while creating a new purchase order change the medium to External Send
    - Then go to Communication Method and select CS01 ALSO make sure that the Cover Page Text has value PO No. &EKKO-EBELN&
    - Go to tcode ME9F
    - Execute.
    - Select the checkbox and click on Output Message.
    - You will get a message MAII XXXXXXXXXXX generated
    SAP NOTE FOR EMAILING PO :SAP note 191470
    Regards,
    Prabu

  • XSLT HTML output escaping problem

    I am having problems with JAXP XSLT output escaping in HTML. I have an XML document which correctly escapes &, <, > etc (eg: &amp). However, when I transform the document the XSLT processor is escaping these values again. This means that the HTML output contains &amp; where the XML document contains & (for example). Surely correctly escaped characters in the XML should be left alone? Or should the XML document not contain escaped characters? In my understanding special characters in text nodes of XML documents should be escaped. Obviously a work around is to disable output escaping on these nodes but that is a real pain to have to do each time you pull a value through from the XML document. I'm confused as to what format the XSLT processor expects the XML to be in in relation to escaping of elements. Any information gratefully accepted!
    Thanks.

    Sorry! I was getting confused - the special characters were being escaped twice before they reached the XSLT processor. It looks like the processor will leave alone escape sequences that are already in the XML when it transforms to HTML.

  • Error writing output with iview for xml form builder

    Hi,
    I created a Xml Form Builder's project in which I developed an "Edit" and "ListEdit" sheet.
    I also created an iview for theese in which the code link is:"com.sap.km.cm.xmlform",and the field for Style Sheet for List and for single item are set up correctly,but when I tried the preview the following error message happened:
    com.inqmy.lib.xsl.xslt.XSLOutputException: Error writing output. -> org.w3c.dom.DOMException: Root Element is already present, cannot be appended as a child.
    could someone help me?
    thank's a lot!
    Nick.

    Hi,
    Now I'm confused,what do you mean with create new data? Are users editing existing documents
    (as if they go to a document example.xml > edit) or they are creating new documents (as if they go
    on folder > new > forms)?
    The problem is, in both cases a user would need read/write permissions.
    The normal flow content (data) is created in KM is as follows:
    1. user is assigned to a role
    2. role contains KM Navigation iView
    3. KM Navigation iView executes com.sap.km.cm.navigation component
    4. user chooses New > Form UI command (edit_xml_forms)
    5. edit_xml_forms UI command executes its code (com.sapportals.wcm.rendering.uicommand.cm.UIXMLFormsCreateCommand) and open xml edit for the user
    6. user fill the form and click Save, form is created into folder
    For what I understood so far, your requirement basically asks you to go directly to step 5, it is
    possible to pass a URL that goes directly to step 5, the UI command button, but if you do that
    you won't have a context, so chances that it will work are slim, since a context is required to
    fill the parameters asked by the app (like folder, user, permissions, etc). Even though, in some cases you can
    still pass the parameters via post in the URL but you must know which service/parameters the
    app asks for it, also a URL is static...
    That was the create scenario, I think it's more cons than pros, users would still be
    able to bypass the URL iView created for that, I'd suggest evaluating again if it's really
    a problem having users access cm to manage data
    kind regards,
    Rafael

  • Uri-escaping in XSLT-Processor when using html-method in xsl:output

    I've a problem with the XSLT-Processor:
    He tries to escape non-ASCII Characters in the href-Attribute when I use the output method "html". This is correct according to XSLT 1.0 and HTML4, but the processor doesn't really escape the characters, he just gives me a %3F ('?'-character) instead of %HH (where HH corresponds to the hex value of the char).
    I searched the forums and found a thread with the same problem, but there was no solution to this issue. The thread was started in 2002 so maybe someone came up with a solution.

    Add the non-ascii character to <xsl:text disable-output-escaping="yes"></xsl:text>

  • External Drive Disk Erase Failed with the Error Input/Output Error

    I have 2 hard drives in an external FW800 enclosure that I am unable to format. When I go to initialize the drives in Disk Utility, I get the following error message: "Disk Erase failed with the error: Input/output error."
    The drives show up in Disk Utility, but I can't repair them (that option is grayed out). Disk Utility correctly ID's the manufacturer of the drives (Maxtor), their size (200gb each), so it's obviously seeing that the drives are there. But it won't let me format them.
    The drives are new, by the way; they don't have any data/files on them. I have Disk Warrior, but the drives don't show up there to be repaired -- probably because they aren't formatted yet.
    After looking at other posts, I tried switching the jumper settings around on the drives -- from Master/Slave to cable select and back again, but it didn't help. I also tried doing a zero erase (even though the drives are new), zapping the PRAM -- again, no help.
    One question I had is whether this could be a bad FW800 cable? The cable is new -- it came with the enclosure, which is an OWC Dual FW 800 enclosure. Other than that, does anyone have any other thoughts about what's causing this? Any help would be greatly appreciated.
    Matthew

    SOLUTION!!!!
    I had the exact same problem. I have the original 20 GB hard drive that came in my Powerbook G4 550MHz and a couple of years ago I traded up for a 60 GB drive and bought a FW/USB enclosure for my original drive to use it to backup my important files. I hadn't backed up in over a year (shame on me!) and I decided maybe I should erase the drive and start from scratch. It was connected via USB.
    At that point DiskUtility gave me the exact same Input/Output error. I tried partitioning the drive into 1 or more partitions but came up with the same error. I couldn't figure out what was wrong so I decided to startup in OS 9.2.2, I did that and let it start up, then plugged in the hard drive and it gave me the standard "This disk is unrecognizable, do you want to eject or erase?" so I clicked Initalize. It worked!
    Just make sure you choose the MacOS Extended option when initializing out of OS 9 (instead of the MacOS Standard option) so it can be read and viewed in OS X.
    If your computer is too new to be able to boot from an OS 9 folder on your drive or an OS 9 CD, then see if a friend or a local library has older computers that are running OS 9 or can boot from it. If not let me know and you can send me your drive and I'll reformat it.
    Kind of crazy...I haven't used the OS 9 partition on my HD in YEARS...was even thinking about erasing it since I don't use any Classic applications anymore...good thing I didn't!
    Nick
    Powerbook G4 550Mhz   Mac OS X (10.4.6)  

  • BPM_DATA_COLLECTION fails with (Output device "" not known) error

    Hi all,
    I have an issue with Output BPM_DATA_COLLECTION_1 job in the satellite system  failing with 'Output device "" not known error.  Since it is collecting data for Solution Manager system why does is it trying to find an output device.
    It did not fail before and now I added another key figure (custom one) which is done the same way the other custom monitors are done in "Z_BPM_ECU_COLLECTOR" report and then in /SSA/EXM program, but the collector job started to fail.
    Also, for some reason there are two BPM_DATA_COLLECTION jobs, one is BPM_DATA_COLLECTION_1 and the other is BPM_DATA_COLLECTION_2.  _1 runs every 5 min and _2 is less frequent. They both seem to runt the same job which is /SSA/EXS. Why are there two jobs scheduled from solution manager in my satellite system?
    Thank you very much for your help!

    I am experiencing this same issue in our ECC 6.0 system.  We currently have ST-A/PI release 01M_ECC600 level 0001 applied to our system.  These jobs finish successfully in SM37, but I'm seeing the same error messages in our system logs (SM21).
    When I try to update the output device that is associated with these jobs, the user ID running the jobs is not valid since it's user type is Communication Data.
    Does anyone know if it ok to change the user for this job? Should it be run by DDIC?  I believe the jobs were created automatically when we applied ST-A/PI release 01M_ECC600 level 0001.

  • App-V PowerShell: Script to Query XenApp Servers for App-V Publishing Errors and Output an Excel Document with the Results

    Please Vote if you find this to be helpful!
    App-V PowerShell:  Script to Query XenApp Servers for App-V Publishing Errors and Output an Excel Document with the Results
    Just posted this to the wiki:
    http://social.technet.microsoft.com/wiki/contents/articles/25323.app-v-powershell-script-to-query-xenapp-servers-for-app-v-publishing-errors-and-output-an-excel-document-with-the-results.aspx

    Hi petro_jemes,
    Just a little claritification, you need to add the value to the variable "[string]$ou", and also change the language in the variable "$emailbody" in the function "Get-ADUserPasswordExpirationDate".
    I hope this helps.

  • XSLT : Problem using xsl:value-of disable-output-escaping="yes"

    Hello,
    I have some problem using "disable-output-escaping" attribute of xsl:value-of() function.
    I have a table SONGS with two columns XML and XSL filled with :
    <song>
      <title>Isn't she lovely?</title>
    </song>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
      <xsl:output method="xml" encoding="UTF-8"></xsl:output>
      <xsl:template match="//song">
        <out>
          <xsl:value-of select="title" disable-output-escaping="yes"></xsl:value-of>
        </out>
      </xsl:template>
    </xsl:stylesheet>The query to transform XML with XSL :
    SELECT XMLTRANSFORM (xml, xsl)  FROM songs;I get this XML :
    <out>Isn&apos;t she lovely?</out>but I want that (without the '&amp;' special character) :
    <out>Isn't she lovely?</out>How can I procees to succeed ?
    Thanks,
    Dominique

    What DB version?
    The following SQL
    select xmltransform(XMLTYPE('<song>
      <title>Isn''t she lovely?</title>
    </song>'), XMLTYPE('<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
      <xsl:output method="xml" encoding="UTF-8"></xsl:output>
      <xsl:template match="//song">
        <out>
          <xsl:value-of select="title" disable-output-escaping="yes"></xsl:value-of>
        </out>
      </xsl:template>
    </xsl:stylesheet>'))
      from dual;produces this on 11.1.0.6
    <?xml version="1.0" encoding="UTF-8"?>
    <out>Isn't she lovely?</out>and this on 10.2.0.4
    <out>Isn&apos;t she lovely?</out>I found a couple of previous discussions regarding this at
    {thread:id=679397}
    {thread:id=879301}
    The last discussion provides a workaround if you need it.

  • Error in REST Web Service with Output Format as Text

    Hi All,
    I am referencing a REST web service, and can successfully connect to it and retrieve results with the Output Format set to XML.
    I don't need the individual node values, I just want to capture the entire XML as a string, and populate a table column with it.
    When I create a new Rest web service reference, with Output Format set to Text, and then create a form/report to run it, I get the following error when I click 'Submit':
    ORA-06550: line 1, column 63: PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following: ( - + case mod new not null others avg count current exists max min prior sql stddev sum variance execute forall merge time timestamp interval date pipe
         Error      Error sending request.
    There are control characters in the XML, but surely this is handled by Apex, so I'm not sure what the problem is here.
    Any ideas most welcome.
    Thanks,
    Rhodri

    Rhodri:
    Application Express expects text response to actually be text response, delimited by other characters denoting a new value, and a new record set. You should leave the response as XML. The XML document will be stored in the xmltype01 column of the collection you specify. You can then convert that xmltype01 column to a clob if you like using .toClobVal().
    Regards,
    Jason

Maybe you are looking for

  • I cannot access the music via my iTunes account and it will not download all of them.  If it matters, I have not gotten the new update yet.

    I go to school and I would like to be able to listen to my music on my laptop versus using my iPhone or iPad.  Only some of my music had been downloaded and I cannot download the rest.  I have authorized my computer through my account several times b

  • DSL line installation

    Hi, we live in a rural area in western PA and are currently not offered DSL service.  This is rather infuriating, as the very next house on our road DOES get DSL.  Is there any way--anyone I can call--to have a verizon technician install a DSL line o

  • No characteristic value of the material in PO

    Hi, I am testing the configuration material. I've maintianed a class of class type 200 in BOM, and get the PR after running MRP. No any field or view in PO to display the characteristic value of material. How to get it? I thought it should be display

  • Problems with OS X 10.8.3 ? Solutions ?

    Since I've done the upgrade to Mac OS X 10.8.3 my Mac has some problems and I would like to know If somebody else has my same problems and how to solve them. First of all, "Mission Control" seems to work slower, I mean it works, but when I "activate"

  • Need help with Adobe Premiere Elements 2

    I can drag a large high rez jpeg into timeline. Then when I click to playback....it gets more pixelated. That's a bad beginning. Then, when I go to export it, I've tried several extensions. All look bad during playback on YouTube. This should be pret