Hirdetés

Keresés

Új hozzászólás Aktív témák

  • Headless

    őstag

    Sziasztok!

    SimpleXML-el akadt egy kis problémám.

    van egy ehhez hasonló XML-el. (ArchiCad .ifcxml)

    Van benne namspace, schema, minden. egyszerűen nem jöttem rá a kiolvasásra.

    <?xml version="1.0" encoding="UTF-8"?>
    <ex:iso_10303_28 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ex="urn:iso.org:standard:10303:part(28):version(2):xmlschema:common" xsi:schemaLocation="urn:iso.org:standard:10303:part(28):version(2):xmlschema:common ex.xsd" version="2.0">
    <ex:express id="exp_1" external="" schema_name="IFC2X3">
    <!--external: When the EXPRESS schema is represented 'by-reference', the external XML attribute shall be present and its value shall identify a resource that contains the EXPRESS schema (text).-->
    <!--schema_identifier: For an EXPRESS schema that is defined by a Part of ISO 10303 schema_identifier shall contain the ASN.1 (official identifier for a part of 10303 ) identifier value associated with that schema by that Part of ISO 10303-->
    <!--Internal schema is not supported.--> </ex:express>
    <ex:schema_population governing_schema="exp_1" determination_method="SECTION_BOUNDARY" governed_sections="uos_1">
    <!--governing_schema: IDREF to ID of express_schema element-->
    <!--governed_sections: IDREFS to ID of uos elements-->
    <!--section_boundary: Algorithm used for selecting entities within uos. See Annex F of ISO10303-28--> </ex:schema_population>
    <ex:uos id="uos_1" description="" schema="exp_1" configuration="i-ifc2x3" edo="" xmlns="http://www.iai-tech.org/ifcXML/IFC2x3/FINAL" xsi:schemaLocation="http://www.iai-tech.org/ifcXML/IFC2x3/FINAL ifc2x3.xsd">
    <IfcPerson id="i1637">
    <FamilyName>Nincs megadva</FamilyName>
    </IfcPerson>
    <IfcOrganization id="i1639">
    <Name>Nincs megadva</Name>
    </IfcOrganization>
    </ex:uos>
    </ex:iso_10303_28>

    Például az IfcOrganization-ökön végig gyalogolni.

    print_r semmi használhatót nem ír, de azt olvastam, hogy namespace-ek esetében ez normális.

Új hozzászólás Aktív témák