Check Required Elements and Attributes in JAXB

Hi
I need check required elements and attributes in JAXB java classes , if there are any value for them place it , otherwise place default value in xml file , because of it I upgrade JAXB2.0 to JAXB 2.1 to support "required" in "XmlElement" , I read in "JavaWS(JAXB)Tutorial.pdf" that JAXB itself check required elements and attributes , if there are any value for them place it , otherwise place default value in xml file , the exact part of document is :
<< A property is said to have a set value if that value was assigned to it during unmarshalling or by invoking its mutation method. The value of a property is
its set value, if defined; otherwise, it is the property’s schema specified default value, if any; otherwise, it is the default initial value for the property’s base type as it would be assigned for an uninitialized field within a Java class. >>
I want to know , dose JAXB do this task ? (now I work with JAXB2.1 but it doesnt do this task.Maybe I must set some configuration)
and if JAXB doesnt do it , how I can check required elements and attributes in JAXB ?
Please help me.
Shariat

its all on Apple's Developer site
http://developer.apple.com/DOCUMENTATION/AppleApplications/Reference/FinalCutPro _XML/index.html

Similar Messages

  • Parsing (COunting Elements and Attributes)

    Can anyone point me to the method sfor counting elements and attributes in a parsed XML document. For example, I have a XML document that contains a number of 'word' files, I need to produce a printout that gives the total number. The files have a size attribute and I need to calculate and printout the total size of all the files together

    ChuckBing,
    Thanks for the pointers. I now have the following method:
    }  public void startElement(String elementName, AttributeList al) throws SAXException
          String attributeValue;
          if (elementName.equals("PRICE"))
          if(al.getLength()>0)
          for(int j = 0;j<al.getLength();j++)
            attributeValue = al.getValue(j);
            System.out.println("Total Attribute value is " + attributeValue);
          }This obviously allows me to extract the detail from "PRICE" but "PRICE" actually has two attributes. I can't find another method that allows me to extract out the detail for a specific attribute.
    Can you suggest anything?

  • Making file desin with elements and attributes implementation

    hello
    this is an FILE to IDOC
    I have an xml file that need to be enter to the XI. the XML has attributes and elements.
    I would like to know how can I make an element with some attributes and below there should be a subelement.
    for example, in delivery there will be all the attributes, and I would like to make it an array so there will be below subelemnt in the name of carrier for example.
    (if any one has other ways to implement this file feel free to suggest.)
    - <delivery number="1234567890" shipment-type="Y014" shipping-point="1910" ifm-reference="125" status="final">
    - <!-- status initial, change or final
      -->
      <carrier>123456</carrier>
    - <!--  This will be the SAP vendor code
      -->
      <scheduled-departure>200810011000</scheduled-departure>
    - <!--  Precalculated departure date and time format YYYYMMDDHH24MI
      -->
      <scheduled-arrival>200810031600</scheduled-arrival>
    - <!--  Precalculated delivery date and time
      -->
      <actual-departure>200810011015</actual-departure>
    - <!--  Actual departure reported by carrier
      -->
      <actual-arrival>200810031545</actual-arrival>
    - <!--  Actual arrival reported by carrier
      -->
      </delivery>

    >>that what I thought, but after I do the attributes for the element, I dont have the option to write for the element sub-element.
    I guess the current row that is selected would be an attribute thus the option insert subelement is disabled. Always select the element and insert either attribute or subelement to it.
    Thanks
    SaNv...

  • Description of elements and attributes in XML export.

    Does anyone know where I can get a complete description of all the elements/attributes in the XML export from FCP. I found the DTDs (V 1-3), but it only gives me the names and overall structure. I need to know what the content means.
    in particular I want to automate if I can- using XSLT and XSL-FO - the production of standard reporting that I am required to produce (manually) in a documentary production course.

    its all on Apple's Developer site
    http://developer.apple.com/DOCUMENTATION/AppleApplications/Reference/FinalCutPro _XML/index.html

  • From which table check 'cost element' and its corresponding GL account?

    Hi,
    May i know from which could i check the cost element field and its corresponding GL account field??
    Questions:
    "the getting cost element should check the corresponding GL account, but I canu2019t find the
    corresponding table which include these two fields. So, if you know the table in which cost element can check the corresponding GL account, please tell me ."
    Is below way correct:
    From table CSKA, i could get the chart of accounts related with the cost elements.
    Then from table SKA1, i could get the GL account according to chart of accounts field.
    Then i got an relation between Cost element with GL account??
    Thanks!!

    Hi
    Could not locate the table, but could find that, if you come to transaction KA02, click on Environment - Display General Ledger account - In Chart of Account/ In Company Code option, then you can display the GL account for individual cost elements.
    regards
    Parag Bhargava

  • OC4J orion-application.xml - elements and attributes

    Hi. i read in oracle docs sentense like this: "Each property maps to an element attribute in the orion-application.xml descriptor." These properties are from deployment plan and i need to know what is the name of the element in orion-application.xml wich is mapped to webSiteBinding property (from deployment plan).

    I just did a quick test of this, and it seems to work for me.
    I used the following XML:
    <?xml version="1.0" encoding="iso-8859-1"?>
    <Employees xmlns="
    http://www.foo.com/Employees">
    <Employee Id="001">
    <LastName>Davis</LastName>
    <FirstName>Kirk</FirstName>
    </Employee>
    <Employee Id="002">
    <LastName></LastName>
    <FirstName>James</FirstName>
    </Employee>
    <Employee Id="003">
    <FirstName>Anthony</FirstName>
    </Employee>
    <Employee>
    </Employee>
    </Employees>
    With the XPath "/Employees/Employee" I got rows in the data
    set and things displayed fine in my page. Changing it to
    "/employees/employee" caused the data set to have no rows which I
    would expect since things should be case sensitive.
    Can you provide me with some sample XML and XPath that
    doesn't work?
    Thanks!
    --== Kin ==--

  • Passing Dynamic Number of Elements and Attributes in Orchestrator

    i am having trouble determining the best way, from a powershell snippet in a Run .Net Activity, to pass a dynamic list of elements with each element having a dynamic list of attributes .   Example:
    on one call of the activity the data might be the following:
    element1 with 3 attributes
    element2 with 2 attributes
    element3 with 0 attributes
    on another call of the activity the data be the following:
    element1 with 0 attributes
    element2 with 3 attributes
    i understand how to create objects, arrays, and hashes. i would like to know the best way to pass the data above from the .Net activity powershell snippet (where the data is created) to another activity.   Ideally I would like to pass
    a custom object created with powershell (not an array or hash), but research tells me that it is not possible to publish an object on the Orchestrator databus.  Any assistance is appreciated.

    You can try combining the parameters into a single string in PowerShell separated by a delimiter like a semi-colon. Then you can have a single parameter in the Invoke Runbook activity. Once the parameter is passed you can then use the Split Field activity
    that is included in the Data Manipulation IP. 
    http://orchestrator.codeplex.com/releases/view/83934 
    You could do something similar for the SQL Query. Just combine the string to a single output in PowerShell and use the PARSENAME function, or something similar, to separate out your parameters. 
    Matthew Dowst |
    Blog | Twitter

  • XML Data. Extracting elements and attributes using Xpath or another?

    Hi experts,
    Using Oracle 11g.
    I have an XML table which stores XML in one column (xml_col) like the below structure.
    Example:
    <measure id="abc">
      <data-elements>
        <data-element id="ab">
          <value>40</value>
        </data-element>
        <data-element id="cd">
          <value>8</value>
        </data-element>
        <data-element id="ef">
          <value>38</value>
        </data-element>
        <data-element id="gh">
          <value>32</value>
        </data-element>
      </data-elements>
    </measure>I've been trying endlessly to run XPath queries on this column to obtain the attribute of the <data-element> node and the value of the <value> node within.
    My goal is to turn this into a table of:
    ab | 40
    cd | 8
    ef | 38
    gh | 32
    My mind is stuck on doing this below and wrapping it with a CSV to rows hierarchical query. I can not convert to xmltype to a string to make that work though.
    select str1,str2 from (
    select extract(xml_col, 'string-join(//@id, '','')') str1
    ,extract(xml_col, 'string-join(//value, '','')') str2
    from xml_temp_table)
    CONNECT BY LEVEL <= LENGTH (REGEXP_REPLACE (str1, '[^,]+')) + 1;But I get the following error:
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00607: Invalid reference: 'string-join'.
    I'm looking for a non PL solution.
    Any suggestions appreciated.
    Thanks
    Edited by: chris001 on Feb 26, 2013 12:06 PM
    Edited by: chris001 on Feb 26, 2013 12:07 PM

    chris001 wrote:
    My mind is stuck on doing this below and wrapping it with a CSV to rows hierarchical query. I can not convert to xmltype to a string to make that work though. Oh boy!
    This should ease your pain ;)
    SQL> select x.*
      2  from xml_temp_table t
      3     , xmltable(
      4         '/measure/data-elements/data-element'
      5         passing t.xml_col
      6         columns element_id  varchar2(10) path '@id'
      7               , element_val number       path 'value'
      8       ) x ;
    ELEMENT_ID ELEMENT_VAL
    ab                  40
    cd                   8
    ef                  38
    gh                  32

  • Generate XML file with Elements and attributes from Oracle table

    Hi,
    I have the following table structure.
    CREATE TABLE COIL
    COIL_ID                         NUMBER(10),
    COIL_NUMBER                    VARCHAR2(40),
    COIL_PO_OPERATING_UNIT     VARCHAR2(20),
    COIL_PO_NUMBER               VARCHAR2(40),
    MILL_NUMBER                    VARCHAR2(2),
    MILL_COIL_STATUS          VARCHAR2(15),
    ITEM_NUMBER                    VARCHAR2(40),
    COIL_WEIGHT                    NUMBER(38),
    WEIGHT_UOM                    VARCHAR2(10),
    DOCUMENT_NUMBER               VARCHAR2(40),
    DOCUMENT_DATE               DATE,
    DOCUMENT_STATUS               VARCHAR2(15),
    DOCUMENT_TYPE               VARCHAR2(20),
    DOCUMENT_SOURCE               VARCHAR2(20),
    TEST_ID                         NUMBER(38),
    VALUE                         NUMBER,
    TEST_UOM                    VARCHAR2(20),
    TEST_STATUS               VARCHAR2(70),
    TESTER_LOGIN               VARCHAR2(20),
    EQUIPMENT_CODE               VARCHAR2(50),
    DOC_STS_MSG               VARCHAR2(600)
    For each COILID record, there could be multiple records baased on TEST_ID/VALUE/TEST_UOM etc.
    And I would like to prepare xml file in the following format by selecting data from COIL?
    <?xml version="1.0"?>
    -<Coil xsi:noNamespaceSchemaLocation="www.tempel.com/COIL.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xdb="http://xmlns.oracle.com/xdb">
    <CoilId>1419532</CoilId>
    <CoilNo>D2221050010A0</CoilNo>
    <CoilPOOperatingUnit>Changzhou</CoilPOOperatingUnit>
    <CoilPONo>4619</CoilPONo>
    <MillNo>86</MillNo>
    <MillCoilStatus>Test</MillCoilStatus>
    <ItemNo>050FP800 C5</ItemNo>
    <Weight>7076</Weight>
    <UOM>KILOGRAM</UOM>
    <DocumentNo>0</DocumentNo>
    <DocumentDate>2013-01-11</DocumentDate>
    <DocumentStatus>NonProcessed</DocumentStatus>
    <DocumentType>Tests</DocumentType>
    <DocumentSource>CHIGMA1</DocumentSource>
    <Tests DocStsMsg="0" EquipmentCode="CHIGMA1" TesterLogin="dpkrueger" Value="0.4992" TestUnit="mm" Status="NonProcessed" TestId="135"/>
    <Tests DocStsMsg="0" EquipmentCode="CHIGMA1" TesterLogin="dpkrueger" Value="0.0128" TestUnit="mm" Status="NonProcessed" TestId="124"/>
    <Tests DocStsMsg="0" EquipmentCode="CHIGMA1" TesterLogin="dpkrueger" Value="12" TestUnit="mm" Status="NonProcessed" TestId="125"/>
    <Tests DocStsMsg="0" EquipmentCode="CHIGMA1" TesterLogin="dpkrueger" Value="0.5095" TestUnit="mm" Status="NonProcessed" TestId="127"/>
    <Tests DocStsMsg="0" EquipmentCode="CHIGMA1" TesterLogin="dpkrueger" Value="0.5042" TestUnit="mm" Status="NonProcessed" TestId="128"/>
    <Tests DocStsMsg="0" EquipmentCode="CHIGMA1" TesterLogin="dpkrueger" Value="0.5058" TestUnit="mm" Status="NonProcessed" TestId="129"/>
    <Tests DocStsMsg="0" EquipmentCode="CHIGMA1" TesterLogin="dpkrueger" Value="0.4967" TestUnit="mm" Status="NonProcessed" TestId="130"/>
    <Tests DocStsMsg="0" EquipmentCode="CHIGMA1" TesterLogin="dpkrueger" Value="0.5049" TestUnit="mm" Status="NonProcessed" TestId="131"/>
    <Tests DocStsMsg="0" EquipmentCode="CHIGMA1" TesterLogin="dpkrueger" Value="0.4972" TestUnit="mm" Status="NonProcessed" TestId="132"/>
    <Tests DocStsMsg="0" EquipmentCode="CHIGMA1" TesterLogin="dpkrueger" Value="0.4960" TestUnit="mm" Status="NonProcessed" TestId="133"/>
    <Tests DocStsMsg="0" EquipmentCode="CHIGMA1" TesterLogin="dpkrueger" Value="0.4996" TestUnit="mm" Status="NonProcessed" TestId="134"/>
    </Coil>
    Can you please guide me how to do it in a single query?
    Thanks in advance.

    Hi Odie,
    Thanks for the quick offer.Sure,No problem.I expect the format to be as follows
    <Coil xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="www.tempel.com/COIL.xsd">
    <CoilId>97239</CoilId>
    <CoilNo>777078</CoilNo>
    <CoilPOOperatingUnit>TSUSA</CoilPOOperatingUnit>
    <CoilPONo>3407</CoilPONo>
    <MillNo>31</MillNo>
    <MillCoilStatus>Test</MillCoilStatus>
    <ItemNo>0140SP150 C5A</ItemNo>
    <Weight>17365</Weight>
    <UOM>POUNDS</UOM>
    <DocumentNo>0</DocumentNo>
    <DocumentDate>2008-10-13</DocumentDate>
    <DocumentStatus>Processed</DocumentStatus>
    <DocumentType>Tests</DocumentType>
    <DocumentSource>MILL</DocumentSource>
    <Tests EquipmentCode="MILLEDI" TesterLogin="MILLEDI" Value="84" TestUnit="15T" Status="Processed" TestId="65"></Tests>
    <Tests EquipmentCode="MILLEDI" TesterLogin="MILLEDI" Value="1.39" TestUnit="W/Lb" Status="Processed" TestId="48"></Tests>
    <Tests EquipmentCode="MILLEDI" TesterLogin="MILLEDI" Value="1979" TestUnit="W/Lb" Status="Processed" TestId="49"></Tests>
    </Coil>
    But instead it came with below format
    <Coil xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSch
    emaLocation="www.tempel.com/COIL.xsd"><CoilId>97239</CoilId><CoilNo>777078</Co
    ilNo><CoilPOOperatingUnit>TSUSA</CoilPOOperatingUnit><CoilPONo>3407</CoilPONo>
    <MillNo>31</MillNo><MillCoilStatus>Test</MillCoilStatus><ItemNo>0140SP150 C5A<
    /ItemNo><Weight>17365</Weight><UOM>POUNDS</UOM><DocumentNo>0</DocumentNo><Docu
    mentDate>2008-10-13</DocumentDate><DocumentStatus>Processed</DocumentStatus><Do
    cumentType>Tests</DocumentType><DocumentSource>MILL</DocumentSource><Tests Equ
    ipmentCode="MILLEDI" TesterLogin="MILLEDI" Value="84" TestUnit="15T" Status="P
    rocessed" TestId="65"></Tests><Tests EquipmentCode="MILLEDI" TesterLogin="MILL
    EDI" Value="1.39" TestUnit="W/Lb" St atus="Processed" TestId="48"></Tests><Tes
    ts EquipmentCode="MILLEDI" TesterLog in="MILLEDI" Value="1979" TestUnit="W/Lb"
    Status="Processed" TestId="49"></Tests></Coil>
    The sample insert records are as follows
    insert into COIL (coil_id, coil_number, coil_po_operating_unit, coil_po_number, mill_number, mill_coil_status, item_number, coil_weight, weight_uom, document_number, document_date, document_status, document_type, document_source, test_id, value, test_uom, test_status, tester_login, equipment_code, doc_sts_msg)
    values (97239, '777078', 'USA', '3407', '31', 'Test', '0140SP150 C5A', 17365, 'POUNDS', '0', to_date('13-10-2008', 'dd-mm-yyyy'), 'Processed', 'Tests', 'MILL', 65, 84, '15T', 'Processed', 'MILLEDI', 'MILLEDI', null);
    insert into COIL (coil_id, coil_number, coil_po_operating_unit, coil_po_number, mill_number, mill_coil_status, item_number, coil_weight, weight_uom, document_number, document_date, document_status, document_type, document_source, test_id, value, test_uom, test_status, tester_login, equipment_code, doc_sts_msg)
    values (97239, '777078', 'USA', '3407', '31', 'Test', '0140SP150 C5A', 17365, 'POUNDS', '0', to_date('13-10-2008', 'dd-mm-yyyy'), 'Processed', 'Tests', 'MILL', 48, 1.39, 'W/Lb', 'Processed', 'MILLEDI', 'MILLEDI', null);
    insert into COIL (coil_id, coil_number, coil_po_operating_unit, coil_po_number, mill_number, mill_coil_status, item_number, coil_weight, weight_uom, document_number, document_date, document_status, document_type, document_source, test_id, value, test_uom, test_status, tester_login, equipment_code, doc_sts_msg)
    values (97239, '777078', 'USA', '3407', '31', 'Test', '0140SP150 C5A', 17365, 'POUNDS', '0', to_date('13-10-2008', 'dd-mm-yyyy'), 'Processed', 'Tests', 'MILL', 49, 1979, 'W/Lb', 'Processed', 'MILLEDI', 'MILLEDI', null);
    commit;
    Thanks in Advance.

  • Element name and attribute completion in XML editor?

    With either WebLogic Workshop 9.2.2 or 10.x, is it possible to get completion assistance on elements and attributes? It works in the JSP editor, but I need to know whether this will work for XML documents. For some of these namespaces, they are defined in JSF taglibs.

    I tested this on an .xhtml doc. Right-clicking gives me these options:
    * HTML Editor
    * Text Editor
    * System Editor
    * In-Place Editor
    * Default Editor
    Is this perhaps a feature available in 10.1?

  • Xquery: Element to Attribute Mapping - remove empty attribute tags

    Hi,
    I have a requirement to map source schema xml elements to target schema xml element attributes
    i have done it like below
    <Spd minimumvalue = "{ xs:decimal(data($Test/*:A)) }"
    maximumvalue = "{ xs:decimal(data($Test/*:B)) }"
    averagevalue = "{ xs:decimal(data($Test/*:C)) }">
    Where A,B,C are the source schema elements.
    So once the transformation is done the output looks like this
    <Spd mimimumvalue="1" maxmiumvalue="" averagevalue="3"/>
    Now i got to remove the attribute which has null value.
    the output should look like this
    <Spd mimimumvalue="1" averagevalue="3"/>
    I tried using exists function and implemented it. But then if i have more than 2/3 attributes in the outout xsd then i need to have many if conditions.
    Is there any other alternative for this.
    Please suggest. Appreciate your help.

    Hi,
    Is there any other alternative for this. I'm not aware of any.
    Using exists() is a good solution though, and it's easy to implement with element and attribute constructors :
    return
      element Spd
       if (fn:exists($Test/*:A/text())) then attribute minimumvalue { xs:decimal($Test/*:A) } else (),
       if (fn:exists($Test/*:B/text())) then attribute maximumvalue { xs:decimal($Test/*:B) } else (),
       if (fn:exists($Test/*:C/text())) then attribute averagevalue { xs:decimal($Test/*:C) } else ()
      }Is that what you've tried?

  • Element VS attribute in IR when we create data type.

    hi guruz,
    when we make data type in  IR ,and while creating node ,according node we give type(Element ,attribue etc).
    what is diff between element and attribute.
    please help me
    warm regards.

    Hi,
    You create complex data types using elements and attributes in the XSD editor
    Element
    Create structured data types. Elements that have a type cannot contain subelements.
    Example Instance
    <myElem>
      <f1> Value of f1 </f1>
      <f2> Value of f2 </f2>
    </myElem>
    Attribute
    Add attributes to elements. Attributes cannot usually have subnodes.
    Example Instance
    <myElem myAttr="AttributeValue">
      Element Value
    </myElem>
    You can flag an attribute as optional or required in the Occurrence column. These values mean the same for elements with an occurrence of 0..1 or 1. The only difference between elements and attributes is that attributes cannot have subnodes and that the same attribute cannot be used more than once in an element.
    Hope this will clarify you.
    Regards
    Aashish Sinha
    PS : reward points if helpful

  • Web service wrapper in FB4 ignores Element when Attribute exists

    I created a web service wrapper in Flash Builder 4 using the "Data --> Connect to Data/Service... ".
    The WSDL contains a type like this:
    <xs:complexType name="Description">
    <xs:simpleContent>
      <xs:extension base="xs:string">
       <xs:attribute name="languageCode" type="xs:string"/>
      </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    In the response XML this type looks like this:
    <ns2:Description languageCode="en_US">My Description</ns2:Description>
    In this case the code generator ignores the element value ("My Description") and just creates a property for the attribute (languageCode="en_US").
    BTW: Not mixing elements and attributes in one type would be a possible solutions, but I usually deal with web services I did not implement and I therefore can't change.
    Has anyone had this problem and hopefully solved it?
    Regards,
    Martin

    Thanks for sharing your tips on this forum, as it will be useful for other users, that run into this issue.
    Feedback like this will also help us improve error reporting in the next release, as missing class files in the packaged application is a common issue when developers are moving from the embeded oc4j instance packaged with JDewveloper to standalone instances.
    -Eric

  • CHTMLB dexcription tags and attributes

    Hi everybody,
    I am new in CRM WEb UI.
    Do youk now where I can find description of the tags/attributes and some explanations /examples ?
    Thanks in advance
    In SE80 in the tag libraries I found all the tags from CHTMLB byut when I clik F1 on the tag or the attributes, I receive nothing .. is that normal ?
    Thanks for your help,
    Marie

    .oO(gaurav_ch)
    > @Michael Fesser - If IE does not support XHTML, this
    means that it is
    >rendering it as HTML inspite of the XHTML DOCTYPE used in
    making pages? OMG!!!
    >I really hate Microsoft for this. Thanks for telling me
    this. I never knew that.
    Exactly. IE accepts XHTML only if the server delivers it as
    text/html.
    But then it's not really XHTML anymore.
    Real XHTML should be delivered as application/xhtml+xml,
    which would let
    modern browsers like Opera and FF use their XML parsers
    instead of the
    old and bloated tagsoup parsers, but until now IE doesn't
    support this.
    Not sure about the coming IE 8, though.
    >Still my question is unanswered - do I really need to
    learn each and every
    >attribute of an xhtml element or each and every tag that
    xhtml throws at me,
    >from the point of interview or is it sufficient to know
    those attributes and
    >elements which make me make accessible websites and
    validated markup?
    You should know at least most of the elements and attributes,
    so that
    you can use them where appropriate. Same for CSS and its
    properties. Of
    course you can't (and don't have to) remember them all.
    That's where a
    quick reference guide or a "cheat sheet" comes in handy.
    In my Opera browser for example I have these pages as sidebar
    panels for
    a quick lookup (should also work in FF):
    http://people.opera.com/rijk/panels/html4.01-online/elem.html
    http://people.opera.com/rijk/panels/css2.1-online/prop-visual.html
    Here are some more panels with previews:
    http://people.opera.com/rijk/panels/
    You also might find some of these cheat sheets quite useful:
    http://www.addedbytes.com/cheat-sheets/
    Micha

  • Xhtml tags and attributes

    Hi,
    I was going through some xhtml reference text and found that
    there are many attributes to xhtml tags that i did not knew of.
    There were many tags which I never used. For eg.,
    <big></big> and some attributes like <select
    dir=""></select>.
    What I want to know is that - do I really need to learn each
    and every attribute of an xhtml element or each and every tag that
    xhtml throws at me, from the point of interview or is it sufficient
    to know those attributes and elements which make me make accessible
    websites and validated markup?
    What do you all suggest?
    Gaurav
    www.gauravchandra.info

    .oO(gaurav_ch)
    > @Michael Fesser - If IE does not support XHTML, this
    means that it is
    >rendering it as HTML inspite of the XHTML DOCTYPE used in
    making pages? OMG!!!
    >I really hate Microsoft for this. Thanks for telling me
    this. I never knew that.
    Exactly. IE accepts XHTML only if the server delivers it as
    text/html.
    But then it's not really XHTML anymore.
    Real XHTML should be delivered as application/xhtml+xml,
    which would let
    modern browsers like Opera and FF use their XML parsers
    instead of the
    old and bloated tagsoup parsers, but until now IE doesn't
    support this.
    Not sure about the coming IE 8, though.
    >Still my question is unanswered - do I really need to
    learn each and every
    >attribute of an xhtml element or each and every tag that
    xhtml throws at me,
    >from the point of interview or is it sufficient to know
    those attributes and
    >elements which make me make accessible websites and
    validated markup?
    You should know at least most of the elements and attributes,
    so that
    you can use them where appropriate. Same for CSS and its
    properties. Of
    course you can't (and don't have to) remember them all.
    That's where a
    quick reference guide or a "cheat sheet" comes in handy.
    In my Opera browser for example I have these pages as sidebar
    panels for
    a quick lookup (should also work in FF):
    http://people.opera.com/rijk/panels/html4.01-online/elem.html
    http://people.opera.com/rijk/panels/css2.1-online/prop-visual.html
    Here are some more panels with previews:
    http://people.opera.com/rijk/panels/
    You also might find some of these cheat sheets quite useful:
    http://www.addedbytes.com/cheat-sheets/
    Micha

Maybe you are looking for

  • HP LJ 4015n Outlook issue

    We have an HP LJ 4015n printer that is on our network. In the last couple months we've had some printer problems. I've reinstalled the drivers and have found that the only remaining issue is Outlook. We get numerous pages that come out and a couple w

  • ITunes wont sync music to iPhone 4

    Upgraded from iPhone 3G to iPhone 4 yesterday. iTunes will only sync 50 songs onto iPhone 4...and Ive tried both options of sync "entire music library" and "selected playlist,artist,albums and genres" and get the same results, only 50 songs actually

  • What is your email address

    I have sent my request to top up using my new credit card but it is still pending.I wanted to top up only once (US$10) but many are udner pending.How can I top up only once out of all pending and why is it still pending?I need to top up only US$10 an

  • HT5035 How do I view my account balance?

    I have redeemed a gift card but how do I view my account balance in my iTunes account?

  • How to add a GUI interface to My program?

    Hi, I wrote a game program, now, I need a GUI interface for my game to let others to use it esaily, but I have no idear how to do it, where should I add the AWT or Swing code to the game code, if possible, can I use some tools for this task, I think