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

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -