Ampersands...

Can anyone tell me the cons of using ampersands in hyperion member names? It seems to be the source of an error message in business rules but doesn't seem to actually interfere with performance.Thanks, cbyrum

No con - Essbase allows ampersands in member names. I guess the only thing to be aware of is that substitution variables are identified by preceeding the variable with an ampersand, so if you have actual member names that start with ampersands it might be confusing to someone reading a script.Regards,Jade----------------------------------Jade ColeSenior BI ConsultantClarity [email protected]

Similar Messages

  • Problem with display of ampersand in reports

    I enter the following text into a "notes" item on a page:
    Send request to AT&T.
    When I use this notes item in a report the following is displayed:
    Send request to AT
    Note the ampersand and the T are missing.
    If I remove the period at the end of the note:
    Send request to AT&T
    The report displays properly:
    Send request to AT&T
    If I append text to the original note like this:
    Send request to AT&T for test.
    The report note will display properly:
    Send request to AT&T for test.
    The issue seems caused by the period following AT&T. This is APEX 3.2.1.00.12.
    Besides the work around of editing the text, does anyone know what else might fix the problem?

    Doesn't appear to be anything out of the ordinary there.
    The obvious solution is to escape the ampersand, which will stop it being specially treated by either APEX or HTML:
    SELECT n.note_id, l.lce_type, htf.escape_sc(n.note) note, n.created_by, n.created_date, n.last_updated_by, n.last_updated
    FROM ticket_lces l, lce_notes n
    WHERE l.ticket_id = :P33_TICKET_ID
    AND l.lce_id = n.lce_idAlthough I'm not sure why this is necessary. Can't say I've come across a report column doing this before...
    Standard or interactive report?
    If it's a standard report: What is the Display As property of the <tt>note</tt> column? Is there any post-query manipulation of the <tt>note</tt> column in the report: HTML Expression, Link etc?

  • Using html in cf report builder and escaping the & ampersand character

    Some of the data we collect is entered via a WYSIWYG editor.  Therefore formatting such as bold, italic etc is translated into HTML.
    The text could also contain special characters/accented characters, again these are translated into their html equivalents.
    In CF Report Builder, I have set the XHTML Text formatting to TRUE.  However the report won't render the text in these boxes.  From what I can see it doesn't like the '&' character (ampersand).
    I have read elsewhere that report builder is limited in the characters etc that it can read and that I should translate the values.  I ended up doing this in the database to try and save some time.
    CREATE  OR REPLACE FUNCTION translatexhtmltoasci(var_text IN appendix3%TYPE)
      RETURN clob
    ISvar_translated_text clob;BEGIN
     select  replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(re place(replace(
      replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(re place(replace
      (replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(r eplace(replace
      (replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(r eplace(replace
      (replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(r eplace(replace
      (replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(r eplace(replace
      (replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(r eplace(replace
      (replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(r eplace(replace
      (replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(r eplace(replace
      (replace(replace(replace(replace(replace(replace(replace(replace(replace(
    var_text , chr(38) || 'lt;', chr(60))
      , chr(38) || 'gt;', chr(62))
      , chr(38) || 'euro;', chr(49792))
      , chr(38) || 'iexcl;', chr(49825))
      , chr(38) || 'cent;', chr(49826))
      , chr(38) || 'pound;', chr(49827))
      , chr(38) || 'curren;', chr(49828))
      , chr(38) || 'yen;', chr(49829))
      , chr(38) || 'brvbar;', chr(49830))
      , chr(38) || 'uml;', chr(49832))
      , chr(38) || 'copy;', chr(49833))
      , chr(38) || 'ordf;', chr(49834))
      , chr(38) || 'laquo;', chr(49835))
      , chr(38) || 'not;', chr(49836))
      , chr(38) || 'shy;', chr(49837))
      , chr(38) || 'reg;', chr(49838))
      , chr(38) || 'macr;', chr(49839))
      , chr(38) || 'deg;', chr(49840))
      , chr(38) || 'plusmn;', chr(49841))
      , chr(38) || 'sup2;', chr(49842))
      , chr(38) || 'sup3;', chr(49843))
      , chr(38) || 'acute;', chr(49844))
      , chr(38) || 'micro;', chr(49845))
      , chr(38) || 'para;', chr(49846))
      , chr(38) || 'middot;', chr(49847))
      , chr(38) || 'cedil;', chr(49848))
      , chr(38) || 'sup1;', chr(49849))
      , chr(38) || 'ordm;', chr(49850))
      , chr(38) || 'raquo;', chr(49851))
      , chr(38) || 'frac14;', chr(49852))
      , chr(38) || 'frac12;', chr(49853))
      , chr(38) || 'frac34;', chr(49854))
      , chr(38) || 'iquest;', chr(49855))
      , chr(38) || 'Agrave;', chr(50048))
      , chr(38) || 'Aacute;', chr(50049))
      , chr(38) || 'Acirc;', chr(50050))
      , chr(38) || 'Atilde;', chr(50051))
      , chr(38) || 'Auml;', chr(50052))
      , chr(38) || 'Aring;', chr(50053))
      , chr(38) || 'AElig;', chr(50054))
      , chr(38) || 'Ccedil;', chr(50055))
      , chr(38) || 'Egrave;', chr(50056))
      , chr(38) || 'Eacute;', chr(50057))
      , chr(38) || 'Ecirc;', chr(50058))
      , chr(38) || 'Euml;', chr(50059))
      , chr(38) || 'Igrave;', chr(50060))
      , chr(38) || 'Iacute;', chr(50061))
      , chr(38) || 'Icirc;', chr(50062))
      , chr(38) || 'Iuml;', chr(50063))
      , chr(38) || 'ETH;',

    I also stuck with this . Still no answer, no solution

  • How can I get an ampersand to show up when between two other letters, in a text variable?

    Using Indesign CC 2014, on Windows 7.
    Creating a catalog.
    The company name is used throughout.
    Since this catalog will be re-branded for distributors at random, the company name will change all the time.
    So, here's a text variable I'm defining:
    The issue is that when I attempt to use an ampersand (&) between two letter with no spaces, the ampersand disappears.

    Yes!! You got it!
    Works. Thank you!
    Wish I'd thought of that . . .

  • Calling a DLL with a & (ampersand) in the declaration

    Hi,
    I'm trying to call an external DLL and having issues calling an important function.  The 'FindDevices' call has the following declaration:
    long FindDevices(long &DeviceCount);
    I've never come across calling an external function with an ampersand (indicating that a reference, rather than a pointer, shall be passed) before.  Is this possible with LabView?
    I've tried many permutations of the DLL configuration, but it usually crashes the entire development environment.  Here is a link to the DLL and *.h file if you'd like to give it a shot.  It's a 64-bit DLL, and I've been developing this on 64-bit Labview and Windows 7 x64.  It also requires the configuration file 'ZStepperSettings.xml' to be in the same directory as the DLL.
    Thanks for your time.
    Attachments:
    ZStepper_SDK.h ‏6 KB

    For scalars the C++ reference syntax should be equal to a standard C pointer. For other datatypes that is certainly not guaranteed. Since long is a scalar I would guess the problem to be elsewhere. Are you sure the calling convention is correct?
    Also the effect that it only causes the 1097 error sometimes, as well as crashing only sometimes is not so strange. There is no supervisor that can 100% surely detect if there is some memory violation during a call to an external function. Eventhough the parameter configuration is wrong or the DLL does something bad, this doesn't always result in a behaviour that LabVIEW could detect or would always cause a crash. It depends on the actual memory layout of your process at the moment this function is called if the error will be causing one of these problems. But be assured that if there is an error in how the function is configured or a bug in the function about how it access the memory especially for writing operation, something bad is done to the memory that will sooner or later cause very serious problems to your application.
    EDIT: It seems that while C++references for scalar types are usually implemented as pointers by the compiler, there is nothing in the C++ standard that mandates this nor defines in any way how they should be implemented. So basically C++ references are not a safe datatype to use if you want to allow a function to be callable by anything else than code compiled with the same C++ compiler. Basically anything C++ specific is not safe at all in that sense. And anything standard C conformant mostly only by convention and not by specific requirements set forth in the C standard.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Oracle 10g express edition ..ampersand substitution variable

    when i enter the ampersand substitution variable and run the script in the oracle 10g express edition it is giving me the error of (ORA-01008: not all variables bound)...can someone please indicate what the problem is..
    thank you

    i am running the script in the browser but when i run it it does not give me the possibility to enter the value and that error which i mentioned before comes instantly
    reuben

  • Ampersands in query strings

    Hi,
    I was wondering if anyone has attempted to parse query strings that contain ampersands (&) or equals (=) in the parameter values.
    At the moment we have some working code to do this but it is kind of messy and complicated. If possible we would like to make use of Java classes to do this for us. I was thinking along the lines of using some or all of:
    Hashtable javax.servlet.http.HttpUtils.parseQueryString( String s)
    String java.net.URLDecoder.decode( String s)
    String java.net.URLEncoder.encode( String s)Has anyone managed to implement a parser using these classes? Basically the problem is determining where to split the name/value pairs when the delimiters may be included in the values.
    Just to give you an idea, try parsing the following URL
    http://someserver/servlet?parm1=val&ue&parm2=val=ue
    Craig

    Here's the thing:
    If submitting by form then req.getParameter(name) works fine for both types of parameter values.
    If submitting by link then req.getParameter(name)
    - Works for parameters with '=' in them
    - Doesn't work for values with '&' in them.
    I actually need to be able to parse a query string (the parameter list part of a link). However, it isn't specific to submission processing.
    I want to be able to parse the string generically regardless of whether it comes from the web or whether I call it from within the code.
    In short, I want to be able to take a string like Param1=Val&ue&Param2=Val=ue and split it into name/value pairs from anywhere in the code.

  • Problem in displaying ampersand in Smartform

    I am working on one smartform. There is one header window.The text populated in this window is dynamic text. Symbol ampersand is not getting displayed correctly . When this text is displayed . It is getting displayed with greater than and smaller than symbol .  I am not able to show it here. Please help me with this issue.

    Hi,
    This dynamic text is an include text. User will be giving that.  I have used FM Read_Text and taken that text in an internal table. In this table also ampersand is getting populated as i told above. Except ampersand it is displaying all other characters correctly. Only problem is with ampersand.

  • &(ampersand) in the query for catsearch

    I get an error in the catsearch below when Name variable contains an ampersand (&). Any suggestions.
    FUNCTION NameDob (iFirst IN VARCHAR2,
              iMiddle IN VARCHAR2,
              iLast IN VARCHAR2,
              iDobYMD IN VARCHAR2) -- CCYYMMDD)
         RETURN QueryCurType
    AS          
    c QueryCurType;
    Name varchar2(100);
    BEGIN
    Name := iFirst||' '||iLast;
    OPEN c FOR
         SELECT *
         FROM MASTER_TRACKEE
         WHERE catsearch(full_name,Name,NULL) > 0;
    RETURN c;
    END NameDob;

    In SQL, "&" is a reserved character.
    Issue
    SET DEFINE OFF
    before entering your statement.

  • XML Parsing attributes with encoded ampersand causes wrong order

    Hi all,
    I am writing in the forum first (because it could be that i am doing something wrong.... but i think it is a bug. Nonetheless, i thought i'd write my problem up here first.
    I am using Java 6, and this has been reproduced on both windows and linux.
    java version "1.6.0_03"
    Problem:
    read XML file into org.w3c.dom.Document.
    XML File has some attributes which contain ampersand. These are escaped as (i think) is prescribed by the rule of XML. For example:
    <?xml version="1.0" encoding="UTF-8"?>
         <lang>
              <text dna="8233" ro="chisturi de plex coroid (&gt;=1.5 mm)" it="Cisti del plesso corioideo(&gt;=1.5mm)" tr="Koro&#305;d pleksus kisti (&gt;=1.5 mm)" pt_br="Cisto do plexo cor&oacute;ide (&gt;=1,5 mm)" de="Choroidplexus Zyste (&gt;=1,5 mm)" el="&Kappa;&#973;&sigma;&tau;&epsilon;&iota;&sigmaf; &chi;&omicron;&rho;&omicron;&epsilon;&iota;&delta;&omicron;&#973;&sigmaf; &pi;&lambda;&#941;&gamma;&mu;&alpha;&tau;&omicron;&sigmaf; (&gt;= 1.5 mm)" zh_cn="&#33033;&#32476;&#33180;&#22218;&#32959;&#65288;&gt;= 1.5 mm&#65289;" pt="Quisto do plexo coroideu (&gt;=1,5 mm)" bg="&#1050;&#1080;&#1089;&#1090;&#1072; &#1085;&#1072; &#1093;&#1086;&#1088;&#1080;&#1086;&#1080;&#1076;&#1085;&#1080;&#1103; &#1087;&#1083;&#1077;&#1082;&#1089;&#1091;&#1089; (&gt;= 1.5 mm)" fr="Kystes du plexus choroide (&gt;= 1,5 mm)" en="Choroid plexus cysts (&gt;=1.5 mm)" ru="&#1082;&#1080;&#1089;&#1090;&#1099; &#1089;&#1086;&#1089;&#1091;&#1076;&#1080;&#1089;&#1090;&#1099;&#1093; &#1089;&#1087;&#1083;&#1077;&#1090;&#1077;&#1085;&#1080;&#1081; (&gt;=1.5 mm)" es="Quiste del plexo coroideo (&gt;=1.5 mm)" ja="&#33032;&#32097;&#33180;&#22178;&#32990;&#65288;&gt;=1.5mm&#65289;" nl="Plexus choroidus cyste (&gt;= 1,5 mm)" />
    </lang>As you might understand, we need to have the fixed text '>' for later processing. (not the greater than symbol '>' but the escaped version of it).
    Therefore, I escape the ampersand (encode?) and leave the rest of the text as is. And so my > becomes >
    All ok?
    Symptom:
    in fetching attributes, for example by the getAttribute("en") type call, the wrong attribute values are fetched.
    Not only that, if i only read to Document instance, and write back to file, the attributes are shown mixed up.
    eg:
    dna: 8233, ro=chisturi de plex coroid (>=1.5 mm), en=&#1082;&#1080;&#1089;&#1090;&#1099; &#1089;&#1086;&#1089;&#1091;&#1076;&#1080;&#1089;&#1090;&#1099;&#1093; &#1089;&#1087;&#1083;&#1077;&#1090;&#1077;&#1085;&#1080;&#1081; (>=1, de=Choroidplexus Zyste (>=1,5 mm)Here you can see that 'en' is shown holding what looks like greek, ... (what is ru as a country-code anyway?) where it should have obviously had the english text that originally was associated with the attribute 'en'
    This seems very strange and unexpected to me. I would have thought that in escaping (encoding) the ampersand, i have fulfilled all requirements of me, and that should be that.
    There is also no error that seems to occur.... we simply get the wrong order when fetching attributes.
    Am I doing something wrong? Or is this a bug that should be submitted?
    Kind Regards, and thanks to all responders/readers.
    Sean
    p.s. previously I had not been escaping the ampersand. This meant that I lost my ampersand in fetching attributes, AND the attribute order was ALSO WRONG!
    In fact, the wrong order was what led me to read about how to correctly encode ampersand at all. I had been hoping that correctly encoding would fix the order problem, but it didn't.
    Edited by: svaens on Mar 31, 2008 6:21 AM

    Hi kdgregory ,
    Firstly, sorry if there has been a misunderstanding on my part. If i did not reply to the question you raised, I appologise.
    In this 'reply' I hope not to risk further misunderstanding, and have simply given the most basic example which will cause the problem I am talking about, as well as short instructions on what XML to remove to make the problem disappear.
    Secondly, as this page seems to be displayed in ISO 8859-1, this is the reason the xml I have posted looks garbled. The xml is UTF-8. I have provided a link to the example xml file for the sample below
    [example xml file UTF-8|http://sean.freeshell.org/java/less2.xml]
    As for your most recent questions:
    Is it specified as an entity? To my knowledge (so far as my understanding of what an entity is) , yes, I am including entities in my xml. In my below example, the entities are the code for the greater than symbol. I am under the understanding that this is allowed in XML ??
    Is it an actual literal character (0xA0)? No, I am specifying 'greater than' entity (code?) in order to include the actual symbol in the end result. I am encoding it in form 'ampersand', 'g character', 't character', 'colon' in order for it to work, according to information I have read on various web pages. A quick google search will show you where I got such information from, example website: https://studio.tellme.com/general/xmlprimer.html
    Here is my sample program. It is longer than the one you kindly provided only because it prints out all attributes of the element it looks for. To use it, only change the name of the file it loads.
    I have given the xml code seperately so it can be easily copied and saved to file.
    Results you can expect from running this small test example?
    1. a mixed up list of attributes where attribute node name no longer matches its assigned attribute values (not for all attributes, but some).
    2. removing the attribute bg from the 'text' element will reduce most of these symptoms, but not all. Removing another attribute from the element will most likely make the end result look normal again.
    3. No exception is thrown by the presence of non xml characters.
    IMPORTANT!!! I have only just (unfortunately) noticed what this page does to my unicode characters... all the the international characters get turned into funny codes when previewed and viewed on this page.
    Whereas the only codes I am explicitly including in this XML is the greater than symbol. The rest were international characters.
    Perhaps that is the problem?
    Perhaps there is an international characters problem?
    I am quite sure that these characters are all UTF-8 because when I open up this xml file in firefox, It displays correctly, and in checking the character encoding, firefox reports UTF-8.
    In order to provide an un-garbled xml file, I will provide it at this link:
    link to xml file: [http://sean.freeshell.org/java/less2.xml]
    Again, sorry for any hassle and/or delay with my reply, or poor reply. I did not mean to waste anyones time.
    It will be appreciated however if an answer can be found for this problem. Chiefly,
    1. Is this a bug?
    2. Is the XML correct? (if not, then all those websites i've been reading are giving false information? )
    Kindest Regards,
    Sean
    import javax.xml.parsers.DocumentBuilderFactory;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.NamedNodeMap;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    import org.xml.sax.InputSource;
    public class Example
        public static void main(String[] argv)
              try
                   FileInputStream fis = new FileInputStream("/home/sean/Desktop/chris/less2.xml");
                 Document doc = DocumentBuilderFactory.newInstance()
                 .newDocumentBuilder()
                 .parse(new InputSource(fis));
                   Element root = doc.getDocumentElement();
                   NodeList textnodes = root.getElementsByTagName("text");
                   int len = textnodes.getLength();
                   int index = 0;
                   int attindex = 0;
                   int attrlen = 0;
                   NamedNodeMap attrs = null;
                   while (index<len)
                        Element te = (Element)textnodes.item(index);
                        attrs = te.getAttributes();
                        attrlen = attrs.getLength();
                        attindex = 0;
                        Node node = null;
                        while (attindex<attrlen)
                             node = attrs.item(attindex);          
                             System.out.println("attr: "+node.getNodeName()+ " is shown holding value: " + node.getNodeValue());
                             attindex++;                         
                        index++;
                        System.out.println("-------------");
                 fis.close();
              catch(Exception e)
                   System.out.println("we've had an exception, type "+ e);
    }  [example xml file|http://sean.freeshell.org/java/less2.xml]
    FOR THE XML, Please see link above, as it is UTF-8, and this page is not. Edited by: svaens on Apr 7, 2008 7:03 AM
    Edited by: svaens on Apr 7, 2008 7:23 AM
    Edited by: svaens on Apr 7, 2008 7:37 AM
    Edited by: svaens on Apr 7, 2008 7:41 AM

  • DataProcessor generating XML containing special ampersand, equals sign etc

    Hi,
    Using 10.1.3.3.3
    I am using the BIP API's to generate reports for an application, but have a problem where the DataProcessor is generating XML containing ampersands and equal signs '&', '=' from the database.
    The characters are causing the FOProcessor to throw and exception when reading the generated XML:
    oracle.xml.parser.v2.XMLParseException: Expected name instead of .
    08/08/06 12:12:22 at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:320)
    If I remove the '&' and '=' the PDF is generated successfully.
    It is not pratical to convert these characters as part of the queries (40+ tables times x columns).
    Is there anything I can put in the data template or config to get it to properly escape these characters when generating in the XML data?
    Apologies if this has been answered in another thread.
    Brenden

    You must replace '&' by &
    '=' work fine.
    look here for additional character encoding
    http://llizard.etherwork.net/cwc/charactmap.html
    Skobelev Max

  • Topics with ampersands (&) show up as question marks (?) inside Help's Search tab

    See the attached image.
    In the image:
    Item A shows the Topic Title inside RH.
    Item B shows what I'm typing in the Search tab of the HTML Help file. (I'm typing "GD&T").
    Item C shows the list results. Notice that when I type "GD&T" in the search tab, the results return "GD?" ion the list of results.
    In short the "T" is missing and the ampersand character shows a question mark character instead.
    How can I get it to show an ampersand in this list and not delete the letter following the ampersand.
    Thanks in advance,
    Jared
    Latest RH7
    Vista 32 bit.

    Some co-workers of mine eventually helped fix this.
    In the Topic Title field for topic titles that have the & symbol, you need to type &#38; in place of just an & symbol. This causes the & to appear within the Search tab list results. Note however that if you add this topic onto the Table of Contents, it will display &#38; there, so you will need to rename the TOC to just use &.

  • Cannot produce the ampersand character in an output ile

    We are using DBMS_XMLQuery to select some stuff from thedatabase (8.1.7) and output as XML in a CLOB.
    We pass transform this CLOB to a text output file (not html) by passing the above result to the xmlparser package.
    Our stylesheet looks like
    <?xml version="1.0"?>
    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template match="/" >
    testing
    </xsl:template>
    </xsl:stylesheet>
    OK, we're just trying to get anything to appear!!!
    Obviously this fails. Replacing ampersand with 'ampersand amp;' causes hash number tobe output (38 I think).
    I'd really like to get an ampersand out the end of this.
    I have tried enclosing the ampersand amp; in <xsl:text> - no good
    <xsl:text disable-output-beffering> - no good
    I've tried CDATA, using <xsl:output type="text" /> at the start of the stylesheet, all to no avail.
    I've searched this forum, lots of similar questions but no relevant answer (I'm new to this stuff).
    Help!!!!!!!!!!!!!!

    Apologies for replying to my own posting (although I would greatly appreciate someones elses reply), I decided to try out oraxsl from the unix command line. Sure enough, it output the ampersand as an ampersand and not a code. Therefore, I must have something wrong in the plsql code that sets up the parser.
    Heres the code - I think we got it from the online docs. I've chopped out the comments and debug, hopefully I didnt chop out any code :)
    PROCEDURE gen_file(dir varchar2, p_clob clob, xslfile varchar2, resfile varchar2, errfile varchar2) is
    p xmlparser.Parser;
    xmldoc xmldom.DOMDocument;
    xmldocnode xmldom.DOMNode;
    proc xslprocessor.Processor;
    ss xslprocessor.Stylesheet;
    xsldoc xmldom.DOMDocument;
    docfrag xmldom.DOMDocumentFragment;
    docfragnode xmldom.DOMNode;
    xslelem xmldom.DOMElement;
    nspace varchar2(50);
    xslcmds xmldom.DOMNodeList;
    begin
    -- new parser
    p := xmlparser.newParser;
    xmlparser.setValidationMode(p, FALSE);
    xmlparser.setErrorLog(p, dir &#0124; &#0124; '/' &#0124; &#0124; errfile);
    xmlparser.setPreserveWhiteSpace(p, TRUE);
    xmlparser.setBaseDir(p, dir);
    xmlparser.parseclob(p, p_clob);
    xmldoc := xmlparser.getDocument(p);
    xmlparser.parse(p, dir &#0124; &#0124; '/' &#0124; &#0124; xslfile);
    xsldoc := xmlparser.getDocument(p);
    xslelem := xmldom.getDocumentElement(xsldoc);
    nspace := xmldom.getNamespace(xslelem);
    xmldom.getExpandedName(xslelem));
    xslcmds := xmldom.getChildrenByTagName(xslelem, '*', nspace);
    ss := xslprocessor.newStylesheet(xsldoc, dir &#0124; &#0124; '/' &#0124; &#0124; xslfile);
    proc := xslprocessor.newProcessor;
    xslprocessor.showWarnings(proc, true);
    xslprocessor.setErrorLog(proc, dir &#0124; &#0124; '/' &#0124; &#0124; errfile);
    docfrag := xslprocessor.processXSL(proc, ss, xmldoc);
    docfragnode := xmldom.makeNode(docfrag);
    xmldom.writeToFile(docfragnode, dir &#0124; &#0124; '/' &#0124; &#0124; resfile);
    -- deal with exceptions
    exception
    when xmldom.INDEX_SIZE_ERR then
    raise_application_error(-20120, 'Index Size error');
    when xmldom.DOMSTRING_SIZE_ERR then
    raise_application_error(-20120, 'String Size error');
    when xmldom.HIERARCHY_REQUEST_ERR then
    raise_application_error(-20120, 'Hierarchy request error');
    when xmldom.WRONG_DOCUMENT_ERR then
    raise_application_error(-20120, 'Wrong doc error');
    when xmldom.INVALID_CHARACTER_ERR then
    raise_application_error(-20120, 'Invalid Char error');
    when xmldom.NO_DATA_ALLOWED_ERR then
    raise_application_error(-20120, 'Nod data allowed error');
    when xmldom.NO_MODIFICATION_ALLOWED_ERR then
    raise_application_error(-20120, 'No mod allowed error');
    when xmldom.NOT_FOUND_ERR then
    raise_application_error(-20120, 'Not found error');
    when xmldom.NOT_SUPPORTED_ERR then
    raise_application_error(-20120, 'Not supported error');
    when xmldom.INUSE_ATTRIBUTE_ERR then
    raise_application_error(-20120, 'In use attr error');
    end gen_file;
    null

  • Ampersand in pdf page header

    Hello,
    i have a problem with printing pdf reports in Apex 3.0.1 on OracleXE (using Apache Cocoon and Tomcat like in Carls example).
    When i try to include an items value using the &ITEM_NAME. syntax it doesn't work if the value of the item contains an ampersand. I tried writing the ampersand as &amp;amp; but it still breaks the pdf.
    Is there another way to include an ampersand in the page header of a pdf or maybe its a bug that has been fixed in a later version of apex?
    Thanks for help in advance,
    Dirk

    Hi,
    Maye the following work around
    '&' can be replaced with '%26amp;'
    Kind regards,
    Iloon

  • Bursting with ampersand in data

    I'm working on a bursting report that has a reference parameter in the distribution xml. Bursting works as expected except when there is an ampersand in the reference param. Specifically, if there's a space char. after the ampersand ("& ", as in "this & that"), the bursting works. However, if there's an alpha char. immediately following the ampersand ("AB&C"), the "&C" is interpreted as a non-existent reference param and an error is thrown.
    Does anyone have any suggestions for getting around this documented limitation? Here's the distribution xml file:
    <?xml version="1.0" ?>
    <destinations>
         <foreach>
              <mail id="Summary_Reports_Distribution" to="reportpub@localhost" subject="&<email_subject>">
                   <body srcType="report" format="html" instance="this">
                        <include src="report"/>
                   </body>
              </mail>
         </foreach>
    </destinations>
    For clarity, email_subject is the reference parameter. Remember, this works when there are no ampersands in email_subject.
    Thanks!

    Yes. That yields the same error, i.e., invalid parameter reference. I also tried replacing '&' with '&amp;' and the result was "invalid parameter reference 'amp'"
    Any thoughts on creating a field or a parameter called AMP in the report, setting it to '&' and including it in the XML output so that &amp is a valid reference? Just thinkin`...
    Thanks.

  • Ampersand in a radio button text

    Please, can somebody tell me how do I get an ampersand (&) in a radio button text using screen painter.
    Thanks

    On the Element list/General attr. tab I have:
    Name     Type     Line     Column     Format
    G_PRJ     Radio     21     30     CHAR
    G_PRJ     Radio     21     32     
    On the Element list/Texts/ I/O templates tab I have:
    Name     Type     Text
    G_PRJ     Radio     _
    G_PRJ     Radio     P&S
    With these settings, I am getting a fullstop instead of &, so adding the text in the element list didn't work for me. BTW The text where it says _ (underline) is read-only.
    Thanks.

Maybe you are looking for

  • Not all Pictures are getting sync

    I have the New iPad and Windows 7 with the latest version of iTunes. I have a folders with many pictures in them. I am trying to sync these pictures to the iPAd. I select the folders I want and the picture start to sync but not all the picture copy o

  • Java_home issue on Tomcat 4.1.X

    I have a problem running Tomcat as a service in XP. Before, I could not get the index.jsp to load that comes with Tomcat. I disabled it as a service and added JAVA_HOME to the startup and shutdown bat files. Starting it from startup.bat, everything w

  • Buying postcards of multiple photos

    I want to use the print service to have a set of postcards of various images. I can't see how I can order these in one batch.Consequently I'm incurring significant postal costs buying each postcard individually. Can anyone help?

  • Trying to install software update, phone stopped responding and gives error code 9

    While trying to update software on my iPhone 4, it stopped during installation and gave error code 9, now it says the phone must be restored but will not complete the installation and still gives error code 9, very frustrating.  I tried on 3 differen

  • Mailbox Creation Failed

    We just transferred to a new IMac, and I cannot create any mailboxes. I can create Smart Mailboxes (which I find useless), but to create a normal mailbox, I get the message "Unable to create path ~/Library/Mail/Mailboxes/xxxx.mbox." Any suggestions a