[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: What is the rule for parsing XML in a namespace inside HTM

  • To: 'Joshua Allen' <joshuaa@m...>
  • Subject: RE: What is the rule for parsing XML in a namespace inside HTML?
  • From: "Bullard, Claude L (Len)" <len.bullard@i...>
  • Date: Mon, 19 Jul 2004 15:03:40 -0500
  • Cc: xml-dev@l...

what is xmlns
Ok.  They need the PI though given those are triples 
and out-of-band info associated to in-band info.  Let's 
see what the editing apps do to support the PIs.

Later on, I found an example where they were declared 
via xmlns: 

<?Mapping XmlNamespace="animC"
ClrNamespace="MSAvalon.Windows.Media.Animation" 
                               Assembly="PresentationCore" ?>
<?Mapping XmlNamespace="animF"
ClrNamespace="MSAvalon.Windows.Media.Animation" 
                               Assembly="PresentationFramework" ?>
<Border
       xmlns="http://schemas.microsoft.com/2003/xaml"
       xmlns:animC="animC"
       xmlns:animF="animF"
       xmlns:def="Definition"
       Background="BlanchedAlmond" 
   >

So now I am wondering what the rules are.  Perhaps the earlier 
example was an oversight; perhaps it is required in some 
cases; perhaps it is not required but is allowed.

As to choices of PI names, they can be as grandiose as they 
like.  I never believe HTML is THE hypertext markup language. 
Events prove me wrong.  ;-)

len


From: Joshua Allen [mailto:joshuaa@m...]

I can speculate about why it was designed that way, but it's still icky
IMO.  Two things:

1) I would prefer the "stat" to be declared like a regular XMLNS
2) A PI with a name like ?Mapping is a bit grandiose.  Like nobody else
would ever want that name?  It should be scoped IMO. 

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.