Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

any_element #1044

ErhanOnur started this conversation in General
May 20, 2024 · 0 comments
Discussion options

Hi,

I converted my xml data to python models with xsdata. But I come across with xsdata models full of saying any_element and I don't see any XML to python object mapping. How will I navigate or set data through my model instances?

@DataClass
class Arccos:
class Meta:
name = "arccos"
namespace = "http://www.w3.org/1998/Math/MathML"

any_element: Optional[object] = field(
 default=None,
 metadata={
 "type": "Wildcard",
 "namespace": "##any",
 },
)
You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /