Ukryj spis treści

Variable Mapping - XML Files

You can map variables to read and write values found in XML files.

Common Extensions

XML

Property Mappings

See Mapping to XML Values.

Block name Attribute name
XML The attribute names are custom defined.

Mapping to XML Values

You must use the block name XML and the correct element syntax to map variables to XML values .

Use the block name XML and the correct element syntax when defining variables.

Use the following guidelines to name the variable attributes:

  Syntax In the example:
1 - Root element attribute [RootElement]/@[Attribute] The attribute mapping File/@Name returns the value 01 Ceilings.
2 - Element tag [RootElement]/[Element] The attribute mapping File/Description returns the value Sample.
3 - Nested attribute [RootElement]/[Element]/[NestedElement]/@[Attribute] The attribute mapping File/Region/Cell/@Division returns the value 1.
4 - Nested element [RootElement]/[Element]/[NestedElement] The attribute mapping File/View/ViewportDefault/DispConfig returns the value Reflected.
5 - Multiple element values When multiple elements with the same name are found, use all values (one per row for multiline edit box). The attribute mapping File/View/ViewCategory/ContextCategory returns a list of Constructs\Architectural, Constructs\Architectural\Partitions, Constructs\Architectural\Shell, and so on.


Wyraź swoje opinie dotyczące tego tematu

SOLIDWORKS docenia wszelkie informacje i uwagi dostarczone przez użytkownika na temat prezentacji, dokładności oraz prawidłowości dokumentacji. Proszę użyć poniższego formularza, aby wysłać komentarze I sugestie na temat tego tematu do naszego zespołu dokumentacyjnego. Zespół dokumentacyjny nie może udzielać informacji na pytania natury technicznej. Proszę kliknąć tutaj, aby uzyskać informacje dotyczące pomocy technicznej.

* Wymagane

 
*Email:  
Temat:   Opinie dotyczące tematów pomocy
Strona:   Variable Mapping - XML Files
*Komentarz:  
*   Oświadczam, że zapoznałem/zapoznałam się z polityką prywatności, zgodnie z którą moje dane osobowe będą wykorzystywane przez firmę Dassault Systèmes, i niniejszym ją akceptuję

Wydrukuj temat

Wybierz zakres treści do druku:

x

Wykryliśmy że używasz przeglądarki w wersji starszej niż Internet Explorer 7. Dla zoptymalizowanego wyświetlania sugerujemy uaktualnienie przeglądarki do Internet Explorer 7 lub nowszej.

 Nie pokazuj tego komunikatu ponownie
x

Wersja zawartości pomocy w sieci Web: SOLIDWORKS PDM 2014 SP05

Aby wyłączyć pomoc w sieci Web w oprogramowaniu SOLIDWORKS i użyć zamiast tego pomocy lokalnej, należy kliknąć Pomoc > Użyj pomocy SOLIDWORKS w sieci Web.

Aby zgłosić problemy związane z interfejsem lub funkcją wyszukiwania pomocy w sieci Web, należy skontaktować się z lokalnym przedstawicielem pomocy technicznej. Aby wyrazić opinie dotyczące poszczególnych tematów pomocy, należy użyć łącza “Opinie dotyczące tego tematu” na stronie danego tematu.