How to do an if-or tag in xml ?

Hi guys,i want to hide a column depending if the other column has or not two values,for example if column1='window' or if column1='door'
im using like this -> in the column title <?if@column:TAX_TYPE1!='Real Estate Tax'?>
-> in the column value <?if@column:TAX_TYPE1!='Real Estate Tax'?><?LEVY_OZB?><?end if?>
but i want also to the TAX_TYPE1!='MovablePropTax'
if other types than these two then i should show,if there two i should hide.something like this.
Im using oracle xml publisher.

I figured it out for myself.
So, does that mean I get the 10 points?
fd

Similar Messages

  • How to make an explicit closing tag in XML(e4x).

    I'm working with some XML data and I'm having trouble forcing the way my closing tags are generated.
    I want the long hand form, such as:
    var xmlData:XML =
    <code>
       <codeSnippet>
       </codeSnppet>
    </code>;
    But when I try to insert nodes within the codeSnippet node as child nodes(<snippet />, etc.), and then write to a file, it
    makes the codeSnippet node look like <codeSnippet /> and the <snippet /> nodes are after, which will not work.
    How can I make it NOT treat an empty node as  <codeSnippet /> and explicitly keep it as in long hand form, such as:
    <codeSnippet>
    </codeSnppet>
    Thanks...
    fd

    I figured it out for myself.
    So, does that mean I get the 10 points?
    fd

  • How to create Nested (Multi level ) tag in XML using DBMS_XMLQUERY function

    Hi,
    I need Following out put in CLOB Column.
    XML format Like :
    <?xml version="1.0" encoding="UTF-8"?>
    <ReceiptHeader>
    <Id>1234556</Id>
    <Type>DD</Type>
    <Receipts>
    <ReceiptDEO>
    <StoreId>11380001</StoreId>
    <EmployeeId>NOLO980</EmployeeId>
    <LineItems>
    <ReceiptLineItem>
    <CartonId>ABC12345</CartonId>
    <ShippedQty>1.0000</ShippedQty>
    <UnitCost>118.500000</UnitCost>
    </ReceiptLineItem>
    </LineItems>
    <ReceiptDate>Wed Jun 20 11:50:01 CEST 2012</ReceiptDate>
    <ReceiptNumber>3127855</ReceiptNumber>
    </ReceiptDEO>
    </Receipts>
    </ReceiptHeader>
    And i'm using dbms_xmlquery.newcontext ( );
    Can you please help to get above output.
    - Thanks,
    Pallavi

    Hi ,
    Thanks for reply .
    Version is "Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production".
    First I tried with DBMS_XMLGEN ,, it doesnt work properly.
    Then tried with XMLAGG and XMLELEMENT but giving me output in 1 row. I need proper XML format.
    Following is some data, For which I had created view of 2 tables.
    ID     STORE_ID     EMPLOYEE_ID     ACTUAL_ARRIVAL_DATE     CARTON_ID     SHIPMENT_ID     QUANTITY_RECEIVED     UNIT_COST     RECEIPT_DOC_ID     RECEIPT_Date
    3772     12340001     PALS001     16-Feb-11     2A632     29     28.000     118.50000     1234     16-Feb-11
    3775     12340001     PALS001     16-Feb-11     1A633     30     120.000     218.50000     7866     16-Feb-11
    3776     12340001     PALS001     16-Feb-11     2A634     30     75.000     345.75000     7876     16-Feb-11
    3773     12340001     PALS001     16-Feb-11     3A632     30     45.000     200.10000     7869     16-Feb-11
    3774     12340001     PALS001     16-Feb-11     3A632     30     10.000     450.45000     7869     16-Feb-11
    Please suggest better way..
    -Thanks,
    Pallavi

  • How do i get all the tags i see in the iTunes library to be the ID3 tags?

    I have a huge collection of mp3 in iTunes (the latest version), and they are all perfectly organized, but when i open those mp3 files in any other player i see old tags or no tags, because the id3 tags on the mp3 files are not the same as the ones i see on itunes. I've tried the "convert id3 tags" tool but it does not seem to help. How do i get the id3 tags to be the same as iTunes tags?

    +HEy any reason why you pick version 2.3,+
    itunes didn't work well with 3rd-party plugins and v2.4, and former forum regular Otto told me to use v2.3
    +what is the difference between the different id3 tag versions..+
    read up on it using google

  • How do you add a voice tag to a contact

    how do you add a voice tag to a contact i phone5

    You don't need to add any sort of tags to call by voice. It's built into the system. Go to Settings>General>Siri and make sure it's set to On.
    To use Siri, press and hold the Home button. When the microphone icon pops up and there is a beep, say, "Call <name from your contacts>"
    Consult the manual for more information on Siri.

  • How can I create an accessible tagged PDF in Illustrator CS6?

    I have put alt text on the slices but when I save the file as a PDF it isn't tagged. How can I use these alt tags to make the PDF accessible? How can I tag the text in the Illustrator file so it is tagged in the PDF?

    I do wonder why there are instructions on how to add alt tags in Illustrator, and they only work if you create HTML. It sounds like Illustrator is going to be a legacy product in favour of InDesign, if it can't create tagged PDFs with Alt Tags for images. In this case, the Illustrator file is placed in InDesign, so even though InDesign can create tagged PDFs, the tagging doesn't work for placed Illustrator content. So it sounds like we either do the tagging from scratch in Acrobat, as you say, or we try to bring in the content directly into InDesign and tag it there.
    If only Adobe wholeheartedly supported accessible documents so we could more easily use it to meet WCAG 2.0 Level AA standards which are mandatory for our organisation. We are looking at CommonLook software to make the process of creating accessible PDFs easier and quicker. It's just hard to believe the lack of support from Adobe on this. Acrobat doesn't even come close to checking against WCAG 2AA and the online help is very hit and miss and full of broken links. For such an expensive product it's very disappointing, so thank goodness for other companies who see this as an opportunity to provide a better service.

  • How to Include html tag in xml

    Hi,
    Is there any way to include html tags in xml?
    For Example, I'm using xsl to get the value of FIELD_1 from fetch.xml
    In fetch.xml, I have the tag
    <FIELD_1>
    <font color='#8080ff'>&#160;<font face='Times New Roman, Times' size='28'>Testing font and color</font></font>
    </FIELD_1>
    But If I tried to read the value from xsl like <xsl:value-of select="FIELD_1"/> I'm just gettig the display 'Testing font and color' without the specified font and color....
    How to achieve this?
    Thanks
    Selva.

    Hi,
    Thanks for the input.
    I tried with the below code
    <fo:block space-after="5mm" font-family="Arial"><xsl:copy-of select="FIELD_1"/></fo:block>
    But I'm getting the below error...
    "An invalid XML character (Unicode: 0xa0) was found in the element content of the document."
    Below is the code included in the xsl....
    <?xml version="1.0" encoding="utf-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
    <xsl:output method="xml" indent="yes"/>
    <xsl:template match="Values"><fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
    <fo:layout-master-set>
    <fo:simple-page-master master-name="simpleA4" page-height="29.7cm" page-width="21cm" margin-top="3cm" margin-bottom="2cm" margin-left="2cm" margin-right="2cm">
    <fo:region-body/>
    </fo:simple-page-master>
    </fo:layout-master-set>
    <fo:page-sequence master-reference="simpleA4">
    <fo:flow flow-name="xsl-region-body">
    <fo:block space-after="5mm" font-family="Arial"><xsl:copy-of select="FIELD_1"/></fo:block>
    </fo:flow> </fo:page-sequence> </fo:root> </xsl:template></xsl:stylesheet>
    Is there any mistakes in the above code?
    Regards,
    Selva.

  • How do I create a new tag for bookmarks in the new beta version?

    I was easily able to create a new tag with previous versions of Firefox.

    There shouldn't be any differences with creating tags in the Firefox 4 beta version?
    How are you trying to create tags?
    See also:
    *[[Bookmark Tags]]

  • How do I add an alt tag to an image in Photoshop CS5 so that it is web ready?

    How do I add an alt tag to an image in Photoshop CS5 so that it is web ready?  My web developer wants me to send him all of my images with an alt-tag assigned so that he can automate the ADA accessibility of the website. I know when I choose to "Save for Web & Devices," I have the option of how much metadata I want to include to the levels of : None, Copyright, Copyright and Contact Info, All Except Camera Info, All.  I don't want the audience to be able to view all of the metadata because a lot of it is sensitive with administrative notes.  Any ideas?

    To anyone else who may encounter this issue in the future, here is a work around:
    File > File Info:
    Sacrifice a metadata field in the description tab.  I chose document title and description. Click OK.
    File > Save for Web and Devices:
    Choose to save All Metadata. 
    Leave things here on your end, and have the web-developer map the code to display only the appropriate metadata field.

  • How can we get  tag of XML file using SAX

    Hi ,
    I'm parsing one SAX parser , I'have almost done this parsing. i have faced problem for one case, i'e how can we get tag from XML file using SAX parser?
    XML file is
    <DFProperties>
    <AccessType>
    <Get/>
    </AccessType> <Description>
    gdhhd
    </Description>
    <DFFormat>
    <chr/>
    </DFFormat>
    <Scope>
    <Permanent/>
    </Scope>
    <DFTitle>gsgd</DFTitle>
    <DFType>
    <MIME>text/plain</MIME>
    </DFType>
    </DFProperties>
    I want out like GET and Permanent... means this one tag which is present inside of another tag.
    Handler class like
    public void startElement(String namespaceURI, String localName,
                   String qName, Attributes atts) throws SAXException {
    if(_ACCESSTYPE.equals(localName)){
                   accessTypeElement=ACCESSTYPE;
    public void characters(char[] ch, int start, int length)
                   throws SAXException {
    if (_ACCESSTYPE.equals(_accessTypeElement)) {
                   String strValue = new String(ch, start, length);
                   System.out.println("Accestype-----------------------------> " + strValue);
                   //System.out.println(" " + strValue);
    public void endElement(String namespaceURI, String localName, String qName)
                   throws SAXException {
    if (_ACCESSTYPE.equals(localName)) {
                   _accessTypeElement = "";
    . please any body help me

    Hi ,
    I have one problem,Please help me.
    1. How can I'll identify where exactly my Node is ended,means how how can we find corresponding nodename? in partcular place
    <Node> .............starttag1
    <NodeName>Test</NodeName>
    <Node>................starttag2
    <nodeName>test1</NodeName>
    </Node>..................endtag2
    <Node>.....................starttag3
    <NodeName><NodeName>
    <Node> .........................starttag4
    <NodeName>test4</NodeName>
    </Node>.......enddtag4
    </Node>...........end tag3
    </Node>............endtag1
    my code is below
    private final String _NODENAME = "NodeName";
    private final String _NODE = "Node";
    private String _nodeElement = "";
         private String _NodeNameElement = "";
    public void startElement(String namespaceURI, String localName,
                   String qName, Attributes atts) throws SAXException {
    if (_NODENAME.equals(localName)) {
                   NodeNameElement = NODENAME;
    if(_NODE.equals(localName)){
         System.out.println("start");
         if (_NODENAME.equals(localName)) {
                   NodeNameElement = NODENAME;
    public void characters(char[] ch, int start, int length)
                   throws SAXException {
    if (_NODENAME.equals(_NodeNameElement)) {
                   String strValue = new String(ch, start, length);
                   String sttt=strValue;
                   System.out.println("NODENAME: ************* " + strValue);
    if(_NODE.equals(_nodeElement)){
                   if (_NODENAME.equals(_NodeNameElement)) {
                        String strValue = new String(ch, start, length);
                        String sttt=strValue;
                        System.out.println("nodevalue********** " + strValue);
    public void endElement(String namespaceURI, String localName, String qName)
                   throws SAXException {
    if (_NODENAME.equals(localName)) {
                   _NodeNameElement = "";
    if(_NODE.equals(localName)){
                   System.out.println("NODENAME: %%%%%%%%%");
    please help me. How can I figure node ending for particular nodename

  • How can I see the selected tags in the tag bar clearly

    How can I see the selected tags in the tag bar clearly (they used to be in black, now they do not change color; a highlight or Bold would help)

    The History menu lets you revisit the page where you can drag any page element from it.
    How would you sort through thousands (tens of thousands) of files found in a cache?

  • How to make the tags in XML file case insensitive

    Hi,
    I have a ReadXML class which reads an xml file. This class also has a method which receives a string-child from another class and uses this string-chile to match it with the child tag in the xml file, and returns the child tag's value.
    Now, my problem is this, the child tag in xml may be in a case different from the case of the string-child received from another class.
    How do I modify it, so the program does not return a null pointer exception because the strings did not match for want of uppercase or lowercase letters.
    Thanks
    Sangeetha

    I'm not sure what you are getting at. Is a string child the contents of a node treated as text?
    If you are trying to match a child node regardless of case I doubt this is possible as the XML standard says an XML document is case sensitive so if your parser ignored case it would not be XML complient.
    Hope this helps.

  • How to count number of equal tags in XMLTYPE?

    Hi,
    I need to count how many times repeats some tag in XML file.
    I loaded file in database:
    CREATE TABLE xml_tab (
    id NUMBER(10),
    filename VARCHAR2(100),
    xml XMLTYPE
    File:
    <?xml version="1.0" ?>
    - <EMPLOYEES>
    - <EMP>
    <EMPNO>7369</EMPNO>
    <ENAME>SMITH</ENAME>
    <JOB>CLERK</JOB>
    <MGR>7902</MGR>
    <HIREDATE>17-DEC-80</HIREDATE>
    <SAL>800</SAL>
    </EMP>
    - <EMP>
    <EMPNO>7499</EMPNO>
    <ENAME>ALLEN</ENAME>
    <JOB>SALESMAN</JOB>
    <MGR>7698</MGR>
    <HIREDATE>20-FEB-81</HIREDATE>
    <SAL>1600</SAL>
    <COMM>300</COMM>
    </EMP>
    </EMPLOYEES>
    Script:
    SELECT a.xml.extract('//EMPNO')
    FROM xml_tab a
    WHERE id = 3;
    How can I count that EMP tags are 2 in this file?
    Best regards

    Fitibaldi wrote:
    no, I'm using 9i release 2 :(Try this for 9i
    with t as
    select xmltype('<?xml version="1.0" ?>
    <EMPLOYEES>
    <EMP>
    <EMPNO>7369</EMPNO>
    <ENAME>SMITH</ENAME>
    <JOB>CLERK</JOB>
    <MGR>7902</MGR>
    <HIREDATE>17-DEC-80</HIREDATE>
    <SAL>800</SAL>
    </EMP>
    <EMP>
    <EMPNO>7499</EMPNO>
    <ENAME>ALLEN</ENAME>
    <JOB>SALESMAN</JOB>
    <MGR>7698</MGR>
    <HIREDATE>20-FEB-81</HIREDATE>
    <SAL>1600</SAL>
    <COMM>300</COMM>
    </EMP>
    </EMPLOYEES>') xml from dual
    -- DATA
    Select
    (length(replacE((xml).extract('//EMP'),chr(10)))
    - length(replacE(replacE((xml).extract('//EMP'),chr(10)),'</EMP>') ))/6
    Kount
    from t
         KOUNT
             2SS

  • How to create a new custom tag in JSF 1.2

    Hi there,
    In JSF 1.2, all the classes (CommandButtonTag, CommandLinkTag, DataTableTag,...) in package com.sun.faces.taglib.html_basic are defined as final class. In JSF 1.1, we can create a custom tag that extends the tag in JSF taglib; it save us lots of time.
    Could anybody know how to create a new custom tag in JSF 1.2?
    Many thanks,
    Emily

    If I recall, it was done because how tags were to be handled in 1.2 was very different from 1.1 and it was felt that developers shouldn't rely on implementation specific classes (unless they were SPI) for several other reasons (application portability being the big one here).
    If it's felt that this was the wrong decision, please feel free to log an issue [1] against the RI (to date, no one has).
    As to the 'borked' dependency URLs, please log an issue [1] if you find these. We have nightly builds going that work from a clean workspace and checking today's result, it seems ok.
    [1] https://javaserverfaces.dev.java.net/issues

  • How to save column widths in tag monitor and tag config editor?

    how to save column widths in tag monitor and tag config editor?

    The attached example may help.
    After launching the editor, I locate a reference to the front panel control named "Tag List".
    This is type cast as a multicolumn list box which then allows me to increment through all of the cells and set the widths as i go.
    Trying to help,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Attachments:
    Set_Width2.vi ‏60 KB
    SET_WIDTH.JPG ‏94 KB

Maybe you are looking for

  • Additional Internal Hard Drive

    I'd like to install a second hard drive to a G5, 2 Ghz dual process. The one I'm looking at is a Western Digital Caviar SE 250 GB. The drive will be mainly used for storing video. I haven't purchased an internal hard drive before, so I'm just looking

  • MacBook and Airport

    I love my black MacBook so much. There is one thing that it does, that bugs me though. If I close the lid and put it to sleep, then open it, it takes a very long time for it to reconnect to the Airport Base Station. What's up with that? My iBook and

  • How to tune this SQL?

    What this SQL did is to generate a report like how many rows for each tp_stts when ims_toms_msge_type='TOMS NEW' (or 'TOMS CNCLO'). also, its corresponding total number for each ims_toms_msge_type. Here is the sample: Rownum    H1            TP_STTS 

  • Premiere Pro CC Crashes when changing to certain workspace layouts

    When I try to switch to "Assembly" workspace, the entire interface stops responding and I can't do anything until I force quit.

  • Mac Book Pro DVI and Display LED 27" + Atlona DP400 - Issue with Aperture

    Hello, I bought the new LED 27" and connect it through the Atlona DP400 to my "old" Macbook Pro with a DVI port. Works well except with Aperture. I can launch the application, navigate though the project and the pictures, but when I want to work on a