← All docs

tidy_is_xml()

Returns whether the document was detected as generic XML.

tidy_is_xml()

function tidy_is_xml(mixed $tidy): bool

Returns whether the document was detected as generic XML.

Parameters:

  • $tidy (mixed)

Returns: bool

Availability

Compiled (AOT)Magician (eval)
AvailableAvailable

No examples yet. Check examples/ and showcases/ for usage patterns.

Internals

For how tidy_is_xml is implemented in the compiler, see the internals page.