xml - Using non-namespaces element names from imported schema? -


i have created schema imports xhtml 1.1 strict schema. many of elements leverage block , inline groups in xhtml schema.

the problem having xml document create must use xhtml namespace in order validate.

<example   xmlns="http://example.com/example.xsd"   xmlns:xhtml="http://www.w3.org/1999/xhtml">   <myelement>     <xhtml:p>this <xhtml:strong>paragraph</xhtml:strong>.</xhtml:p>   </myelement> </example> 

what instead not require use of xhtml namespace in xml documents.

<example xmlns="http://example.com/example.xsd">   <myelement>     <p>this <strong>paragraph</strong>.</p>   </myelement> </example> 

is possible?


Comments

Popular posts from this blog

Receive udp packets in android gstreamer -

php - Extract Text from HTTP referer -

java - Callback from new thread to class from which thread was initiated -